In Linux, I created an image of a flash disk as follows:
sudo dd if=/dev/sdb of=test.img
which I now want to mount directly. I tried the following command
sudo mount -t ext3 -o loop test.img /mnt/flash
which resulted in the following error:
mount: wrong fs type, bad option, bad superblock on /dev/loop0,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
dmesg
shows the entry
EXT3-fs (loop0): error: can't find ext3 filesystem on dev loop0.
which I am not able to interpret. I get the same message when I omit the option -o loop
.
Any ideas how I am able to mount the file image to /mnt/flash
? I am not talking about mounting the actual flash disk, I want to mount the file
.
fdisk test.img
. If it works pressp
. You'll see the partition table from/dev/sdb
, and this indicates what you really wanted to copy was/dev/sdb1
. – goldilocks Nov 06 '13 at 13:01