Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Jul 2005 13:26:01 -0400
From:      Garance A Drosihn <drosih@rpi.edu>
To:        Ross Kendall Axe <ross@axe.homelinux.net>, freebsd-questions@freebsd.org
Subject:   Re: /boot on a separate partition
Message-ID:  <p06230956bf02e59c17f2@[128.113.24.47]>
In-Reply-To: <42DC1173.6020307@axe.homelinux.net>
References:  <42DC1173.6020307@axe.homelinux.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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 know that linux supports this, as well as some other clever
trickery with partitions at system-startup, but FreeBSD doesn't.

>I don't particularly want to go for the standard 'small / partition
>and separate partitions for /usr, /var, /home...' since I only have
>a 1GB drive to play with and judging the partition sizes down the
>nearest KB would be... tricky.

Create a small-ish / partition, a swap partition, and huge /usr
partition.  FreeBSD creates a symlink from /home to /usr/home, so
your home directories are in /usr anyway.

-- 
Garance Alistair Drosehn            =   gad@gilead.netel.rpi.edu
Senior Systems Programmer           or  gad@freebsd.org
Rensselaer Polytechnic Institute    or  drosih@rpi.edu



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?p06230956bf02e59c17f2>