我曾经dd备份过一个80GB 的驱动器
dd if=/dev/sdb of=~/sdb.img
Run Code Online (Sandbox Code Playgroud)
现在我需要访问该驱动器上的一些文件,但我不想将“.img”复制回驱动器。
mount ~/sdb.img /mnt/sdb也不起作用。它返回:
mount: you must specify the filesystem type
Run Code Online (Sandbox Code Playgroud)
我试图找到文件系统类型 file -s
fox@shoebox $ file -s sdb.img
sdb.img: x86 boot sector; partition 1: ID=0x12, starthead 1, startsector 63, 10233342 sectors; partition 2: ID=0xc, active, starthead 0, startsector 10233405, 72517410 sectors; partition 3: ID=0xc, starthead 0, startsector 82750815, 73545570 sectors, code offset 0xc0
Run Code Online (Sandbox Code Playgroud)
是否可以安装sdb.img,或者我必须使用它dd来恢复驱动器?