[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Xen-users] How to add cdrom in linux guest


  • To: "Mohammad Zohny" <mohamad.zohny@xxxxxxxxx>, Xen-users@xxxxxxxxxxxxxxxxxxx
  • 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
  • List-id: Xen user discussion <xen-users.lists.xensource.com>
  • 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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.