Linux中MBR和GPT分区的区别 |
您所在的位置:网站首页 › 512ssd分区方案 › Linux中MBR和GPT分区的区别 |
在Linux中对磁盘分区有两个方案
1、MBR分区方案 2、GPT分区方案 MBR分区方案特点:1、最多支持四个主分区, 2、在Linux上使用扩展分区和逻辑分区最多可以创建15个分区, 3、由于分区中的数据以32位存储,使用MBR分区是最大支持2T空间。 4、fdisk管理工具只能创建MBR分区 GPT分区方案特点1、是UEFI标准的一部分,主板必须要支持UEFI标准 2、GPT分区列表支持最大128PB(1PB=1024TB) 3、可以定义128个分区 4、没有主分区,扩展分区和逻辑分区的概念,所有分区都能格式化 5、gdisk管理工具可以创建GPT分区 区分MBR和GPT分区1、使用fdisk -l 命令 看到如下信息说明该分区是GPT分区 WARNING: fdisk GPT support is currently new, and therefore in an experimental phase. Use at your own discretion. Disk label type: gpt看到如下信息说明该分区是MBR分区 /dev/sda1 * 2048 1026047 512000 83 Linux /dev/sda2 1026048 419430399 209202176 8e Linux LVM Disk label type: dosfdisk -l 命令输出 [root@localhost home]# fdisk -l Disk /dev/sda: 214.7 GB, 214748364800 bytes, 419430400 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk label type: dos Disk identifier: 0x000bd24a Device Boot Start End Blocks Id System /dev/sda1 * 2048 1026047 512000 83 Linux /dev/sda2 1026048 419430399 209202176 8e Linux LVM WARNING: fdisk GPT support is currently new, and therefore in an experimental phase. Use at your own discretion. Disk /dev/sdb: 214.7 GB, 214748364800 bytes, 419430400 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk label type: gpt Start End Size Type Name 1 2048 419430366 200G Linux filesyste Linux filesystem2、使用parted -l [root@localhost home]# parted -l Model: VMware Virtual disk (scsi) Disk /dev/sda: 215GB Sector size (logical/physical): 512B/512B Partition Table: msdos Disk Flags: Number Start End Size Type File system Flags 1 1049kB 525MB 524MB primary xfs boot 2 525MB 215GB 214GB primary lvm Model: VMware Virtual disk (scsi) Disk /dev/sdb: 215GB Sector size (logical/physical): 512B/512B Partition Table: gpt Disk Flags: Number Start End Size File system Name Flags 1 1049kB 215GB 215GB Linux filesystem |
今日新闻 |
推荐新闻 |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |