My Linode instance is corrupted after I did an inline upgrade of Ubuntu from 14 LTS to 16 LTS. After trying relentlessly for over one week, I decided to extract the data from one of my backups and create a new Linode instance.
I followed this article: https://www.linode.com/docs/products/compute/compute-instances/guides/copy-a-disk-image-over-ssh/#copy-and-download-the-disk and successfully created a Linode image of the /dev/sda/
disk but now I am unable to open it locally.
As per the article, the command mount -o loop linode.img linode_dsk
should help me mounting the disk in the specified directory i.e. linode_dsk but I am getting the following error:
mount: You must specify a filesystem type with -t.
When I do specify the filetype: sudo mount -t ext4 -o loop linode.img linode_dsk
, I get the following error:
mount: exec /Library/Filesystems/ext4.fs/Contents/Resources/mount_ext4 for /Users/<username>/Documents/Linode/linode1: No such file or directory
mount: /Users/<username>/Documents/Linode/linode_dsk failed with 72
Not sure what's going on here but I would really appreciate any pointers in the right direction.
mount
command does not have aloop
option. Instead, you probably would need to use thehdiutil
command. See Does Mac have something similar to a Linux loop device (alternative to losetup)?.