Recently I have upgraded my KVM server from Centos 5.5 to 5.6 I can no longer boot any of virtual machines. While trying to boot VM its gives error...
Booting from Hard Disk...
Boot failed: not a bootable disk
FATAL: No bootable device
My all VMs are qcow2 format, quick Googling reports its issue with the 'type=raw' in .xml file for the VM.
Fixed:
Change the type='qcow2' in xml file, so that its read something like this
And restart the libvirtd service.
This fixed all the KVM VMs for me.
Booting from Hard Disk...
Boot failed: not a bootable disk
FATAL: No bootable device
My all VMs are qcow2 format, quick Googling reports its issue with the 'type=raw' in .xml file for the VM.
<driver name='qemu' type='raw'/>
Fixed:
Change the type='qcow2' in xml file, so that its read something like this
<driver name='qemu' type='qcow2'/>
And restart the libvirtd service.
This fixed all the KVM VMs for me.
hi .. could you give me what is your kernel version using ?
ReplyDeletethanks
I do not remember what was the kernel version at that time as I keep my server updated.
ReplyDeleteCurrent kernel version: 2.6.18-238.12.1.el5 #1 SMP