Am Freitag, 20. Mai 2005 16:26 schrieb Rudi Effe:
> Wie rechne ich hier am besten um?

So, ich habe als Formeln für Start bzw. Size ermittelt:
x*63*255-2 bzw. x*2

Leider mag sfdisk meine Tabelle nicht schreiben:

# sfdisk -i -C19457 /dev/hdd <fstab.out
Checking that no-one is using this disk right now ...
OK
Warning: BLKGETSIZE/HDIO_GETGEO says that there are 4111 cylinders

Disk /dev/hdd: 19457 cylinders, 255 heads, 63 sectors/track
llseek: Invalid argument

sfdisk: seek error on /dev/hdd - cannot seek to 68404770
Old situation:
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 
1

   Device Boot Start     End   #cyls    #blocks   Id  System
/dev/hdd1          1+    243     243-   1951866   83  Linux
...

Warning: given size (20482812) exceeds max allowable size (20466812)

sfdisk: bad input

Antwort per Email an