$ sudo mount -o loop debian-3.0r0.img /mnt/img/
mount: you must specify the filesystem type
$ sudo mount -o loop -t ext2 debian-3.0r0.img /mnt/img/
mount: wrong fs type, bad option, bad superblock on /dev/loop1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
$ sudo mount -o loop -t ext3 debian-3.0r0.img /mnt/img/
mount: wrong fs type, bad option, bad superblock on /dev/loop1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
$ sudo fdisk -l debian-3.0r0.img
You must set cylinders.
You can do this from the extra functions menu.
Disk debian-3.0r0.img: 0 MB, 0 bytes
16 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Disk identifier: 0x00008000
Device Boot Start End Blocks Id System
debian-3.0r0.img1 1 261 131512+ 82 Linux swap / Solaris
debian-3.0r0.img2 262 1024 384552 83 Linux
261*16*63*512 = 134701056
$ sudo losetup -o 134701056 /dev/loop1 debian-3.0r0.img
$ sudo mount /dev/loop1 /mnt/img/
$ ls /mnt/img/
bin cdrom dev floppy initrd lost+found proc sbin usr vmlinuz
boot cdrom0 etc home lib mnt root tmp var vmlinuz.old
欢迎光临 曲径通幽论坛 (http://www.groad.net/bbs/) | Powered by Discuz! X3.2 |