From owner-freebsd-hackers Fri Jul 20 12:33:37 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from herbelot.dyndns.org (d211.dhcp212-26.cybercable.fr [212.198.26.211]) by hub.freebsd.org (Postfix) with ESMTP id 8D84737B401 for ; Fri, 20 Jul 2001 12:33:32 -0700 (PDT) (envelope-from thierry@herbelot.com) Received: from herbelot.com (multi.herbelot.nom [192.168.1.2]) by herbelot.dyndns.org (8.9.3/8.9.3) with ESMTP id VAA06880; Fri, 20 Jul 2001 21:31:37 +0200 (CEST) (envelope-from thierry@herbelot.com) Message-ID: <3B588760.E5875DBB@herbelot.com> Date: Fri, 20 Jul 2001 21:32:48 +0200 From: Thierry Herbelot X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Wilko Bulte Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: dual booting -stable & -current References: <20010720183229.A9022@freebie.xs4all.nl> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Wilko Bulte wrote: > > I'm probably completely dim today so please bear with me :/ > Thing is I want to setup a dual-boot box, running -stable & -current. > This box, a P2/266 has a 30G IDE disk. > > What I did is create > ad0s1 -> 256MB -> holds root for -stable > ad0s2 -> 256MB -> was supposed to hold root for -current > ad0s3 -> roughly 14G holds tmp,var,usr,usr/obj for -stable > ad0s4 -> ditto for -current > > My recollection is that as long as you keep the root partitions <2 (or 8) GB > it should be bootable. Hence this somewhat strange slicing. > > Thing is, 4.3R refuses to install it's root on ad0s2 (4.3 because I want > to go current from there). > > I'm probably missing something obvious here? here's what I have on my (just -Stable for the moment) workstation : multi# fdisk ad4 ******* Working on device /dev/ad4 ******* parameters extracted from in-core disklabel are: cylinders=35390 heads=16 sectors/track=63 (1008 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 165,(FreeBSD/NetBSD/386BSD) start 63, size 2457441 (1199 Meg), flag 0 The data for partition 2 is: sysid 165,(FreeBSD/NetBSD/386BSD) start 4095504, size 31577616 (15418 Meg), flag 0 he data for partition 3 is: sysid 165,(FreeBSD/NetBSD/386BSD) start 2457504, size 1638000 (799 Meg), flag 80 (active) The data for partition 4 is: // main bootable partition multi# disklabel -r ad4s1 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 102400 0 4.2BSD 1024 8192 16 on / b: 860160 102400 swap shared swap c: 2457441 0 unused 0 0 e: 40960 962560 4.2BSD 1024 8192 16 on /var f: 1453921 1003520 4.2BSD 1024 8192 16 on /usr // alternate bootable partition (will be -Current) multi# disklabel -r ad4s3 # size offset fstype [fsize bsize bps/cpg] a: 102400 0 4.2BSD 1024 8192 16 on alternate / c: 1638000 0 unused 0 0 e: 40960 102400 4.2BSD 1024 8192 16 alt. /var f: 1494640 143360 4.2BSD 1024 8192 16 alt. /usr multi# disklabel -r ad4s2 # size offset fstype [fsize bsize bps/cpg] c: 31577616 0 unused 0 0 e: 31577616 0 4.2BSD 0 0 0 shared expanse you may want to use a similar setup (with larger bootable partitions : my setup was initially one only 2G partition, but I cut it this way, with a shared swap to be able to dual-boot) PS : I also had problems with a 40G disk on my oldish P-II/266 : it would not boot from the large disk (I just added a spare 8G which I boot from) -- Thierry Herbelot To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message