![无法从 MBR 中删除 GPT 数据](https://linux22.com/image/970105/%E6%97%A0%E6%B3%95%E4%BB%8E%20MBR%20%E4%B8%AD%E5%88%A0%E9%99%A4%20GPT%20%E6%95%B0%E6%8D%AE.png)
我很难让 Ubuntu 安装程序(和 gparted)识别我的 MBR 类型磁盘上的分区。其他操作系统和磁盘工具可以很好地读取磁盘结构和其中的文件。我已使用 fixparts 写入新的 MBR,但问题仍然存在。我假设问题源于磁盘上仍然存在的保护性 MBR 数据,但我不知道如何在保留 NTFS 数据分区的同时删除它。
Microsoft Windows [版本 6.1.7601] 版权所有 (c) 2009 Microsoft Corporation。保留所有权利。
c:\Users\mike\Desktop\fixparts>fixparts 3: FixParts 0.8.8
从 3 加载 MBR 数据:
警告:0xEE 分区不是从扇区 1 开始的。这可能会在某些操作系统中造成问题。
MBR 命令(?获取帮助):
运行 gdisk 显示
Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved.
c:\Users\mike\Desktop\fixparts>gdisk 3: GPT fdisk (gdisk) version
0.8.7
Partition table scan:
MBR: MBR only
BSD: not present
APM: not present
GPT: not present
***************************************************************
Found invalid GPT and valid MBR; converting MBR to GPT format in memory. THIS OPERATION IS POTENTIALLY DESTRUCTIVE! Exit by typing 'q' if you don't want to convert your MBR partitions to GPT format!
***************************************************************
************************************************************************
Most versions of Windows cannot boot from a GPT disk, and most varieties prior to Vista cannot read GPT disks. Therefore, you should exit now unless you understand the implications of converting MBR to GPT or creating a new GPT disk layout!
************************************************************************
Are you SURE you want to continue? (Y/N): y
Command (? for help): p Disk 3:: 2930277168 sectors, 1.4 TiB Logical sector size: 512 bytes Disk identifier (GUID): BFE92CE8-F93D-4141-82B8-816AD06FB36E Partition table holds up to 128 entries First usable sector is 34, last usable sector is 2930277134 Partitions will be aligned on 2048-sector boundaries Total free space is 163846893 sectors (78.1 GiB)
Number Start (sector) End (sector) Size Code Name
1 163842048 2930272255 1.3 TiB 0700 Microsoft basic data
Command (? for help): r
Recovery/transformation command (? for help): o
Disk size is 2930277168 sectors (1.4 TiB) MBR disk identifier: 0x00000000 MBR partitions:
Number Boot Start Sector End Sector Status Code
1 1 2930277167 primary 0xEE
Recovery/transformation command (? for help): q
答案1
看起来 gdisk zap 命令或 MBR 重建处理了有问题的 GPT 数据,但直到重启后才生效。