有没有办法挂载旧的 .img 文件,该文件很可能是 Linux 上为 MS-DOS 制作的 CD-ROM 的副本?所有尝试都失败了。file
它只是被视为“数据”,fdisk -l
只说
646,75 MiB, 678163456 bytes, 1324538 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
使用mount -o
loop挂载mount -o loop,offset=512
失败。我可以使用 losetup 将其挂载到任何 /dev/loop-device,但我无法将其挂载到任何地方。对于 mount,我得到输出
wrong fs type, bad option, bad superblock on /dev/loop0, missing codepage or helper program, or other error.
dmesg(1) may have more information after failed mount system call.
dmseg 告诉我
[39452.042543] loop0: detected capacity change from 0 to 1324537
[39452.051688] EXT4-fs (loop0): VFS: Can't find ext4 filesystem
[39452.051889] EXT4-fs (loop0): VFS: Can't find ext4 filesystem
[39452.051986] EXT4-fs (loop0): VFS: Can't find ext4 filesystem
[39452.052096] FAT-fs (loop0): bogus number of reserved sectors
[39452.052100] FAT-fs (loop0): Can't find a valid FAT filesystem
十六进制转储的前几行是:
00000000 00 ff ff ff ff ff ff ff ff ff ff 00 00 02 00 01 |................|
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
我该怎么做才能访问该内容?