From owner-freebsd-questions@FreeBSD.ORG Fri Mar 4 00:49:59 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 D1ED916A4CE for ; Fri, 4 Mar 2005 00:49:59 +0000 (GMT) Received: from smtp.ade.swiftdsl.com.au (smtp.ade.swiftdsl.com.au [218.214.228.98]) by mx1.FreeBSD.org (Postfix) with SMTP id A506443D3F for ; Fri, 4 Mar 2005 00:49:58 +0000 (GMT) (envelope-from no-spam@swiftdsl.com.au) Received: (qmail 29109 invoked from network); 4 Mar 2005 00:49:57 -0000 Received: from unknown (HELO daemon.foo.lan) (218.214.176.70) by smtp.ade.swiftdsl.com.au with SMTP; 4 Mar 2005 00:49:57 -0000 From: Ian Moore To: freebsd-questions@freebsd.org Date: Fri, 4 Mar 2005 11:19:44 +1030 User-Agent: KMail/1.7.2 References: <422792AA.1080301@wilderness.homeip.net> <200503031839.15265.jesse@wingnet.net> In-Reply-To: <200503031839.15265.jesse@wingnet.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart3083830.6zgnQWUFkl"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200503041119.54129.no-spam@swiftdsl.com.au> cc: Jesse Guardiani cc: Laurence Sanford 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: Fri, 04 Mar 2005 00:49:59 -0000 --nextPart3083830.6zgnQWUFkl Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Fri, 4 Mar 2005 10:09, Jesse Guardiani wrote: > On Thursday 03 March 2005 5:41 pm, you wrote: > > Jesse Guardiani wrote: > > >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! > > > > I'm not sure I understand the problem. If you don't want to create more > > partitions, then don't. You can make an 80gb (or 300gb, or whatever) > > drive into two partitions - a swap partition (2gig) and a / partition > > (78 gig) and install FreeBSD just fine. > > Doesn't the boot partition have to NOT have soft updates though? > I created the setup you described about a year ago with 5.2.1, and > I had serious problems if the system ever hard rebooted after a > power failure. Single user manual fsck's and all that. If that is true, then why not create /, /usr & /swap & symlink /var to=20 somewhere on /usr (or vice versa). > > > It's *best* to make more > > partitions (esp for /var) so that if something goes out of control > > logging, or you just neglect your logs, it doesn't go and fill up your > > only (ie / ) partition. Like most *nix OS's, it can be as simple or as > > complicated as you want it to be. > > I want / + /boot. It's that simple. =2D-=20 Ian GPG Key: http://home.swiftdsl.com.au/~imoore/no-spam.asc --nextPart3083830.6zgnQWUFkl Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQBCJ7CyPUlnmbKkJ6ARArS4AKCan0Vea6QjARC7/PoZVDOJlKi7ZACePNm3 O56QmFY0EIZvxNbp3j5N3Ow= =ANhz -----END PGP SIGNATURE----- --nextPart3083830.6zgnQWUFkl--