The number of cylinders for this disk is set to 8180. 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-8180, default 1): Using default value 1 Last cylinder or +size or +sizeM or +sizeK (1-8180, default 8180): +150m
Command (m for help): n Command action e extended p primary partition (1-4) p Partition number (1-4): 2 First cylinder (21-8180, default 21): Using default value 21 Last cylinder or +size or +sizeM or +sizeK (21-8180, default 8180): +200m
Command (m for help): n Command action e extended p primary partition (1-4) p Partition number (1-4): 3 First cylinder (47-8180, default 47): Using default value 47 Last cylinder or +size or +sizeM or +sizeK (47-8180, default 8180): +200m
Command (m for help): n Command action e extended p primary partition (1-4) e Partition number (1-4): 4 First cylinder (73-8180, default 73): Using default value 73 Last cylinder or +size or +sizeM or +sizeK (73-8180, default 8180): Using default value 8180
Command (m for help): n First cylinder (73-8180, default 73): Using default value 73 Last cylinder or +size or +sizeM or +sizeK (73-8180, default 8180): +500m
Command (m for help): n First cylinder (137-8180, default 137): Using default value 137 Last cylinder or +size or +sizeM or +sizeK (137-8180, default 8180): +1000m
Command (m for help): n First cylinder (265-8180, default 265): Using default value 265 Last cylinder or +size or +sizeM or +sizeK (265-8180, default 8180): +3000m
Command (m for help): n First cylinder (648-8180, default 648): Using default value 648 Last cylinder or +size or +sizeM or +sizeK (648-8180, default 8180): +10000m
Command (m for help): n First cylinder (1923-8180, default 1923): Using default value 1923 Last cylinder or +size or +sizeM or +sizeK (1923-8180, default 8180): +20000m
Command (m for help): n First cylinder (4473-8180, default 4473): Using default value 4473 Last cylinder or +size or +sizeM or +sizeK (4473-8180, default 8180): Using default value 8180
Command (m for help): w The partition table has been altered!
Calling ioctl() to re-read partition table.
WARNING: If you have created or modified any DOS 6.x partitions, please see the fdisk manual page for additional information. Syncing disks.
看看我的分區如下:(測試用,隨便分了一下)
# /sbin/fdisk -l
Disk /dev/sda: 255 heads, 63 sectors, 2233 cylinders Units = cylinders of 16065 * 512 bytes
Device Boot Start End Blocks Id System /dev/sda1 * 1 13 104391 83 Linux /dev/sda2 14 650 5116702+ 82 Linux swap /dev/sda3 651 2233 12715447+ 83 Linux
Disk /dev/sdb: 64 heads, 32 sectors, 17522 cylinders Units = cylinders of 2048 * 512 bytes
Device Boot Start End Blocks Id System /dev/sdb1 * 1 50 51184 83 Linux /dev/sdb2 51 2050 2048000 82 Linux swap /dev/sdb3 2051 17522 15843328 83 Linux
Disk /dev/sdc: 255 heads, 63 sectors, 2233 cylinders Units = cylinders of 16065 * 512 bytes
Device Boot Start End Blocks Id System /dev/sdc1 * 1 1275 10241406 7 HPFS/NTFS /dev/sdc2 1276 2233 7695135 f Win95 Ext'd (LBA) /dev/sdc5 1276 2233 7695103+ 7 HPFS/NTFS
Disk /dev/sdd: 255 heads, 63 sectors, 2610 cylinders Units = cylinders of 16065 * 512 bytes
Device Boot Start End Blocks Id System /dev/sdd3 53 116 514080 83 Linux /dev/sdd4 117 2610 20033055 5 Extended /dev/sdd5 117 371 2048256 83 Linux /dev/sdd6 372 626 2048256 83 Linux /dev/sdd7 627 754 1028128+ 83 Linux /dev/sdd8 755 805 409626 83 Linux /dev/sdd9 806 856 409626 83 Linux /dev/sdd10 857 984 1028128+ 83 Linux /dev/sdd11 985 1112 1028128+ 83 Linux /dev/sdd12 1113 1367 2048256 83 Linux /dev/sdd13 1368 1622 2048256 83 Linux /dev/sdd14 1623 1750 1028128+ 83 Linux /dev/sdd15 1751 1878 1028128+ 83 Linux /dev/sdd16 1879 2261 3076416 83 Linux
Disk /dev/sde: 255 heads, 63 sectors, 2610 cylinders Units = cylinders of 16065 * 512 bytes
Device Boot Start End Blocks Id System /dev/sde1 1 26 208813+ 83 Linux /dev/sde2 27 90 514080 83 Linux /dev/sde3 91 345 2048287+ 83 Linux /dev/sde4 346 2610 18193612+ 5 Extended /dev/sde5 346 983 5124703+ 83 Linux /dev/sde6 984 2610 13068846 83 Linux
Disk /dev/sdf: 255 heads, 63 sectors, 8180 cylinders Units = cylinders of 16065 * 512 bytes
Device Boot Start End Blocks Id System /dev/sdf1 1 20 160618+ 83 Linux /dev/sdf2 21 46 208845 83 Linux /dev/sdf3 47 72 208845 83 Linux /dev/sdf4 73 8180 65127510 5 Extended /dev/sdf5 73 136 514048+ 83 Linux /dev/sdf6 137 264 1028128+ 83 Linux /dev/sdf7 265 647 3076416 83 Linux /dev/sdf8 648 1922 10241406 83 Linux /dev/sdf9 1923 4472 20482843+ 83 Linux /dev/sdf10 4473 8180 29784478+ 83 Linux
查看生效的raw設備: # raw -qa /dev/raw/raw1: bound to major 8, minor 65 /dev/raw/raw2: bound to major 8, minor 66 /dev/raw/raw3: bound to major 8, minor 51 /dev/raw/raw4: bound to major 8, minor 67 /dev/raw/raw5: bound to major 8, minor 53 /dev/raw/raw6: bound to major 8, minor 54 /dev/raw/raw7: bound to major 8, minor 55 /dev/raw/raw8: bound to major 8, minor 56 /dev/raw/raw9: bound to major 8, minor 57 /dev/raw/raw10: bound to major 8, minor 58 /dev/raw/raw11: bound to major 8, minor 59 /dev/raw/raw12: bound to major 8, minor 60 /dev/raw/raw13: bound to major 8, minor 61 /dev/raw/raw14: bound to major 8, minor 62 /dev/raw/raw15: bound to major 8, minor 63 /dev/raw/raw16: bound to major 8, minor 70 /dev/raw/raw17: bound to major 8, minor 69 /dev/raw/raw18: bound to major 8, minor 81 /dev/raw/raw19: bound to major 8, minor 82 /dev/raw/raw20: bound to major 8, minor 83 /dev/raw/raw21: bound to major 8, minor 85