On my system, FreeBSD 5.0-CURRENT #1: Mon Nov 4 21:00:50 CET 2002 fdisk ceased to work after a recent upgrade. It used to work fine under GEOMized kernel with both internal ATA disks and external IDE drive attached via fireware or USB (tested both).
I had to switch to non-GEOM kernel (my disklabels give my warnings), updated everything, and fdisk ceased to work. I reverted fdisk.c to 1.64 (used to be 1.66) and now fdisk works fine again (with a non-GEOM kernel). Disk layouts below. Another question, can I "geomize" existing disk? I keep getting disklabel warnings about mismatched partitions and slices. -- << Marcin Cieslak // [EMAIL PROTECTED] >> ******* Working on device /dev/ad0 ******* parameters extracted from in-core disklabel are: cylinders=2432 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=2432 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 7 (0x07),(OS/2 HPFS, NTFS, QNX-2 (16 bit) or Advanced UNIX) start 63, size 14474502 (7067 Meg), flag 0 beg: cyl 0/ head 1/ sector 1; end: cyl 900/ head 254/ sector 63 The data for partition 2 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 14474565, size 4192965 (2047 Meg), flag 80 (active) beg: cyl 901/ head 0/ sector 1; end: cyl 1023/ head 254/ sector 63 The data for partition 3 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 18667530, size 20402550 (9962 Meg), flag 0 beg: cyl 1023/ head 255/ sector 63; end: cyl 1023/ head 254/ sector 63 The data for partition 4 is: <UNUSED> ******* Working on device /dev/da0 ******* parameters extracted from in-core disklabel are: cylinders=7297 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=7297 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 7 (0x07),(OS/2 HPFS, NTFS, QNX-2 (16 bit) or Advanced UNIX) start 63, size 6136641 (2996 Meg), flag 0 beg: cyl 0/ head 1/ sector 1; end: cyl 381/ head 252/ sector 63 The data for partition 2 is: sysid 14 (0x0e),(Primary 'big' DOS (>= 32MB, LBA)) start 6136704, size 2087568 (1019 Meg), flag 0 beg: cyl 381/ head 253/ sector 1; end: cyl 511/ head 238/ sector 63 The data for partition 3 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 8224272, size 4450320 (2173 Meg), flag 80 (active) beg: cyl 511/ head 239/ sector 1; end: cyl 788/ head 243/ sector 63 The data for partition 4 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 12674592, size 41930343 (20473 Meg), flag 80 (active) beg: cyl 788/ head 244/ sector 1; end: cyl 1023/ head 254/ sector 63
msg46136/pgp00000.pgp
Description: PGP signature