From owner-freebsd-questions Wed May 14 08:21:43 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id IAA14595 for questions-outgoing; Wed, 14 May 1997 08:21:43 -0700 (PDT) Received: from whqvax.picker.com (whqvax.picker.com [144.54.1.1]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id IAA14589 for ; Wed, 14 May 1997 08:21:40 -0700 (PDT) Received: from ct.picker.com by whqvax.picker.com with SMTP; Wed, 14 May 1997 11:21:04 -0400 (EDT) Received: from elmer.ct.picker.com ([144.54.57.34]) by ct.picker.com (4.1/SMI-4.1) id AA06016; Wed, 14 May 97 11:21:02 EDT Received: by elmer.ct.picker.com (SMI-8.6/SMI-SVR4) id LAA05505; Wed, 14 May 1997 11:20:17 -0400 Message-Id: <19970514112017.65166@ct.picker.com> Date: Wed, 14 May 1997 11:20:17 -0400 From: Randall Hopper To: Robert Clark Cc: questions@freebsd.org Subject: Re: I did bad things to my disk -Reply References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.69 In-Reply-To: ; from Robert Clark on Wed, May 14, 1997 at 08:11:21AM -0700 Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Robert Clark: |Have you tried juggling the partition table entries? I've fixed oddball problems this way before. Yes, I ended up going that route. Rather than digging into the boot code, I did what was suggested and just stuck to one root partition per disk. What I'd like to do is have two slices on the same disk, one running 2.2 and one running 3.0-current, and which slice I boot off of determines which root is booted of (i.e. boot wd1s2, root=wd1s2a; boot wd1s3, root=wd1s3a). No such luck. For now I'll just stick with 2.2. Thanks for the reply. Randall | |>>> Randall Hopper 05/14/97 06:58am >>> |Nadav Eiron: | |On Mon, 5 May 1997, Dan Harty wrote: | |> IE, would sd1a change to sd1b ? | | | |No! Your situation is much worse! | | | |The FreeBSD boot code *always* expects the root filesystem to be on | |partition 'a' of the *first* BSD slice on the disk. Now, what used to be | |the first BSD slice on your disk now became the second (because there's a | |new BSD slice in front of it), so the boot code cannot find the root | |partition. Having two FreeBSD slices on the same disk is a mess. Avoid it | |at all costs. If it cannot be avoided, you should probably make a new | |Its sad that FreeBSD doesn't support this (I've posted about it before). |If I tell my boot manager to boot FreeBSD's off slice 3, and my boot |manager loads slice 3's boot record and gives it control, its just flat |dumb for FreeBSD to go out and "re-divine" which slice contains the FS I |want to be root. It's the one in the slice I booted off of, dog'gone it! | |Why doesn't FreeBSD just write the root partition for a slice (e.g. wd1s3a) |in the slice boot record? We could even keep the hack [ws]d1a alias around |-- just redefine it to mean the "active" root partition rather than "first" |root partition.