Quantcast
Channel: Proxmox Support Forum
Viewing all articles
Browse latest Browse all 170579

HELP - boot failed: not a bootable disk after failed backup

$
0
0
Ok, this is a .qcow2 Windows 2012 VM with VirtIO drivers. I have a very important database running in it, if I could only recover that DB it would be great.

The VM was running fine but then I decided to transfer it to another node. This other node is not Proxmox based so I couldn't use the new Proxmox backup tool (which generates .vma files) so I used this command to make a backup:

dd if=/var/lib/vz/images/402/vm-402-disk-1.raw | gzip | dd of=/var/lib/vz/images/402/vm-402-disk-1.gz bs=4096

I forgot to shutdown the VM before I executed the command above, so I stopped the dd process. Then I decided to forget about DD and just use the Proxmox's backup tool instead because I found a tutorial teaching how to convert the .vma backups to .tgz. Since we can set the backup mode to "Stop", I didn't shut the VM down, and asked the backup tool to do it for me.

The backup tool couldn't shutdown the VM by itself (I can't post the log because it is not in my "Tasks" tab anymore :(), so the backup failed.

Then I opened the console of that VM and the VM was trying to boot but showing this message: boot failed: not a bootable disk after failed backup
I restarted the VM several times, using write back, write back (unsafe), write through, no cache, and nothing works.

I tried to mount the .qcow2 image but I failed. I converted the .qcow2 to .raw, downloaded ntfs-3g so debian could recognize the ntfs partitions and tried to mount the .raw image and it failed too. I tried running both Windows 2012 and Windows 7 isos and tried to repair the Windows installation but both failed too.

Is there any way I could at least access the files inside the image??? I had a firebird database running in it, I just need to recover a 3gb .FDB file so I can restore it in a new VM.

Help

Thanks.

Edit: I loaded the Windows 7 ISO and it shows that my drive has 120gb of free space in 120gb of unallocated space.. does it mean that I lost everything ???????? :/

Linux disk utility shows this: http://d.pr/i/pZuF

Is there anything I can do to try to recover the files??

Viewing all articles
Browse latest Browse all 170579

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>