Date: Wed, 20 Jul 2005 21:45:00 +0100 From: Ross Kendall Axe <ross@axe.homelinux.net> To: Garance A Drosihn <drosih@rpi.edu> Cc: freebsd-questions@freebsd.org Subject: Re: /boot on a separate partition Message-ID: <42DEB7CC.7070003@axe.homelinux.net> In-Reply-To: <p06230956bf02e59c17f2@[128.113.24.47]> References: <42DC1173.6020307@axe.homelinux.net> <p06230956bf02e59c17f2@[128.113.24.47]>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 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? > I know that linux supports this, as well as some other clever > trickery with partitions at system-startup, but FreeBSD doesn't. I must admit, I'm not sure what trickery you're talking about here, unless you're referring to initrd, which _is_ a horrible hack IMHO. Ross -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.7 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFC3rfL9bR4xmappRARAhXyAKC7qiA9t0C9/Eny12Q8nG7XXqE9JgCeLPb9 ZAb5ityPlJ0OpZJvDsm43LY= =goS5 -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42DEB7CC.7070003>