Trouble mounting a filesystem image created using 'dd'
1 Attachment(s)
Hi all,
I recently took a backup of my old system, using a dd command of the form: dd if=/dev/sda of=lv_home.img Stupidly, I can't recall the exact command, or the exact configuration of my old setup. Unfortunately, I now find myself unable to mount the resulting image file, in order to recover its contents. I have googled multiple solutions, but none of them work for me - e.g. losetup, parted, kpartx and others. Some potentially useful details appear below, and I have attached the results of running parted on the image. ------------------------------------- [kk@mserver oldsys]$ ls -alrth lv_home.img -rw-rw-r--. 1 kk kk 760G Oct 21 20:39 lv_home.img [kk@mserver oldsys]$ file lv_home.img lv_home.img: Linux rev 1.0 ext4 filesystem data, UUID=79653d22-003f-4c83-aa31-d14b48fa9f20, volume name "_Fedora-16-i686-/" (errors) (extents) (large files) (huge files) -------------------------------------- The parted output includes some errors, but I don't know whether these are relevant or not. Any help gratefully received :-) K |
The options may be of some issue but usually dd is a device image. dd may have failed in the original image by use of some commands.
You can mount it as a loop file (most people do it that way) but I tend to just use qemu. From terminal line would be qemu lv_home.img in the directory that lv_image.img resides. See how far it boots up. |
Quote:
|
All times are GMT -5. The time now is 11:35 PM. |