Mounting Debian .img images under Ubuntu


2 posts
by Gramler » Thu Jun 28, 2012 1:14 pm
Hi

Why can't I mount debian img?
SHA of img checks out...
Pls help:

$ fdisk -l debian6-17-02-2012.img
<snip>
Device Boot Start End Blocks Id System
debian6-17-02-2012.img1 2048 155647 76800 c W95 FAT32 (LBA)
debian6-17-02-2012.img2 157696 3414015 1628160 83 Linux
debian6-17-02-2012.img3 3416064 3807231 195584 82 Linux swap / Solaris

$ sudo mount debian6-17-02-2012.img /media/test -o offset=2048

NTFS signature is missing.
Failed to mount '/dev/loop0': Invalid argument
The device '/dev/loop0' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
Posts: 5
Joined: Thu Jun 28, 2012 1:06 pm
by Gramler » Thu Jun 28, 2012 3:35 pm
Sorry... <out of coffee error)

sudo mount debian6-19-04-2012.img /media/test -o offset=$((512*2048))
Posts: 5
Joined: Thu Jun 28, 2012 1:06 pm