Command (m for help): p
Disk /dev/sda: 8019 MB, 8019509248 bytes
255 heads, 63 sectors/track, 974 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 975 7831520+ c W95 FAT32 (LBA)
Partition 1 has different physical/logical endings:
phys=(973, 254, 63) logical=(974, 250, 44)
Command (m for help): q
knoppix@Knoppix:~$
knoppix@Knoppix:~$ sfdisk /dev/sda
Checking that no-one is using this disk right now ...
BLKRRPART: Permission denied
OK
Disk /dev/sda: 1022 cylinders, 247 heads, 62 sectors/track
Old situation:
Warning: The partition table looks like it was made
for C/H/S=*/255/63 (instead of 1022/247/62).
For this listing I'll assume that geometry.
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0
Device Boot Start End #cyls #blocks Id System
/dev/sda1 * 0+ 974- 975- 7831520+ c W95 FAT32 (LBA)
end: (c,h,s) expected (974,250,44) found (973,254,63)
/dev/sda2 0 - 0 0 0 Empty
/dev/sda3 0 - 0 0 0 Empty
/dev/sda4 0 - 0 0 0 Empty
Input in the following format; absent fields get a default value.
<start> <size> <type [E,S,L,X,hex]> <bootable [-,*]> <c,h,s> <c,h,s>
Usually you only need to specify <start> and <size> (and perhaps <type>).
/dev/sda1 :