我有一个内置硬盘,我把它用在另一台电脑上,这台电脑有两个操作系统(Windows 和 Linux)。我通过电缆将它连接到我的笔记本电脑,并错误地删除了它的第一个分区。现在它将我的其他分区识别为可用空间,而其中包含数据。以下是输出gpart /dev/sdb
:
Begin scan...
Possible partition(Windows NT/W2K FS), size(500mb), offset(1mb)
Possible partition(Windows NT/W2K FS), size(199500mb), offset(501mb)
Possible partition(Linux swap), size(5721mb), offset(200002mb)
Possible partition(Linux ext2), size(47676mb), offset(205724mb)
Possible extended partition at offset(253400mb)
Possible partition(Linux ext2), size(700468mb), offset(253401mb)
End scan.
Checking partitions...
* Warning: more than 3 primary partitions: 4.
Partition(OS/2 HPFS, NTFS, QNX or Advanced UNIX): primary
Partition(OS/2 HPFS, NTFS, QNX or Advanced UNIX): primary
Partition(Linux swap or Solaris/x86): primary
Partition(Linux ext2 filesystem): primary
Partition(Linux ext2 filesystem): logical
Ok.
Guessed primary partition table:
Primary partition(1)
type: 007(0x07)(OS/2 HPFS, NTFS, QNX or Advanced UNIX)
size: 500mb #s(1024000) s(2048-1026047)
chs: (0/32/33)-(63/221/30)d (0/32/33)-(63/221/30)r
Primary partition(2)
type: 007(0x07)(OS/2 HPFS, NTFS, QNX or Advanced UNIX)
size: 199500mb #s(408576000) s(1026048-409602047)
chs: (63/221/31)-(1023/254/63)d (63/221/31)-(25496/139/51)r
Primary partition(3)
type: 130(0x82)(Linux swap or Solaris/x86)
size: 5721mb #s(11716792) s(409604096-421320887)
chs: (1023/254/63)-(1023/254/63)d (25496/172/21)-(26226/3/9)r
Primary partition(4)
type: 131(0x83)(Linux ext2 filesystem)
size: 47676mb #s(97640448) s(421322752-518963199)
chs: (1023/254/63)-(1023/254/63)d (26226/32/47)-(32303/246/7)r
下面是输出disks
:
525 MB 分区是我错误删除的分区,790 GB 可用空间包含两个 ext4 分区
有什么办法可以解决这个问题吗?