Partition recovery help
I have dual os win10 64bit and ubuntu 18.04 64bit laptop. But ubuntu installed partition is corrupted and hidden from the file manager. It won't appear on gurb menu. So I created a disk image using ubuntu live disk utility and copy to another partition.
Disk Image of sda6 (2018-08-11).img Please tell me how can I extract this .img file to another ntfs partition. It's called sda3. Thank you :) |
If memory serves me right....
Code:
sudo mount -o loop 2018-08-11.img /mnt |
Quote:
Code:
mount: /mnt: wrong fs type, bad option, bad super block on /dev/loop1, missing codepage or helper program, or other error. |
When you installed Ubuntu did you select LVM or encryption?
Did you image the correct partition? Post the output of the command lsblk What is the output of the command. sudo file -s 2018-08-11.img (Does the name actual contain parentheses?) |
Quote:
Code:
ubuntu@ubuntu:~$ lsblk Code:
ubuntu@ubuntu:/media/ubuntu/New Volume1$ sudo file -s bkup6.img Code:
ubuntu@ubuntu:~$ sudo fdisk -l |
The image file is not recognized as a filesystem which is not good. While I expect the command to fail you need to specify the filesystem type.
It isn't necessary to explicitly use the loop option. sudo mount -t ext4 bkup6.img /mnt In addition you can try to see if fsck finds any problems. The command will only find errors. fsck -t ext4 -n bkup6.img Others might have more ideas but data recovery might be your only option. |
Quote:
fsck -t ext4 -n bkup6.img Code:
fsck from util-linux 2.30.1 |
I assume that fsck isn't getting anywhere.
Without backups I think your only recourse is trying to recover files. |
are you sure the disk image was created properly?
|
Quote:
Quote:
Please help me to recover sda6 partition if created image is corrupted. |
If the partition is corrupt as you say, and there was an error imaging it, it's hardly likely to be mountable. You can try to make the image with 'dd':
Code:
$ dd if=/dev/sda3 of=image.img bs=4k conv=noerror,sync You can run Code:
$ smartctl -a |
Quote:
Quote:
Quote:
|
no space left on device: you have no enough space to create that image. You need to select another partition.
|
Quote:
|
so you need to find another solution. In your original post you wrote you created a disk image and copied to somewhere else. How could you do that at all?
|
All times are GMT -5. The time now is 06:25 AM. |