KVM guests unusable after install

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm finding that my KVM images are not bootable after i reboot my host, and i've detailed my problem here....

http://serverfault.com/questions/589806/kvm-machines-unbootable-after-host-reboot

Any thoughts on why?  Here is a repaste of the problem:

****************************************************************************************

Im finding that my KVM guests are unusable after i reboot my host. Specifically, I always get this error:

Booting from hard disk

Boot failed: not a bootable disk

What causes this error? I've tried toggling the VM disk type between qcow2 and raw, because a few articles online mentioned that this can happen if virt doesnt know the type of image to load, but that did not help.

** some more details **

I create My VMs from source using a command somewhat like this:

    base="http://mirror.pnl.gov/fedora/linux/releases/20/Fedora/x86_64/os/"
nohup sudo virt-install --hvm --name $vm_name$i --ram 4000 \
--disk path=/VirtualMachines/$vm_name$i,size=30 \
--location $base -x  "ks=http://xxx.os21.ks$kx"&

My virsh file looks like this:

      1 <domain type='kvm'>
  2   <name>testFriApr11092714EDT2014_1</name>
  3   <uuid>d4c86892-fb15-04ed-f4ab-7e3c76974ffc</uuid>
  4   <memory unit='KiB'>4096000</memory>
  5   <currentMemory unit='KiB'>4096000</currentMemory>
  6   <vcpu placement='static'>1</vcpu>
  7   <os>
  8     <type arch='x86_64' machine='rhel6.4.0'>hvm</type>
  9     <boot dev='hd'/>
 10   </os>
 11   <features>
 12     <acpi/>
 13     <apic/>
 14     <pae/>
 15   </features>
 16   <clock offset='utc'/>
 17   <on_poweroff>destroy</on_poweroff>
 18   <on_reboot>restart</on_reboot>
 19   <on_crash>restart</on_crash>
 20   <devices>
 21     <emulator>/usr/libexec/qemu-kvm</emulator>
 22     <disk type='file' device='disk'>
 23       <driver name='qemu' type='raw' cache='none'/>
 24       <source file='/VirtualMachines/testFriApr11092714EDT2014_1'/>
 25       <target dev='hda' bus='ide'/>
 26       <address type='drive' controller='0' bus='0' target='0' unit='0'/>
 27     </disk>
 28     <controller type='usb' index='0'>
 29       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
 30     </controller>
 31     <controller type='ide' index='0'>
 32       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
 33     </controller>
 34     <interface type='network'>


--
Jay Vyas
http://jayunit100.blogspot.com
_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users

[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux