gentoolinux evert # fdisk /dev/sda
The number of cylinders for this disk is set to 36483.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Command (m for help): p
Disk /dev/sda: 300.0 GB, 300090728448 bytes
255 heads, 63 sectors/track, 36483 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 20398 163846903+ 7 HPFS/NTFS
/dev/sda2 20399 20403 40162+ 83 Linux
/dev/sda3 20404 20528 1004062+ 82 Linux swap / Solaris
/dev/sda4 * 20529 36483 128158537+ 83 Linux
Command (m for help): m
Command action
a toggle a bootable flag
b edit bsd disklabel
c toggle the dos compatibility flag
d delete a partition
l list known partition types
m print this menu
n add a new partition
o create a new empty DOS partition table
p print the partition table
q quit without saving changes
s create a new empty Sun disklabel
t change a partition's system id
u change display/entry units
v verify the partition table
w write table to disk and exit
x extra functionality (experts only)
Command (m for help): d
Partition number (1-4): 1
Command (m for help): p
Disk /dev/sda: 300.0 GB, 300090728448 bytes
255 heads, 63 sectors/track, 36483 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda2 20399 20403 40162+ 83 Linux
/dev/sda3 20404 20528 1004062+ 82 Linux swap / Solaris
/dev/sda4 * 20529 36483 128158537+ 83 Linux
Command (m for help): n
Command action
e extended
p primary partition (1-4)
p
Selected partition 1
First cylinder (1-36483, default 1): 1
Last cylinder or +size or +sizeM or +sizeK (1-20398, default 20398):
Using default value 20398
Command (m for help): p
Disk /dev/sda: 300.0 GB, 300090728448 bytes
255 heads, 63 sectors/track, 36483 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 20398 163846903+ 83 Linux
/dev/sda2 20399 20403 40162+ 83 Linux
/dev/sda3 20404 20528 1004062+ 82 Linux swap / Solaris
/dev/sda4 * 20529 36483 128158537+ 83 Linux
Command (m for help):