linux 找回gpt分区,linux – 修复graid mini磁盘上损坏的GPT分区

我正在尝试修复格雷德迷你1TB外置硬盘上的GPT损坏分区表.以下是gdisk的报告:

root@philippe-desktop:/home/philippe/thomasdisk# gdisk /dev/sdb

GPT fdisk (gdisk) version 0.8.8

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

from backup!

Partition table scan:

MBR: protective

BSD: not present

APM: not present

GPT: damaged

****************************************************************************

Caution: Found protective or hybrid MBR and corrupt GPT. Using GPT, but disk

verification and recovery are STRONGLY recommended.

****************************************************************************

Command (? for help): ?

b back up GPT data to a file

c change a partition's name

d delete a partition

i show detailed information on a partition

l list known partition types

n add a new partition

o create a new empty GUID partition table (GPT)

p print the partition table

q quit without saving changes

r recovery and transformation options (experts only)

s sort partitions

t change a partition's type code

v verify disk

w write table to disk and exit

x extra functionality (experts only)

? print this menu

Command (? for help): v

No problems found. 262157 free sectors (128.0 MiB) available in 2

segments, the largest of which is 262151 (128.0 MiB) in size.

Command (? for help): p

Disk /dev/sdb: 1953546304 sectors, 931.5 GiB

Logical sector size: 512 bytes

Disk identifier (GUID): FE2326A4-F411-489E-B0D9-D2D9EF21A00C

Partition table holds up to 128 entries

First usable sector is 34, last usable sector is 1953546270

Partitions will be aligned on 8-sector boundaries

Total free space is 262157 sectors (128.0 MiB)

Number Start (sector) End (sector) Size Code Name

1 40 409639 200.0 MiB EF00 EFI System Partition

2 409640 1953284119 931.2 GiB AF00 G-RAID mini

Command (? for help):

我的理解是,gdisk可以自动解决损坏,只需按w就可以修复我的磁盘,但我不确定通常v(验证)选项应该向我提出revovery选项.

我可以安全地去按w吗?我已经做过sgdisk -b backup.gpt / dev / sdb

请注意:如果这个问题是非正式的,请将我重定向到正确的网站

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值