kvm-pxe boot ROMs installed in wrong dir (missing symlinks)

Bug #472485 reported by Markus Wigge
26
This bug affects 4 people
Affects Status Importance Assigned to Milestone
etherboot (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: kvm-pxe

The pxe rom-files shipped in kvm-pxe are located in /usr/share/kvm where they are not found by libvirt resulting in the following error:

~$ virsh start pxetest
Connecting to uri: qemu:///system
Fehler: Domain pxetest konnte nicht gestartet werden
Fehler: internal error unable to start guest: char device redirected to /dev/pts/2
Could not load option rom 'pxe-e1000.bin'

A solution to this are symlinks to /usr/share/qemu like this:
# ll /usr/share/qemu
insgesamt 212
-rw-r--r-- 1 root root 131072 2009-10-19 15:19 bios.bin
-rwxr-xr-x 1 root root 1536 2009-10-19 15:19 extboot.bin
drwxr-xr-x 2 root root 4096 2009-10-30 11:21 keymaps
lrwxrwxrwx 1 root root 20 2009-11-03 10:45 pxe-e1000.bin -> ../kvm/pxe-e1000.bin
lrwxrwxrwx 1 root root 23 2009-11-03 10:55 pxe-ne2k_pci.bin -> ../kvm/pxe-ne2k_pci.bin
lrwxrwxrwx 1 root root 20 2009-11-03 10:55 pxe-pcnet.bin -> ../kvm/pxe-pcnet.bin
lrwxrwxrwx 1 root root 22 2009-11-03 10:55 pxe-rtl8139.bin -> ../kvm/pxe-rtl8139.bin
lrwxrwxrwx 1 root root 21 2009-11-03 10:55 pxe-virtio.bin -> ../kvm/pxe-virtio.bin
-rw-r--r-- 1 root root 39936 2009-10-19 15:19 vgabios.bin
-rw-r--r-- 1 root root 35840 2009-10-19 15:19 vgabios-cirrus.bin

afterwards the virtual machine can be started without an error.

Revision history for this message
Jimmy Hedman (jimmy-hedman) wrote :

Creating the links solved it for me to.

Paul Sladen (sladen)
summary: - kvm-pxe boot roms can not be found
+ kvm-pxe boot ROMs installed in wrong dir (missing symlinks)
Revision history for this message
Paul Sladen (sladen) wrote :

workaround:

  cd /usr/share/qemu && ln -s ../kvm/pxe*.bin

Changed in etherboot (Ubuntu):
status: New → Confirmed
importance: Undecided → Medium
milestone: none → ubuntu-10.04
Robert Sander (gurubert)
Changed in etherboot (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.