Mounting a Linode image
I have a Linode img that I downloaded a while back. I'm trying to mount it on a new Linode but keep running into the same error:
root@localhost:~# mount -t ext4 /dev/sdc linode
[62844.207599] EXT4-fs (sdc): VFS: Can't find ext4 filesystem
mount: wrong fs type, bad option, bad superblock on /dev/sdc,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so.
Can anyone help me get into this img file? I'm wondering if it's corrupt now.
2 Replies
What does "file -s /dev/sdc" say? It may be worth double-checking that the filesystem on that device is indeed ext4, and not ext3 or something else.
You may also want to make sure that your image file does not contain partition table, in this case you will need to take that into account. As a partitioned disk image will not be able mount directly, see this article for how to mount the image in this case: