Date: Mon, 25 Oct 2004 13:50:17 +0200 (CEST) From: Oliver Fromme <olli@lurza.secnetix.de> To: freebsd-hackers@FreeBSD.ORG, walter@belgers.com Subject: Re: bootable install CD - relocate to subdir Message-ID: <200410251150.i9PBoHl5084974@lurza.secnetix.de> In-Reply-To: <20041022144118.GA24939@willempie.het.net.je>
next in thread | previous in thread | raw e-mail | index | archive | help
Walter Belgers <walter@belgers.com> wrote: > I am a board member of the Dutch Unix Users Group, and we would like to > make a DVD with several free/open UNIX releases together with the Dutch > Hobby Computer Club/UNIX. > > The DVD boots a program that lets the user select the OS (s)he wants to > install, and then pseudo-boots the boot image of that OS. Are you using GRUB as the boot selector, or something else? (I'm interested because I'm preparing something similar.) > Problem: all the FreeBSD files need to be in /. This clashes with other > distributions on the same DVD. I would like to have everyting in > /FreeBSD or some other subdirectory instead. > > Has anybody done such a thing before, or knows of someone who has? Yes, I've done a DVD9 with several BSD variants on it. You can put FreeBSD in a subdirectory; it does _not_ have to be in the root directory of the DVD-ROM. You don't have to hack sysinstall, it already searches several possible directory names, for example the name of the release ("5.3-RELEASE"). You can find the appropriate code at the end of the file src/*/sysinstall/media.c (where * is "release" for FreeBSD 4.x and "usr.sbin" for 5.x). In short, it searches the following directories, relative to the media base: / /FreeBSD /releases /$RELNAME /releases/$RELNAME where "$RELNAME" is the release name (e.g. "5.3-RELEASE"). Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. "Being really good at C++ is like being really good at using rocks to sharpen sticks." -- Thant Tessman
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200410251150.i9PBoHl5084974>