Date: Thu, 24 Aug 2006 10:11:42 -0700 From: "mark burdett" <mfburdett@gmail.com> To: freebsd-questions@freebsd.org Subject: fdisk: ERROR: failed to adjust; setting sysid to 0 Message-ID: <e1bd5b380608241011w42532a9el658dde06967fa145@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
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]
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e1bd5b380608241011w42532a9el658dde06967fa145>