Xen in RHEL5: Unable to finish install of virtual domains (cannot access cdrom)
Red HatThis forum is for the discussion of Red Hat Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Xen in RHEL5: Unable to finish install of virtual domains (cannot access cdrom)
Hi guys,
I am trying RHEL5 virt-manager (xen) to install virtual os but I am having problem accessing the cdrom drive when its time to change disk during installation.
I am testing with RHEL4.
When I need to insert the 2nd disc, I had to:
Code:
xm block-detach <v_id> <block_id> -f
Then after changing disc, I had to:
Code:
xm block-attach phy:/dev/cdrom hdb r
Note that when starting with 1st disc during installation, it is recognise as hdc. But it won't work if I use back hdc.
Then when the 3rd disc came, I had to point it to hdc.
Code:
xm block-attach phy:/dev/cdrom hdc r
But when it comes to the 4th disc, no matter what I switch to it won't work. Bummer.
Am I doing it right in the first place? I realise I had to 'force' it to detach each time... stuck.
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986
Rep:
Nope, I have no idea and wondered about how to do this myself. Haven't tried it. I gave up with Xen and went with VMware Server instead. VMware Server is a lot easier to use.
ah don't get me wrong, i am sure vmware is a solid product
just a figure of speech. .sucks.. as in.. yah.. i can't solve my problem.
still trying to figure out the part where I need to manually assign the cdrom to different guest domain
i don't have a spare machine for ftp installation, hence that option is out for now.
alot of it is being done in the lab.. for us to get a hands on and better feel so as to prep the knowledge base for upcoming projects
hmm so for those who use Xen, you guys just go with ftp/http/dvd installation?
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986
Rep:
Yes, when I was using Xen, I just used a DVD ISO to install my OS's and created my own ISO files on another virtual cd-rom drive. For example, I was trying to get Windows Vista to work, but I needed the virtual DVD ISO to be attached, but I also needed a network card driver, so I just told Xen I had 2 cd-rom drives and converted the network card driver into an ISO.
Can you change the path of the source of the CD's? Maybe you can create like 10 cd-rom's in Xen and mount an iso to each cd-rom?
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986
Rep:
I think the age of swapping CD's is slowly dying off. I remember they used to have 7-cd changers for the PC! DVD drives are about $20-$40 so they are pretty affordable to upgrade.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.