我在Windows 8旁边双引导Ubuntu13.10,安装程序没有检测到Windows8,我遇到了一些问题。我遵循了这个答案中的建议:https://askubuntu.com/a/287862/118240使用gdisk来访问GPT表。在那之后,我无法引导到Windows 8;引导直接进入Ubuntu的USB驱动器。不管怎样,幸运的是,我用gdisk 'b‘命令创建了一个备份。我用“r”、“L”和“w”恢复了备份。
现在,在加载时,GParted显示了错误:/dev/sda contains GPT signatures, indicating that it has a GPT table. However, it does not have a valid fake msdos partition table, as it should. Perhaps it was corrupted - possibly by a program that doesn't understand GPT partition tables. Or perhaps you deleted the GPT table, and are now using an msdos partition table. Is this a GPT partition table?
当我单击“是”时,GParted会显示我的分区,但是会出现令我紧张的红色错误:

运行sudo gdisk /dev/sda显示如下:
Partition table scan:
MBR: not present
BSD: not present
APM: not present
GPT: present
Found valid GPT with corrupt MBR; using GPT and will write new protective MBR on save.我没有证据,但我95%肯定,在我点击GPT表之前,MBR说的不是not present。我很确定这不是present,但我不记得是什么(我可能会记得几天后这个问题解决了……)。
我在Windows上没有任何重要的数据(我刚刚购买了这台计算机),但我不想重新安装它(我不知道我是否需要重新购买Windows 8,因为它已经安装在计算机上了,而且我没有CD?)
不管怎样,我能安全地用gdisk写一个新的保护MBR吗?这是保留我的分区,还是我已经做了太多的损害?如果没有,我能采取什么措施吗?
发布于 2013-12-05 17:39:21
最后一项显示gdisk将用写来编写保护性MBR。所以使用gdisk并编写分区表。
sudo gdisk /dev/sda
Command (? for help):at命令使用p列出分区,如果它们看起来还好,那么在gdisk上执行写命令。如果不确定,请使用q退出。?会显示命令。它只需重写gpt数据,也可以自动写入正确的保护MBR条目。
保护性MBR只有一个分区表条目,所以像fdisk这样的旧分区工具在不显示它是gpt的情况下不会尝试写入它。只有在以BIOS模式安装Windows时,才会删除所有gpt数据。但是您的Windows是UEFI,然后只能是UEFI。
有关对分区表进行备份的示例只说明了这一点有多重要。没有备份,恢复是困难的,或者可能是不可能的。
https://askubuntu.com/questions/386306
复制相似问题