DD image of whole disk won't mount
A Windows laptop has it's "FAT" partition table screwed up. So I dd'd it as an image to an external drive. Now, before I mess arround with restoring the laptop's partition table, I want to make sure I can acces my dd backup image. I have tried mounting it but no go.
Code:
sfdisk -l -uS sda.img I'm using a Knoppix liveCD for this. Have tried most stuff on this site http://pronweb.de/node/15 Thanks in advance. UPDATE: apparantly its a FAT partition... |
Did you try this?
Code:
# losetup /dev/loop0 sda.img |
Yep, tried losetup. I tried windows recovery on the laptop, doesn't recognize that windows is on it and fixmbr and all the other tools just don't help. Apparantly it's not the mbr or first boot sector that is the problem. it's more like the filesystem is corrupted or just plain inacsesible.
UPDATE: apparantly its a FAT partition... |
You could run testdisk on the drive image to see if it can find your NTFS/FAT Windows partition, and if it can, it can rebuild the partition table for you. And if I remember correctly, you don't even need to mount the drive image as a loop device, you can simply do:
Code:
sudo testdisk sda.img |
Thanks CJS, I did a testdisk recovery from a Trinity Rescue CD and it fixed so it now boots XP after doing fixmbr on the XP cd. Thank you very much!
|
All times are GMT -5. The time now is 12:31 AM. |