LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 11-20-2007, 09:20 PM   #1
Swakoo
Member
 
Registered: Apr 2005
Distribution: Red Hat / Fedora / CentOS
Posts: 508

Rep: Reputation: 30
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.

I took reference from here, though it is SuSE
http://en.opensuse.org/Installing_a_...achine_from_CD

Thanks!
 
Old 11-22-2007, 12:31 AM   #2
Swakoo
Member
 
Registered: Apr 2005
Distribution: Red Hat / Fedora / CentOS
Posts: 508

Original Poster
Rep: Reputation: 30
anyone experienced with it?
 
Old 11-22-2007, 12:33 AM   #3
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
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: Reputation: 45
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.
 
Old 11-26-2007, 03:36 AM   #4
Swakoo
Member
 
Registered: Apr 2005
Distribution: Red Hat / Fedora / CentOS
Posts: 508

Original Poster
Rep: Reputation: 30
oh man that sucks big time... hahaha
 
Old 11-29-2007, 04:57 PM   #5
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
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: Reputation: 45
Are you saying that VMware Server sucks, or that your situation of not being able to "hot swap" virtual CD's in Xen sucks? Did you get this resolved?
 
Old 12-03-2007, 11:04 AM   #6
emmerre
LQ Newbie
 
Registered: Dec 2007
Distribution: gentoo
Posts: 5

Rep: Reputation: 0
i never install from cd, just copy the content of all cd's into a ftp (better if anonymous). The ftp or http option is also in the virt-install
 
Old 12-06-2007, 09:06 PM   #7
Swakoo
Member
 
Registered: Apr 2005
Distribution: Red Hat / Fedora / CentOS
Posts: 508

Original Poster
Rep: Reputation: 30
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?
 
Old 12-07-2007, 01:01 AM   #8
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
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: Reputation: 45
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?
 
Old 12-10-2007, 02:25 AM   #9
emmerre
LQ Newbie
 
Registered: Dec 2007
Distribution: gentoo
Posts: 5

Rep: Reputation: 0
Quote:
Originally Posted by Swakoo View Post
i don't have a spare machine for ftp installation, hence that option is out for now.
isn't dom0 a machine?
 
Old 12-10-2007, 08:37 PM   #10
Swakoo
Member
 
Registered: Apr 2005
Distribution: Red Hat / Fedora / CentOS
Posts: 508

Original Poster
Rep: Reputation: 30
hah! silly me... i totally didn't think of that *slap in the face*

hmm so it seems like many of you using xen either use ftp/network install or dvd.. no one use cdrom huh
 
Old 12-10-2007, 09:50 PM   #11
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
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: Reputation: 45
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.
 
Old 01-22-2008, 09:48 PM   #12
Swakoo
Member
 
Registered: Apr 2005
Distribution: Red Hat / Fedora / CentOS
Posts: 508

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by Swakoo View Post
hah! silly me... i totally didn't think of that *slap in the face*

hmm so it seems like many of you using xen either use ftp/network install or dvd.. no one use cdrom huh
hi,

just revisiting the issue... am wondering if anyone does virtualization setup using CDs?

I am just thinking.. Xen should be implemented with that possible considerations?

My new servers are all having DVD drives now after this incident, but the previous servers are all still on CD drives, so am wondering about that...

thanks!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't get Xen to work in RHEL5 trekr200 Red Hat 3 05-13-2009 11:23 AM
Unable to install ubuntu in a RHEL5 xen environment Swakoo Ubuntu 1 11-21-2007 04:28 PM
Unable to install Virtual Machine In Rhel5 with Virt-manager with CD-Rom Source prasun_mitra Linux - Enterprise 0 08-30-2007 03:03 AM
RHEL5 - Xen - Guest Install Problem TAB4336 Linux - Enterprise 4 05-15-2007 02:31 AM
question about install virtual system in Xen of RHEL5 sailershen Red Hat 0 04-26-2007 04:56 AM


All times are GMT -5. The time now is 10:38 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration