[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] RE: [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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |