![如何修复损坏的分区表?](https://linux22.com/image/1049860/%E5%A6%82%E4%BD%95%E4%BF%AE%E5%A4%8D%E6%8D%9F%E5%9D%8F%E7%9A%84%E5%88%86%E5%8C%BA%E8%A1%A8%EF%BC%9F.png)
我正在运行双启动 Windows 8.1 和 Ubuntu 14.04,突然无法启动我的系统。启动到实时 USB 并运行 GParted 后,我收到此错误:
读取 /dev/sdb 时出现输入/输出错误
/dev/sda 包含 GPT 签名,表明它有一个 GPT 表。但是,它没有有效的伪造 msdos 分区表,而它应该有。也许它被损坏了——可能是由不理解 GPT 分区表的程序损坏的。或者也许您删除了 GPT 表,现在正在使用 msdos 分区表。这是 GPT 分区表吗?
主 GPT 表和备份 GPT 表均已损坏。请尝试创建一个新表,然后使用 Parted 的救援功能来恢复分区。
有办法解决这个问题吗?我试过了测试磁盘无法运行。有没有办法在我做任何可能损坏计算机的事情之前备份我的硬盘?
答案1
最简单的选择是尝试使用备份 GPT 表。它会自动存储在磁盘上。该gdisk
实用程序可以为您完成所有这些操作。只需像平常一样加载,
# gdisk /dev/sdb
然后进入恢复和转换菜单 (r),选择选项 c 以加载备份表。如果成功,您可以再次写出正确的表。除非您告诉它,否则它不会写入任何内容。
答案2
(我知道,我知道的链接不多,对吧?但是嘿,我能做什么,这个人需要帮助!)
Hiren 的 BootCD可能有一个可以提供帮助的工具。
但在你下载之前查看工具列表并形成自己的观点。
作为一名系统管理员,我随时都可以拿到这样的 CD。
以下是 MBR 工具列表
MBR (Master Boot Record) Tools
BellaVista 1.1.0.71
Formerly BCD Editor with lots of options to configure Windows for a developer.
Boot Partition 2.60
Add Partition in the Windows NT/2000/XP Multi-boot loader.
BootFix Utility
Run this utility if you get 'Invalid system disk' message.
BootSect 6.0.6
Boot Sector Manipulation Tool, This tool replaces FixFAT.exe and FixNTFS.exe.
BootICE 2012.09.20
A boot sector manipulation utility to edit MBR/PBR/BCD.
DiskMan 4.2
All in one tool for cmos, bios, bootrecord and more.
FbInst 1.6
A tool to create universal flash boot disk that boots from all computers.
Grub4Dos installer 1.1
An universal boot loader GRUB for DOS GRLDR installer.
grub4dos 2012-10-02
An universal boot loader based on GNU GRUB, can boot off DOS/LINUX or via Windows boot manager/syslinux/lilo or from MBR/CD, builtin BIOS disk emulation.
HDHacker 1.4
Load/Save/View MBR and BootSector from a physical/logical drive.
isolinux 4.05
A boot loader for Linux/i386 that operates off ISO 9660/El Torito CD-ROMs in 'no emulation' mode.
MBRWizard 3.0.73
Directly update and modify the Master Boot Record.
MbrFix 1.3
Backup, restore and fix the boot code in the MBR.
MBR Utility 1.05
Manipulate a drive's master boot record (MBR) via the command line.
MBRWork 1.08
A utility to perform some common and uncommon MBR functions.
MBRTool 2.3.200
Backup, verify, restore, edit, refresh, remove, display, re-write and more.
MBR SAVE / RESTORE 2.1
BootSave and BootRest tools to save / restore MBR.
MemDisk 4.05
Allow booting legacy operating systems, floppy images, hard disk images and some ISO images.
PLoP Boot Manager 5.0.14
Boot different operating systems harddisk, floppy, CD/DVD or from USB, it can boot from an USB/CD/DVD even without BIOS support.
RMPrepUSB 2.1.620
Partition and format your USB drive and make it bootable.
Smart Boot Manager 3.7.1
A multi boot manager.
XOSL 1.1.5
A graphical boot manager that supports multi-booting of various operating systems.