From owner-freebsd-questions@FreeBSD.ORG Wed Mar 9 03:53:19 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8E23D16A4CE for ; Wed, 9 Mar 2005 03:53:19 +0000 (GMT) Received: from hosea.tallye.com (joel.tallye.com [216.99.199.78]) by mx1.FreeBSD.org (Postfix) with ESMTP id B5FAA43D58 for ; Wed, 9 Mar 2005 03:53:18 +0000 (GMT) (envelope-from lorenl@alzatex.com) Received: from hosea.tallye.com (hosea.tallye.com [127.0.0.1]) by hosea.tallye.com (8.12.8/8.12.10) with ESMTP id j293rHqS016686 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 8 Mar 2005 19:53:18 -0800 Received: (from sttng359@localhost) by hosea.tallye.com (8.12.8/8.12.10/Submit) id j293rHKX016684; Tue, 8 Mar 2005 19:53:17 -0800 X-Authentication-Warning: hosea.tallye.com: sttng359 set sender to lorenl@alzatex.com using -f Date: Tue, 8 Mar 2005 19:53:16 -0800 From: "Loren M. Lang" To: Jesse Guardiani Message-ID: <20050309035316.GO30896@alzatex.com> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="QNDPHrPUIc00TOLW" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i X-GPG-Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc X-GPG-Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C cc: freebsd-questions@freebsd.org Subject: Re: /boot like linux! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Mar 2005 03:53:19 -0000 --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--