相关疑难解决方法(0)

如何挂载用 /bin/dd 创建的`img` 硬盘驱动器?

我曾经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来恢复驱动器?

mount dd

20
推荐指数
2
解决办法
2万
查看次数

标签 统计

dd ×1

mount ×1