[root@test64 ~]# fdisk -H 224 -S 56 /dev/sdd The number of cylinders for this disk is set to 9345. 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): n Command action e extended p primary partition (1-4) p Partition number (1-4): 1 First cylinder (1-9345, default 1): 2 Last cylinder or +size or +sizeM or +sizeK (2-9345, default 9345): Using default value 9345 Command (m for help): w The partition table has been altered! Calling ioctl() to re-read partition table. Syncing disks.
[root@test64 ~]# fdisk -H 32 -S 32 /dev/sdd The number of cylinders for this disk is set to 114483. 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): n Command action e extended p primary partition (1-4) p Partition number (1-4): 1 First cylinder (1-114483, default 1): 2 Last cylinder or +size or +sizeM or +sizeK (2-114483, default 114483): Using default value 114483 Command (m for help): w The partition table has been altered! Calling ioctl() to re-read partition table. Syncing disks.
Fdisk加上“-l”參數(shù)可以檢查分區(qū)。
[root@test64 ~]# fdisk -l /dev/sdd Disk /dev/sdd: 60.0 GB, 60022480896 bytes 32 heads, 32 sectors/track, 114483 cylinders Units = cylinders of 1024 * 512 = 524288 bytes Device Boot Start End Blocks Id System /dev/sdd1 2 114483 58614784 83 Linux