[root@clone root]# fdisk /dev/sdb The number of cylinders for this disk is set to 17816. 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): 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)
新建3個分區 ---------------------------------------------------------------------------- n 回車 +100M n 回車 +100M n 回車 +100M
t t參數,就是修改分區系統ID(有如下支持的ID) ---------------------------------------------------------------------------- Command (m for help): l 0 Empty 1b Hidden Win95 FA 64 Novell Netware bb Boot Wizard hid 1 FAT12 1c Hidden Win95 FA 65 Novell Netware c1 DRDOS/sec (FAT- 2 XENIX root 1e Hidden Win95 FA 70 DiskSecure Mult c4 DRDOS/sec (FAT- 3 XENIX usr 24 NEC DOS 75 PC/IX c6 DRDOS/sec (FAT- 4 FAT16 <32m 39 plan 9 80 old minix c7 syrinx 5 Extended 3c PartitionMagic 81 Minix / old Lin da Non-FS data 6 FAT16 40 Venix 80286 82 Linux swap db CP/M / CTOS / . 7 HPFS/NTFS 41 PPC PReP Boot 83 Linux de Dell Utility 8 AIX 42 SFS 84 OS/2 hidden C: df BootIt 9 AIX bootable 4d QNX4.x 85 Linux extended e1 DOS access a OS/2 Boot Manag 4e QNX4.x 2nd part 86 NTFS volume set e3 DOS R/O b Win95 FAT32 4f QNX4.x 3rd part 87 NTFS volume set e4 SpeedStor c Win95 FAT32 (LB 50 OnTrack DM 8e Linux LVM eb BeOS fs e Win95 FAT16 (LB 51 OnTrack DM6 Aux 93 Amoeba ee EFI GPT f Win95 Ext'd (LB 52 CP/M 94 Amoeba BBT ef EFI (FAT-12/16/ 10 OPUS 53 OnTrack DM6 Aux 9f BSD/OS f1 SpeedStor 11 Hidden FAT12 54 OnTrackDM6 a0 IBM Thinkpad hi f4 SpeedStor 12 Compaq diagnost 55 EZ-Drive a5 BSD/386 f2 DOS secondary 14 Hidden FAT16 <3 56 golden bow a6 openbsd fd linux raid auto 16 Hidden FAT16 5c Priam Edisk a7 NeXTSTEP fe LANstep 17 Hidden HPFS/NTF 61 SpeedStor b7 BSDI fs ff BBT 18 AST SmartSleep 63 GNU HURD or Sys b8 BSDI swap ---------------------------------------------------------------------------