Quote:
[admin@Tempi root]$ fdisk /dev/discs/disc0/disc
The number of cylinders for this disk is set to 7296.
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/discs/disc0/disc: 60.0 GB, 60011642880 bytes
255 heads, 63 sectors/track, 7296 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
Command (m for help): n
Command action
e extended
p primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-7296, default 1):
Using default value 1
Last cylinder or +size or +sizeM or +sizeK (1-7296, default 7296): +512M
Command (m for help): t
Selected partition 1
Hex code (type L to list codes): 82
Changed system type of partition 1 to 82 (Linux swap)
Command (m for help): n
Command action
e extended
p primary partition (1-4)
p
Partition number (1-4): 2
First cylinder (64-7296, default 64):
Using default value 64
Last cylinder or +size or +sizeM or +sizeK (64-7296, default 7296): +1024
Command (m for help): n
Command action
e extended
p primary partition (1-4)
p
Partition number (1-4): 3
First cylinder (1089-7296, default 1089):
Using default value 1089
Last cylinder or +size or +sizeM or +sizeK (1089-7296, default 7296):
Using default value 7296
Command (m for help): w
The partition table has been altered!
Calling ioctl() to re-read partition table.
Syncing disks.
[admin@Tempi root]$ fdisk -l
Disk /dev/ide/host0/bus0/target0/lun0/disc: 60.0 GB, 60011642880 bytes
255 heads, 63 sectors/track, 7296 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/ide/host0/bus0/target0/lun0/part1 1 63 506016 82 Linux swap
/dev/ide/host0/bus0/target0/lun0/part2 64 1088 8233312+ 83 Linux
/dev/ide/host0/bus0/target0/lun0/part3 1089 7296 49865760 83 Linux