From owner-freebsd-questions Sun Sep 30 17:44:40 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-94-248-46.mmcable.com [24.94.248.46]) by hub.freebsd.org (Postfix) with SMTP id 1EABA37B406 for ; Sun, 30 Sep 2001 17:44:33 -0700 (PDT) Received: (qmail 5267 invoked by uid 100); 1 Oct 2001 00:44:31 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15287.48238.950135.346114@guru.mired.org> Date: Sun, 30 Sep 2001 19:44:30 -0500 To: walton@digger.net Cc: questions@freebsd.org Subject: Re: Partition table problem In-Reply-To: <20010930035143.94262.qmail@aerre.pair.com> References: <20010930035143.94262.qmail@aerre.pair.com> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG walton@digger.net types: > Ok, I've tried 'fdisk -4 -u ad0', but I haven't written the new table it > creates because it's doing something strange. Have a look: > > > parameters extracted from in-core disklabel are: > cylinders=3876 heads=240 sectors/track=63 (15120 blks/cyl) > > Figures below won't work with BIOS for partitions not in cyl 1 > parameters to be used for BIOS calculations are: > cylinders=3876 heads=240 sectors/track=63 (15120 blks/cyl) > > Information from DOS bootblock is: > 1: sysid 6,(Primary 'big' DOS (> 32MB)) > start 63, size 4188177 (2045 Meg), flag 0 > beg: cyl 0/ head 1/ sector 1; > end: cyl 276/ head 239/ sector 63 > 2: sysid 6,(Primary 'big' DOS (> 32MB)) > start 4188240, size 4188240 (2045 Meg), flag 0 > beg: cyl 277/ head 0/ sector 1; > end: cyl 553/ head 239/ sector 63 > 3: sysid 165,(FreeBSD/NetBSD/386BSD) > start 8376480, size 8376480 (4090 Meg), flag 80 (active) > beg: cyl 554/ head 0/ sector 1; > end: cyl 1023/ head 239/ sector 63 > 4: sysid 15,(Extended DOS, LBA) > start 16752960, size 41852160 (20435 Meg), flag 0 > beg: cyl 84/ head 0/ sector 1; > end: cyl 803/ head 239/ sector 63 > Should we write new partition table? [n] > > > Notice the beginning and end cylinders for partition 4. Those are the > settings it gives me when I decline to explicitly specify them. If I > give it the beginning and end (which I believe should be 1024/0/1 - > 3876/239/63), then it gives me this: > > 4: sysid 15,(Extended DOS, LBA) > start 16752960, size 41852160 (20435 Meg), flag 0 > beg: cyl 0/ head 0/ sector 1; > end: cyl 804/ head 239/ sector 63 > > What's going on here? Those values don't make any sense. Welcome to the wonderful world of PC hardware. See for an explanation of why you're seeing those values. You should specify the starting/ending values, and let it plug in the correct CHS value. http://www.mired.org/home/mwm/ Q: How do you make the gods laugh? A: Tell them your plans. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message