[one-users] V/v Cannot create CDROM device and Boot XP in KVM

GIANG NGUYENVAN mvnli_giang at yahoo.com
Tue Jul 20 02:12:19 PDT 2010


Hello.
I have a problem with my scenario. I want to install a Windows XP virtual 
machine. 


Here is my system
My Front-end: Ubuntu 9.10 with OpenNebula 1.4 installed. IP add is 172.29.70.141 

My Node: Ubuntu 9.10 with KVM hypervisor. IP add is 172.29.70.104

And this is the VM template files:


OS = [ BOOT=cdrom ]

DISK   = [
  source   = "/srv/cloud/win/WindowsXP.img",
  target   = "hda",
  readonly = "no" ]

DISK = [
  type = "cdrom",
  source = "/srv/cloud/win/WindowsXP.iso",
  target = "hdc",
  bus = "ide",
  readonly = "no" ]

FEATURES = [ ACPI = "yes"]

NIC    = [ NETWORK = "Small network 2" ]

GRAPHICS = [type="vnc", address="172.29.70.104", port="5932"]

Note: I created WindowsXP.iso from a real XP disk.
          I created WindowsXP.img from command "qemu-img create -f qcow 
windows.img 8k"

I want to create a cdrom to boot and install Windows Xp from that iso files. But 
when I use VNC viewer to view and installs Wins, I see that error from the 
screen:

"
 ata0 master: QEMU HARDDISK ATA-7 Hard-Disk (2048 MBytes)
 ata0 master: QEMU HARDDISK ATA-7 Hard-Disk (627 MBytes)

 Booting from hard disk...
 Boot failed: not a bootable disk
 FATAL: no bootable device
"

It seems that QEMU cannot recognize any CDROm device, which have a bootable 
Windows ISO in it. 

Does anyone have same problem like me? Please help me solve that problem.
Thank you everyone for reading.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20100720/b29936f9/attachment-0002.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 16073 bytes
Desc: not available
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20100720/b29936f9/attachment-0004.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 1386 bytes
Desc: not available
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20100720/b29936f9/attachment-0005.gif>


More information about the Users mailing list