Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-19-2008, 06:03 AM   #1
Registered: Jun 2007
Posts: 39

Rep: Reputation: 0
Windows 2003 server on RHEL 5 Xen as FVM

I've been triying to install Windows 2003 Server as Full Virtualized VM using ISO method and installation process failed to continue after Windows starts to launch its second installation stage . There is a workaround for the CD-ROM method installation either for 2000 or 2003 systems and it works .
I assume that Xen guest config file is to be edited . But what is the correct syntax ?
Does anybody know how to fix it ? Thanks
Vlad .
Old 05-20-2008, 01:19 PM   #2
Registered: Aug 2007
Location: Zurich, Switzerland
Distribution: Gentoo
Posts: 978

Rep: Reputation: 118Reputation: 118
Sorry, I might not have understood what you mean.
What happens when
after Windows starts to launch its second installation stage
? The domU hangs? It doesn't reboot? Anything else? And do you mean that this fails when you try to install it from an iso-image-file, but not when ou give the domU direct access to the CD in the CD-drive?
This is the config file of Xen I am using to boot WinXP - I am currently using Xen 3.2.0, and used to work as well with 3.1.0

# Kernel is the HVM-Loader as the guest system is not adapted to Xen.
kernel  = '/usr/lib64/xen/boot/hvmloader'
builder = 'hvm'
memory  = '512'

# Drives
# First the "fake" filesystem where to install Windows simulating a drive in write mode, 
# afterwards the image of the Windows CD rom.
disk    = [ 'file:/mnt/raid5/virtual_os/windows_xp/fs_image/windowsxp.img,ioemu:hda,w','file:/mnt/raid5/virtual_os/windows_xp/fs_image/winxp_install_cd.iso,ioemu:hdc:cdrom,r' ]

# Hostname
name    = 'WinXPpro'

#  Networking
#dhcp = dhcp
#vif = ['type=ioemu, bridge=xenbr0'] #This one used to work
#vif = ['type=ioemu, bridge=peth0'] #Did not work
vif = [ "type=ioemu, bridge=eth0" ]

# Behaviour
# Don't restart the domain once it reboots.
on_reboot = 'destroy'
#on_reboot = 'preserve'
#on_crash = 'preserve'
#on_poweroff = 'preserve'

# Settings to have the mouse have the correct 
# coordinates and make it follow the pointer faster

# Settings for vnc disabled

# Settings for vnc enabled
vncpasswd = "xxxxxxxxx"

# Others
#pci = [ '00:1b.0' ]
#pci = [ '01:0e.0' ]
Old 05-21-2008, 01:41 AM   #3
Registered: Jun 2007
Posts: 39

Original Poster
Rep: Reputation: 0
Thanks Pearlseattle ,
Sorry for possible misunderstanding . I meant for the second stage of the Windows installation when the system makes reboot during
the process and by default guest configuration file does not take into consideration cd-rom spec. RedHat has released an explanation on how to fix the problem when CD-ROM media is still needed for the installation ;

They suggested to put next line in the guest config file :

disk = [ 'file:/opt/win2003,hda,w', 'phy:/dev/dvd,hdc:cdrom,r']

But they did not mentioned ISO image installation method case .
You are right - your WinXP config file will solve the problem . In my case I fixed the issue editing Windows2003 guest
as follow :
disk = [ 'file:/opt/win2003,hda,w', 'file:/pathto/image.iso,hda:cdrom,r']

The trick is that although Windows uses hda device we need anyway to specify cd-rom also as hda device - this is the
way how the system recognized it in /proc :

cat /proc/sys/dev/cdrom/info
CD-ROM information, Id: cdrom.c 3.20 2003/12/17

drive name: hda

Thanks .
Old 05-21-2008, 04:10 AM   #4
Registered: Aug 2007
Location: Zurich, Switzerland
Distribution: Gentoo
Posts: 978

Rep: Reputation: 118Reputation: 118
Cool! You're welcome!


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
Xen, Ubuntu, and Windows 2003 Server Echo Kilo Linux - Server 5 11-13-2007 05:29 PM
Windows 2003 in Xen w/bonus XGL wavell2003 SUSE / openSUSE 5 04-10-2007 09:56 AM
Switching from windows 2003 to RHEL 4 nx5000 Red Hat 6 12-15-2006 06:37 AM
How to run RHEL 4 as guest in Xen(SLES 10 XEN) darshanbv Linux - Software 1 06-26-2006 11:21 AM
RHEL 3 WS & Windows 2003 Svr Problems sfagundes Linux - Networking 1 07-07-2004 01:03 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:00 AM.

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