Date: Mon, 20 Dec 1999 11:18:29 -0600 (CST) From: Anthony Kimball <alk@pobox.com> To: current@freebsd.org Subject: is this really a bad disklabel? Message-ID: <14430.24471.670590.740202@avalon.east>
next in thread | raw e-mail | index | archive | help
(This is probably a -questions issue, but I've tried without success, and the boot programs are all -current.) I can't seem to boot from wd1s3a. When I run the loader, and set currdev=disk2s3a, it won't ls, and when I try to lsdev, it says there is a bad partition table on wd1. I found it necessary to change the BIOS parameters using sysinstall before I could write the label and boot1, boot2. (I believe the boot and loader on both drives is -current now.) When I run fdisk from Win98, drive D: is shown as 504MB in toto, although the partition sizes are correct. wd0 is WDC AC313000R (primary master), while wd1 is WDC WC136AA (secondary master). I can run multiboot on wd1 using 'F5' in the wd0 multiboot, but attempting to boot wd1s3 thereafter fails, returning to the multiboot. Here's the partion table: ******* Working on device /dev/rwd1 ******* parameters extracted from in-core disklabel are: cylinders=1653 heads=255 sectors/track=63 (16065 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=1653 heads=255 sectors/track=63 (16065 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 6,(Primary 'big' DOS (> 32MB)) start 63, size 4192902 (2047 Meg), flag 0 beg: cyl 0/ sector 1/ head 1; end: cyl 260/ sector 63/ head 254 The data for partition 2 is: sysid 130,(Linux swap or Solaris x86) start 4192965, size 273105 (133 Meg), flag 0 beg: cyl 261/ sector 1/ head 0; end: cyl 277/ sector 63/ head 254 The data for partition 3 is: sysid 165,(FreeBSD/NetBSD/386BSD) start 14795865, size 11759580 (5741 Meg), flag 80 (active) beg: cyl 921/ sector 1/ head 0; end: cyl 1023/ sector 63/ head 254 The data for partition 4 is: sysid 131,(Linux filesystem) start 4466070, size 10329795 (5043 Meg), flag 0 beg: cyl 278/ sector 1/ head 0; end: cyl 920/ sector 63/ head 254 Both drives are LBA in the BIOS. I modelled wd1 on wd0: ******* Working on device /dev/rwd0 ******* parameters extracted from in-core disklabel are: cylinders=1582 heads=255 sectors/track=63 (16065 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=1582 heads=255 sectors/track=63 (16065 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 6,(Primary 'big' DOS (> 32MB)) start 63, size 4192902 (2047 Meg), flag 0 beg: cyl 0/ sector 1/ head 1; end: cyl 260/ sector 63/ head 254 The data for partition 2 is: sysid 130,(Linux swap or Solaris x86) start 4192965, size 273105 (133 Meg), flag 0 beg: cyl 261/ sector 1/ head 0; end: cyl 277/ sector 63/ head 254 The data for partition 3 is: sysid 165,(FreeBSD/NetBSD/386BSD) start 14795865, size 10618965 (5185 Meg), flag 80 (active) beg: cyl 921/ sector 1/ head 0; end: cyl 1023/ sector 63/ head 254 The data for partition 4 is: sysid 131,(Linux filesystem) start 4466070, size 10329795 (5043 Meg), flag 0 beg: cyl 278/ sector 1/ head 0; end: cyl 920/ sector 63/ head 254 The BIOS and fdisk agree on the c/h/s limits. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14430.24471.670590.740202>