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] How to add cdrom in linux guest

To: "Mohammad Zohny" <mohamad.zohny@xxxxxxxxx>, Xen-users@xxxxxxxxxxxxxxxxxxx
Subject: RE: [Xen-users] How to add cdrom in linux guest
From: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
Date: Wed, 13 Jun 2007 13:39:36 +0200
Delivery-date: Wed, 13 Jun 2007 04:40:17 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <f38cf2b60706130430x5ffc1322icd59e545ea43a6b9@xxxxxxxxxxxxxx>
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acetrkjn5t0/NHRjQ+SlPBrrkxKvmwAAArYA
Thread-topic: [Xen-users] How to add cdrom in linux guest
 

> -----Original Message-----
> From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx 
> [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of 
> Mohammad Zohny
> Sent: 13 June 2007 12:30
> To: Xen-users@xxxxxxxxxxxxxxxxxxx
> Subject: [Xen-users] How to add cdrom in linux guest
> 
> Hi all,
> I have installed SLES10 as a guest on a para-virtualized XEN 3.0.4.
> the host system is SLES10.
> Now I want to add a cdrom to the guest machine, when I do 
> that by using "xm block-attach"
> it adds a new hard disk to the guest not a cdrom. 
There doesn't seem to be a way to tell the guest that it's a CDROM -
however, I'm not entirely sure that's necessary either - have you tried
to mount the "disk" as a CDROM (something like "mount /dev/xvdb
/mnt/cdrom -t iso9660 -r"). I think that should work - there's nothing
really magical about a CDROM as long as you use it for data reads. If
you want to use a CD recording facility, your only option is to have a
separate disk controller and give that as a PCI device to the DomU. 

> Also I need to make the guest boot from cd.

You definitely can NOT boot from CDROM in a PV guest - only HVM guests
can boot from CDROM. 

--
Mats
> 
> Thanks
> 
> 



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

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