内存交换后主 GPT 标头无效

内存交换后主 GPT 标头无效

我正在尝试安全地将空间从 Windows 7/8/10 移动到 Ubuntu(GPT + UEFI 模式),使用教程。

我尝试编辑/etc/fstab以告知它有关新交换的信息,并检查任何分区的 UUID 是否有任何变化,以便编辑它们(如果有)。但当我启动 Linux 的文本模式分区工具 gparted 时,它告诉我旧的主引导记录有效

root@ubuntu:/home/ubuntu# gdisk -l /dev/sda
GPT fdisk (gdisk) version 1.0.1

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

Caution! After loading partitions, the CRC doesn't check out!
Warning! Main partition table CRC mismatch! Loaded backup partition table
instead of main partition table!

Warning! One or more CRCs don't match. You should repair the disk!

Partition table scan:
  MBR: MBR only
  BSD: not present
  APM: not present
  GPT: damaged

Found valid MBR and corrupt GPT. Which do you want to use? (Using the
GPT MAY permit recovery of GPT data.)
 1 - MBR
 2 - GPT
 3 - Create blank GPT

Your answer: 2
Disk /dev/sda: 1953525168 sectors, 931.5 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 6FAF53FA-01E2-4754-A71C-9AF3A67E5F84
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 1953525134
Partitions will be aligned on 2048-sector boundaries
Total free space is 1953525101 sectors (931.5 GiB)

Number  Start (sector)    End (sector)  Size       Code  Name
root@ubuntu:/home/ubuntu# 

然而我有一个完全不同的系统:

在此处输入图片描述

它应该或多或少是这样的:

在此处输入图片描述

相关内容