Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 03 Mar 2005 18:08:24 -0500
From:      Jesse Guardiani <jesse@wingnet.net>
To:        freebsd-questions@freebsd.org
Subject:   /boot like linux!
Message-ID:  <d0853q$kkq$1@sea.gmane.org>

next in thread | raw e-mail | index | archive | help
Hello,

I'm a FreeBSD 5.3 user as well as a Gentoo Linux user.
In Gentoo linux, you only have to create 3 partitions:

/boot
swap
/

In FreeBSD, you seem to have to create many more:

/
swap
/usr
/var
/tmp

In particular, it seems that /boot MUST be on the same
partition as /. This stinks, as now you have to create
separate partitions for /usr and /var, which wastes space.

I tried to make /boot it's own partition, and I succeeded,
to a certain extent. I actually made /boot/boot, because
the FreeBSD 5.3 boot manager wants to look under the /boot
directory for "loader". If /boot is it's own partition, then
you need a /boot/boot/loader.

Anyway, that worked. The kernel boots now, but it prompts
me at the beginning of the rc process for the root device.
I give it:

ufs:ad1s1d

Which is my / partition, and it boots successfully.
Is it possible to automate this process so that the loader
knows to use ad1s1d as my root device?

Thanks!

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net




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