C
C
csergey2015-07-31 11:21:05
Backup
csergey, 2015-07-31 11:21:05

How to fix qcow2 disk?

Good afternoon. Hypervisor PROXMOX. There was a virtual machine with Windows Server 2003. After rebooting, windows does not boot, writes "boot failed not a bootable disk" Disk format qcow2. Tell me how to pull out the info or fix it?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
E
Extor, 2015-07-31
@Extor

If you need to mount a guest disk in qcow2 format, you can do it with qemu-nbd:

# qemu-nbd -c /dev/nbd0 /var/lib/vz/images/108/vm-108-disk-1.qcow2
# mount /dev/nbd0p1 /mnt/dest
# ls -la /mnt/dest

Unmount:
# umount /mnt/dest
# qemu-nbd -d /dev/ndb0

C
csergey, 2015-07-31
@csergey

mount /dev/nbd0p1 /mnt/dest - I only have nbd0 and that's it

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question