尝试挂载 ddrescue .img 文件无法加载 $MFT

尝试挂载 ddrescue .img 文件无法加载 $MFT

这是我尝试安装的方法。

root@PartedMagic:/media/sdb2# parted recovery.img
GNU Parted 3.4
Using /media/sdb2/recovery.img
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) unit                                                             
Unit?  [compact]? B                                                       
(parted) print                                                            
Model:  (file)
Disk /media/sdb2/recovery.img: 10306975498240B
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start       End            Size           Type     File system  Flags
 1      1048576B    105906175B     104857600B     primary  ntfs
 2      105906176B  500105740287B  499999834112B  primary  ntfs         boot

(parted) exit                                                             
  align-check TYPE N                       check partition N for TYPE(min|opt)
        alignment
  help [COMMAND]                           print general help, or help on
        COMMAND


root@PartedMagic:/media/sdb2# mount -t ntfs -o loop,ro,offset=105906176 recovery.img mountpoint
The MFT is not self-contained: No such file or directory
Failed to load $MFT: No such file or directory
Failed to mount '/dev/loop0': No such file or directory
root@PartedMagic:/media/sdb2# 

答案1

我不确定,但我不认为mount loop选项应该这样使用。我建议你尝试让linux来处理分区表。作为根用户:

losetup --find --show recovery.img

例如,这会返回/dev/loop0.然后,您可能需要以 root 身份运行,partprobe以便您的驱动器映像中现在也有/dev/loop0p1/dev/loop0p2两个分区。

您现在可以使用mount命令安装每个。没有loopoffset:

mount -t ntfs -o ro /dev/loop0p1 mountpoint1
mount -t ntfs -o ro /dev/loop0p2 mountpoint2

相关内容