Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Mar 2005 19:53:16 -0800
From:      "Loren M. Lang" <lorenl@alzatex.com>
To:        Jesse Guardiani <jesse@wingnet.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: /boot like linux!
Message-ID:  <20050309035316.GO30896@alzatex.com>
In-Reply-To: <d0853q$kkq$1@sea.gmane.org>
References:  <d0853q$kkq$1@sea.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--QNDPHrPUIc00TOLW
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Mar 03, 2005 at 06:08:24PM -0500, Jesse Guardiani wrote:
> Hello,
>=20
> I'm a FreeBSD 5.3 user as well as a Gentoo Linux user.
> In Gentoo linux, you only have to create 3 partitions:
>=20
> /boot
> swap
> /
>=20
> In FreeBSD, you seem to have to create many more:
>=20
> /
> swap
> /usr
> /var
> /tmp

This is standard for all unices including linux to create all
these partitions.  On all my servers whether they be Linux,
Solaris, or BSD I create just as many partitions.  You can just
create / and swap on BSD or Linux just as easily, but it's good
practice for servers to break it up.  What happens when some
program like dhcpd goes crazy and fills up the log files with
many megabytes of log entries.  Well, on my system, it just
filled up /var, but users kept chugging along with their work
on /home.  Or what about that rouge user that fills /home with
several gigabytes of junk.  My system daemons are still running
fine working in /var.  The most important think though is to not
fill up / as that should contain only the most important tools
neccessary to boot and fix a system, everything else is better if
kept on a seperate partition, particuarly anything that is
constantly reading and writing like programs use /var, /tmp, and
/home for.  But this is only recomendation, not a requirement for
any unice.

As for /boot, that's only a neccesity for certain older boot
loaders running on older hardware, but with large harddrives,
greater than 512 megs, I believe.  On modern systems it's
unneccessary.  I don't bother creating /boot partitions on any
of my systems anymore, it's not needed regardless of what other
people may tell you.

FreeBSD would have the same problem if it was created on a
partition starting after cylinder 1023 on the same older
hardware, but I've never had to run into that hardware with
FreeBSD so I'm not sure how they combat it.

>=20
> 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.
>=20
> 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.
>=20
> 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:
>=20
> ufs:ad1s1d
>=20
> 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?
>=20
> Thanks!
>=20
> --=20
> 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
>=20
>=20
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o=
rg"

--=20
I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.

Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: CEE1 AAE2 F66C 59B5 34CA  C415 6D35 E847 0118 A3D2
=20

--QNDPHrPUIc00TOLW
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFCLnMsbTXoRwEYo9IRAiKDAJ9tyWOXyEgVqO2ppl24+Jy0pQOugQCdGOoF
Ju9YiYFEPYH1tzEr/GufIF0=
=7hg6
-----END PGP SIGNATURE-----

--QNDPHrPUIc00TOLW--



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