Stefan Mitov
2007-Dec-15 14:30 UTC
[Xen-devel] Error while booting Windows from image file
Hi people, i''m using the latest version of Xen 3.2 with a debian -4.0r1. there are no problems by compiling and installing of xen. installing a windows vm from physical cd-rom is also no problem. but when a want to install windows from a image file(winxp.iso), i get the following message : ata0master: QEMU HARDDISK ....... ata0slave: unknown device ata1master: QEMU CD-ROM ATAPI-4 CD-Rom/DVD-Rom ata1slave: unknown device Booting from CD-Rom .... CDROM boot failure code : 0004 Boot from CD-Rom failed: could not read the boot disk FATAL: No bootable devices My config file is : kernel = "/usr/lib/xen/boot/hvmloader" builder=''hvm'' memory = 2048 name = "WinXP" vcpus=2 disk = [ ''file:/var/lib/xen/images/winxpdisk.img, ioemu:hda,w'', ''file:/winimages/winxp.iso,ioemu:hdc:cdrom,r'' ] device_model = ''/usr/'' + arch_libdir + ''/xen/bin/qemu-dm boot="d" vnc=1 what do you think, where can be the error? i tried many combinations and looked the examples in the user manual, but booting from image file doesn''t work. And one more thing. When i installed a virtual machine, how can i change the boot device for the next boot operations of it, so that the installed machine every time boots from the virtual disk, and not from the cd-rom? Kindly Regards Stefan -- Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten Browser-Versionen downloaden: http://www.gmx.net/de/go/browser _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Mark Williamson
2008-Jan-07 01:50 UTC
Re: [Xen-devel] Error while booting Windows from image file
Hi there,> i''m using the latest version of Xen 3.2 with a debian -4.0r1. there are no > problems by compiling and installing of xen. installing a windows vm from > physical cd-rom is also no problem. but when a want to install windows from > a image file(winxp.iso), i get the following message : > > > ata0master: QEMU HARDDISK ....... > ata0slave: unknown device > ata1master: QEMU CD-ROM ATAPI-4 CD-Rom/DVD-Rom > ata1slave: unknown device > > Booting from CD-Rom .... > CDROM boot failure code : 0004 > Boot from CD-Rom failed: could not read the boot disk > FATAL: No bootable devicesWeird, I''m not sure I''ve seen this one before.> My config file is : > kernel = "/usr/lib/xen/boot/hvmloader" > builder=''hvm'' > memory = 2048 > name = "WinXP" > vcpus=2 > disk = [ ''file:/var/lib/xen/images/winxpdisk.img, ioemu:hda,w'', > ''file:/winimages/winxp.iso,ioemu:hdc:cdrom,r'' ] device_model = ''/usr/'' + > arch_libdir + ''/xen/bin/qemu-dmAre you sure this file exists? Are you sure it''s a valid ISO? Can you mount it in dom0 using something like: mkdir /mnt/temp mount -o loop /winimages/winxp.iso /mnt/temp Does that work? You can get rid of the "ioemu:" statements for disks in your config file; they are not necessary.> boot="d" > vnc=1 > > > what do you think, where can be the error? i tried many combinations and > looked the examples in the user manual, but booting from image file doesn''t > work. And one more thing. When i installed a virtual machine, how can i > change the boot device for the next boot operations of it, so that the > installed machine every time boots from the virtual disk, and not from the > cd-rom?To boot from the hard drive by default, set boot="c" in your config file. Cheers, Mark -- Dave: Just a question. What use is a unicyle with no seat? And no pedals! Mark: To answer a question with a question: What use is a skateboard? Dave: Skateboards have wheels. Mark: My wheel has a wheel! _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2008-Jan-07 08:03 UTC
Re: [Xen-devel] Error while booting Windows from image file
On 7/1/08 01:50, "Mark Williamson" <mark.williamson@cl.cam.ac.uk> wrote:>> Booting from CD-Rom .... >> CDROM boot failure code : 0004 >> Boot from CD-Rom failed: could not read the boot disk >> FATAL: No bootable devices > > Weird, I''m not sure I''ve seen this one before.The BIOS thinks the CDROM image is not valid El Torito. Probably either not bootable CDROM image, or not a CDROM image at all! -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel