GPT ext4 分区恢复-无效的备份头

GPT ext4 分区恢复-无效的备份头

当我从 LiveCD 运行以尝试恢复无法启动的系统时,我运行 gdisk /dev/sda 并获得

Caution: invalid backup GPT header, but valid main header; regenerating
backup header from main header.

所以我思考我应该r这样做e但是当我e这样做时它说:

e   load main partition table from disk (rebuilding backup)
Recovery/transformation command (? for help): e
Warning! This will probably do weird things if you've converted an MBR to
GPT form and haven't yet saved the GPT! Proceed? (Y/N): Y

但是现在我想我必须写入磁盘,但是当我选择它时w它会威胁覆盖我的旧分区表,例如:

Recovery/transformation command (? for help): w
Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING
PARTITIONS!!

所以我暂时说“不”,然后v验证一下,它对此的回应是:

Recovery/transformation command (? for help): v
No problems found. 3309 free sectors (1.6 MiB) available in 2
segments, the largest of which is 2014 (1007.0 KiB) in size.

那么这是否意味着问题已经解决,现在可以覆盖现有分区了?我已经使用菜单备份了分区表b

相关内容