Unable to boot from CD when the VM has 2 IDE cdrom attached
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libvirt (Ubuntu) |
Confirmed
|
Low
|
Unassigned |
Bug Description
Steps to reproduce
1) Create a VM
2) Attach 2 IDE CDROM devices
3) Connect a bootable iso to the first CDROM
4) Make sure the VM will attempt to boot from CD first
$ lsb_release -rd
Description: Ubuntu 11.04
Release: 11.04
$ apt-cache policy libvirt-bin
libvirt-bin:
Installed: 0.8.8-1ubuntu6
Candidate: 0.8.8-1ubuntu6
Version table:
*** 0.8.8-1ubuntu6 0
500 http://
100 /var/lib/
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: libvirt-bin 0.8.8-1ubuntu6
ProcVersionSign
Uname: Linux 2.6.38-9-generic x86_64
Architecture: amd64
Date: Tue May 3 11:25:41 2011
ProcEnviron:
LANGUAGE=en_CA:en
LANG=en_US.UTF-8
LC_MESSAGES=
SHELL=/bin/bash
SourcePackage: libvirt
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in libvirt (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → Low |
Thanks for taking the time to report this bug and helping to make Ubuntu better.
Note that as a workaround, you can connect the iso to the second cdrom instead of the first. The qemu command being executed (when cdrom 1 is connected and cdrom 2 is not, and 'boot=cdrom' is specified) is:
/usr/bin/kvm -S -M pc-0.14 -enable-kvm -m 512 -smp 1,sockets= 1,cores= 1,threads= 1 -name test -uuid a555c9eb- 7b81-0a0e- 53ef-1f8b16e33f 8d -nodefconfig -nodefaults -chardev socket, id=charmonitor, path=/var/ lib/libvirt/ qemu/test. monitor, server, nowait -mon chardev= charmonitor, id=monitor, mode=readline -rtc base=utc -boot order=d,menu=off -drive file=/var/ lib/libvirt/ images/ test.img, if=none, id=drive- ide0-0- 0,format= raw -device ide-drive, bus=ide. 0,unit= 0,drive= drive-ide0- 0-0,id= ide0-0- 0 -drive file=/home/ serge/natty- desktop- amd64.iso, if=none, media=cdrom, id=drive- ide0-1- 0,readonly= on,format= raw -device ide-drive, bus=ide. 1,unit= 0,drive= drive-ide0- 1-0,id= ide0-1- 0 -drive if=none, media=cdrom, id=drive- ide0-0- 1,readonly= on,format= raw -device ide-drive, bus=ide. 0,unit= 1,drive= drive-ide0- 0-1,id= ide0-0- 1 -netdev tap,fd= 18,id=hostnet0 -device rtl8139, netdev= hostnet0, id=net0, mac=52: 54:00:f0: 9e:74,bus= pci.0,addr= 0x3 -chardev pty,id=charserial0 -device isa-serial, chardev= charserial0, id=serial0 -usb -vnc 127.0.0.1:0 -vga cirrus -device AC97,id= sound0, bus=pci. 0,addr= 0x4 -device virtio- balloon- pci,id= balloon0, bus=pci. 0,addr= 0x5
I've tried enabling the boot menu, but 'F12' was not working for me.