虚拟机挂上硬盘后去查看的时候 为什么我的硬盘不会提示doesn't contain a valid partition table 不包含有效的分区表导致我分区出了问题

来源:2-4 Linux中MBR分区

JustLjy

2019-07-11 21:47

[root@localhost ~]# fdisk -l

Disk /dev/sda: 42.9 GB, 42949672960 bytes


Disk /dev/sdb: 5368 MB, 5368709120 bytes

255 heads, 63 sectors/track, 652 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk identifier: 0x00000000


[root@localhost ~]# fdisk /dev/sdb

Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel

Building a new DOS disklabel with disk identifier 0xdca1ba26.

Changes will remain in memory only, until you decide to write them.

After that, of course, the previous content won't be recoverable.


Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)


WARNING: DOS-compatible mode is deprecated. It's strongly recommended to

         switch off the mode (command 'c') and change display units to

         sectors (command 'u').


写回答 关注

2回答

  • 慕盖茨7257796
    2019-09-11 18:09:15

    我也是这个问题,会不会是VMware版本新旧的原因?

  • JustLjy
    2019-07-11 21:52:41

    是我硬盘加的有问题吗

Linux 达人养成计划 II

VIM+磁盘管理+用户权限,通过学习对Linux系统有进一步的理解

124312 学习 · 226 问题

查看课程

相似问题