Date: 21 Jul 2005 10:25:58 -0400 From: Lowell Gilbert <freebsd-questions-local@be-well.ilk.org> To: freebsd-questions@freebsd.org Subject: Re: /boot on a separate partition Message-ID: <44wtnki6bt.fsf@be-well.ilk.org> In-Reply-To: <42DEB7CC.7070003@axe.homelinux.net> References: <42DC1173.6020307@axe.homelinux.net> <p06230956bf02e59c17f2@[128.113.24.47]> <42DEB7CC.7070003@axe.homelinux.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Ross Kendall Axe <ross@axe.homelinux.net> writes: > Garance A Drosihn wrote: > > At 9:30 PM +0100 7/18/05, Ross Kendall Axe wrote: > > > >> > >> ... I want to place the /boot directory in a small 25MB partition > >> at the start of the drive. Setting up the partition with sysinstall > >> is easy enough, but does anyone have any suggestions of how to > >> diddle the bootloader to accept this configuration? > > > > > > I doubt you can on FreeBSD. The problem is that the OS would have > > to mount both / and /boot before it could do anything, and FreeBSD > > doesn't do that. It assumes the partition that you are loading > > from is '/', and uses that to find (for instance) /etc/fstab so > > it can find out what the other partitions are. > > I would have though that putting '/sbin/mount /boot' at the start of the > /etc/rc would sort that out. Surely the contents of /lib, /bin and > /sbin are enough to get you that far? The kernel has to be loaded *first*.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44wtnki6bt.fsf>