Date: Sun, 30 Sep 2001 19:44:30 -0500 From: Mike Meyer <mwm@mired.org> To: walton@digger.net Cc: questions@freebsd.org Subject: Re: Partition table problem Message-ID: <15287.48238.950135.346114@guru.mired.org> In-Reply-To: <20010930035143.94262.qmail@aerre.pair.com> References: <20010930035143.94262.qmail@aerre.pair.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <URL: http://www.FreeBSD.org/cgi/query-pr.cgi?pr=20633 > 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. <mike -- Mike Meyer <mwm@mired.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15287.48238.950135.346114>