g create a new empty GPT partition table# 创建一个空的GPT分区表 G create an IRIX (SGI) partition table# 创建一个IRIX分区表 l list known partition types# 列出已知的分区类型 m print this menu# 打印菜单 n add a new partition# 添加一个分区 o create a new empty DOS partition table# 创建...
对磁盘/dev/sdb/进行分区操作: [root@localhost~]# fdisk /dev/sdb# 输入 m 查看可执行的命令command(mforhelp):mCommandactionatoggleabootableflag切换可引导标志beditbsddisklabel编辑bsd磁盘标签ctogglethedoscompatibilityflag切换dos兼容性标志ddeleteapartition删除一个分区llistknownpartitiontypes列出已经知道的分区...
l list known partition types m print this menu n add anew partition //添加一个新的分区 o create anew empty DOS partition table p print the partition table q quit without saving changes s create anew empty Sun disklabel t change a partition's system id u change display/entryunits v verify...
ddeletea partition<==删除一个partition l list known partition types m printthismenu n add anewpartition<==新增一个partition o create anewemptyDOSpartition table p print the partition table<==在屏幕上显示分割表 q quit without saving changes<==不储存离开fdisk程序 ...
d delete a partition 注:这是删除一个分区的动作; l list known partition types 注:l是列出分区类型,以供我们设置相应分区的类型; m print this menu 注:m 是列出帮助信息; n add a new partition 注:添加一个分区; o create a new empty DOS partition table ...
Hexcode(typeLto list codes):b 注:如果我想让这个分区是W95FAT32类型的,通过L查看得知 b是表示的是,所以输入了b; Changed system typeofpartition6tob(W95FAT32)注:系统信息,改变成功;是否是改变了,请用p查看;Command(mforhelp):p Disk/dev/sda:1035MB,1035730944bytes256heads,63sectors/track,125cylinders ...
参看是否有了sdb(-l:列出素所有分区表)fdisk -l (请找到sdb(这个是我们新添加的磁盘))开始分区 fdisk /dev/sdb (5)选择m(参看帮助)Command (m for help): 这个地方输入m并回车 参看帮助文件(各项的具体含义)d delete a partition删除分区 l list known partition types显示分区类型 n...
实例:首先选择要进行操作的磁盘:[root@localhost ~]# fdisk /dev/sdb输入m列出可以执行的命令:command (m for help): mCommand actiona toggle a bootable flagb edit bsd disklabelc toggle the dos compatibility flagd delete a partitionl list known partition typesm print this menun add a new ...
d delete a partition F list free unpartitioned space l list known partition types n add a new partition p print the partition table t change a partition type v verify the partition table i print information about a partition Misc m print this menu u change display/entry units x extra func...
Command (m for help): m Help: DOS (MBR) a toggle a bootable flag b edit nested BSD disklabel c toggle the dos compatibility flag Generic d delete a partition F list free unpartitioned space l list known partition types n add a new partition p print the partition table t change a ...