fdisk: ERROR: failed to adjust; setting sysid to 0
mark burdett
mfburdett at gmail.com
Thu Aug 24 17:13:30 UTC 2006
Hi,
I was wondering what is the proper procedure for using fdisk to setup
slices on large disks/arrays? I seem to be getting an "ERROR" when
fdisk tries to adjust the partition to start on a head boundary and
end on a cylinder boundary.
Should I ignore the warning re: "partition does not end on a cylinder
boundary" and write the partition table? Or should I attempt to set
all the correct numbers by hand, since the automatic correction fails?
I've attached the warnings and errors I saw on fdisk.
--mark
fileserver1# fdisk -u
******* Working on device /dev/da0 *******
parameters extracted from in-core disklabel are:
cylinders=364716 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=364716 heads=255 sectors/track=63 (16065 blks/cyl)
Do you want to change our idea of what BIOS thinks ? [n]
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 (0xa5),(FreeBSD/NetBSD/386BSD)
start 63, size 1564195181 (763767 Meg), flag 80 (active)
beg: cyl 0/ head 1/ sector 1;
end: cyl 1023/ head 165/ sector 59
Do you want to change it? [n]
The data for partition 2 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 1564195248, size 2147478417 (1048573 Meg), flag 0
beg: cyl 86/ head 166/ sector 1;
end: cyl 640/ head 254/ sector 63
Do you want to change it? [n]
The data for partition 3 is:
<UNUSED>
Do you want to change it? [n] yes
Supply a decimal value for "sysid (165=FreeBSD)" [0] 165
Supply a decimal value for "start" [0] 3711673665
Supply a decimal value for "size" [0] 2147490495
fdisk: WARNING: partition does not end on a cylinder boundary
fdisk: WARNING: this may confuse the BIOS or some operating systems
Correct this automatically? [n] y
fdisk: ERROR: could not adjust partition to start on a head boundary
and end on a cylinder boundary.
fdisk: ERROR: failed to adjust; setting sysid to 0
Explicitly specify beg/end address ? [n]
More information about the freebsd-questions
mailing list