WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

RE: [Xen-users] can't boot from cdrom

To: "??" <yusunn@xxxxxxxxx>, <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] can't boot from cdrom
From: "Tait Clarridge" <Tait.Clarridge@xxxxxxxxxxxx>
Date: Mon, 28 Jan 2008 10:50:54 -0500
Delivery-date: Mon, 28 Jan 2008 07:53:13 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <298d852f0801280741h67b0fc0bte1ca4be80578de6f@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AchhxGWV7YNFEu2HTW6YLSEzvLxR3gAAHAXw
Thread-topic: [Xen-users] can't boot from cdrom
Hi,

The cdrom= option never really works, your best bet is to change the "disk" 
line to read.

disk = 
['file:/path/to/harddrive.img,ioemu:hda,w','file:/path/to/cdrom.img,ioemu:cdrom:hdb,r']

then change "boot" to read.

boot ='dc'


That is if you have the CD image on the hard drive, this would probably be the 
best way to do it.
If you need to copy it, just do a dd like "dd if=/dev/cdrom 
of=/path/to/cdrom.img" .

Remember that the /path/to stuff is just temporary for the terms of this help, 
change it to where you are keeping your images.. like /media/sda6/usr/xenimgs/ 

Let me know if this helps.

Tait

-----Original Message-----
From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx 
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of ??
Sent: January-28-08 10:42 AM
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] can't boot from cdrom

Hi All,

Following is my winxp hvm config:

kernel = "/usr/lib/xen/boot/hvmloader"
builder = 'hvm'
memory = 192
name = "winxp"
vcpus = 2
disk = [ 'file:/media/sda6/usr/xenimgs/winxp.img,ioemu:hda,w' ]
device_model = '/usr/lib/xen/bin/qemu-dm.debug'
cdrom='/dev/hda'
sdl=1
boot='d'

and following is the boot message:
...
Booting from CD-Rom...
CDROM boot failure code : 0002
Boot from CD-Rom failed: could not read the boot disk
FATAL: No bootable device.

I have checked /dev/hda , it does exist , any idea ?

Thank you very much
yushang

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>