All of lore.kernel.org
 help / color / mirror / Atom feed
* Error while booting Windows from image file
       [not found] <E1J3Vgm-0000k2-Ea@host-192-168-0-1-bcn-london>
@ 2007-12-15 14:30 ` Stefan Mitov
  2008-01-07  1:50   ` Mark Williamson
  0 siblings, 1 reply; 3+ messages in thread
From: Stefan Mitov @ 2007-12-15 14:30 UTC (permalink / raw)
  To: xen-devel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Error while booting Windows from image file
  2007-12-15 14:30 ` Error while booting Windows from image file Stefan Mitov
@ 2008-01-07  1:50   ` Mark Williamson
  2008-01-07  8:03     ` Keir Fraser
  0 siblings, 1 reply; 3+ messages in thread
From: Mark Williamson @ 2008-01-07  1:50 UTC (permalink / raw)
  To: xen-devel; +Cc: Stefan Mitov

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 devices

Weird, 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-dm

Are 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!

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Error while booting Windows from image file
  2008-01-07  1:50   ` Mark Williamson
@ 2008-01-07  8:03     ` Keir Fraser
  0 siblings, 0 replies; 3+ messages in thread
From: Keir Fraser @ 2008-01-07  8:03 UTC (permalink / raw)
  To: Mark Williamson, xen-devel; +Cc: Stefan Mitov

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-01-07  8:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <E1J3Vgm-0000k2-Ea@host-192-168-0-1-bcn-london>
2007-12-15 14:30 ` Error while booting Windows from image file Stefan Mitov
2008-01-07  1:50   ` Mark Williamson
2008-01-07  8:03     ` Keir Fraser

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.