From owner-freebsd-hackers Wed Aug 4 4: 5:46 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from mpp.pro-ns.net (mpp.pro-ns.net [208.200.182.72]) by hub.freebsd.org (Postfix) with ESMTP id 6AF2114D18 for ; Wed, 4 Aug 1999 04:05:42 -0700 (PDT) (envelope-from mpp@mpp.pro-ns.net) Received: (from mpp@localhost) by mpp.pro-ns.net (8.9.3/8.9.3) id GAA24813; Wed, 4 Aug 1999 06:03:51 -0500 (CDT) (envelope-from mpp) From: Mike Pritchard Message-Id: <199908041103.GAA24813@mpp.pro-ns.net> Subject: Re: Multiple versions of FreeBSD on one HDD In-Reply-To: from Garance A Drosihn at "Aug 3, 1999 09:40:13 pm" To: drosih@rpi.edu (Garance A Drosihn) Date: Wed, 4 Aug 1999 06:03:51 -0500 (CDT) Cc: rnordier@nordier.com (Robert Nordier), hackers@FreeBSD.org X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > At 8:01 PM +0200 8/3/99, Robert Nordier wrote: > > > > - If I select 3.2 at the PowerBoot menu, it comes up > > > with two messages about "invalid partition", [...] > > > It seems to want to boot 'da(0,a)/kernel', but if I > > > type in 'da(0,e)/kernel', then it boots up fine. > > > >The problem here is a missing `a' partition. Seems like your > >first partition on that slice is `e'. There's a one-line > >patch to boot2 to get this working, but the standard version > >only autoboots from the `a' partition. I have my main machine setup to boot 3 different operating systems all on one harddisk. My disk is paritioned into 4 fdisk partitions, as follows: 1: Win98 (ugh, but I need to have it to play games :-) (bootable) 2: extended dos partition (non-bootable) 3: FreeBSD 3.2-stable (bootable) 4: FreeBSD 4.0 -current (bootable) Here is my file system layout when running 4.0: /dev/wd0s4a on / (local, soft-updates, writes: sync 16 async 14249) /dev/wd0s3a on /root32 (local, writes: sync 2 async 44) /dev/wd0s3e on /root32/usr (local, writes: sync 2 async 7099) /dev/wd0s4f on /usr (local, soft-updates, writes: sync 2 async 8148) /dev/wd0s4h on /shared (local, soft-updates, writes: sync 1963 async 263656) /dev/wd0s3f on /root32/var (local, writes: sync 2 async 40) /dev/wd0s4g on /var (local, soft-updates, writes: sync 4604 async 69441) (along with a wd0s4b swap partition, which is shared between both FreeBSD versions) When I first tried this, I couldn't boot the 4.0 version because the 4.0 root device was named wd0s4e by my initial 3.2 sysinstall. I had to run disklabel and change the partition name to wd0s4a. After doing that, both versions would boot no problem. I just hit F3 for 3.2-stable, or F4 for 4.0-current. All of my boot blocks were orignally written out with 3.2-stable, but I've since re-written them with 4.0-current boot blocks. -Mike -- Mike Pritchard mpp@FreeBSD.ORG or mpp@mpp.pro-ns.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message