Date: Mon, 26 Sep 2005 08:48:05 +0300 From: Giorgos Keramidas <keramida@ceid.upatras.gr> To: Rob <spamrefuse@yahoo.com> Cc: freebsd-questions@freebsd.org Subject: Re: How to use USB memory-stick for booting FreeBSD? Message-ID: <20050926054805.GA34711@flame.pc> In-Reply-To: <20050926053236.90960.qmail@web36203.mail.mud.yahoo.com> References: <20050926053236.90960.qmail@web36203.mail.mud.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2005-09-25 22:32, Rob <spamrefuse@yahoo.com> wrote: >Giorgos Keramidas wrote: >> By installing a FreeBSD base system on it (approx. 170 MB) and a >> boot loader, and setting your BIOS to boot from "USB legacy device". > > Hmmm, how do I do that? > After a system and kernel build, is it then something like 'make > installworld' and 'make installkernel' into non-default destinations > (i.e. mount-point of the USB stick) ? First of all, you format and mount the USB disk somewhere. Let's say, under ``/mnt/usbdisk''. Then, after you complete a buildworld and buildkernel process, you can install the FreeBSD base system on the USB disk by: # cd /usr/src # make DESTDIR=/mnt/usbdisk installkernel # make DESTDIR=/mnt/usbdisk installworld This doesn't install a full /etc hierarchy in the USB disk, so you'll have to run something like this too: # cd /usr/src/etc # make DESTDIR=/mnt/usbdisk distrib-dirs # make DESTDIR=/mnt/usbdisk distribution Finally, you should create at least an /etc/fstab under the new root, and you should be more or less set to go. > I suppose one GigaByte should be enough for the base system of 5.4, > isn't it? Definitely. The full base system (as I mentioned above) takes about 170 MB of disk space on i386 installations.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050926054805.GA34711>