![]() |
![]() |
![]() |
![]() |
![]() |
# fdisk -l ←列出硬碟資訊 Disk /dev/sda: 21.5 GB, 21474836480 bytes, 41943040 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes # fdisk /dev/sda ←分割硬碟〝/dev/sda〞(進入互動模式,如不知有那有那些命令可用,可按 <m>) |
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 ←寫入 partition 並退出 x extra functionality (experts only) |