I received a hard disk image file from a friend. I decompressed it with xz.
Afterwards, I ran fdisk -l the-decompressed-hard-disk-image-file. Output:
Disk the-decompressed-hard-disk-image-file: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x04b1efc7
Device Boot Start End Sectors Size Id Type
the-decompressed-hard-disk-image-file1 2048 131071 129024 63M fd Linux raid autodetect
How can I now recover the existing data? Can I create a software RAID device with mdadm using the the-decompressed-hard-disk-image-file without losing its data and then mount it?
I attempted to simply mount it: mount the-decompressed-hard-disk-image-file /mnt. Output:
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.
I tried mdadm --assemble /dev/md0 the-decompressed-hard-disk-image-file. Output:
mdadm: the-decompressed-hard-disk-image-file is not a block device.
mdadm: the-decompressed-hard-disk-image-file has no superblock - assembly aborted
I am on a Linux banshee 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt20-1+deb8u3 (2016-01-17) x86_64 GNU/Linux. df -Th returns:
Filesystem Type Size Used Avail Use% Mounted on
/dev/sda1 ext4 2.0G 833M 1.1G 45% /
udev devtmpfs 10M 0 10M 0% /dev
tmpfs tmpfs 25M 232K 25M 1% /run
tmpfs tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs tmpfs 49M 0 49M 0% /run/shm
Any information/ help will be greatly appreciated!