/boot on a separate partition
Ross Kendall Axe
ross at axe.homelinux.net
Wed Jul 20 20:45:03 GMT 2005
-----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-----
More information about the freebsd-questions
mailing list