LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 05-19-2008, 07:03 AM   #1
bobbera
Member
 
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, 02:19 PM   #2
Pearlseattle
Member
 
Registered: Aug 2007
Location: Zurich, Switzerland
Distribution: Gentoo
Posts: 934

Rep: Reputation: 104Reputation: 104
Sorry, I might not have understood what you mean.
What happens when
Quote:
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

Code:
# Kernel is the HVM-Loader as the guest system is not adapted to Xen.
kernel  = '/usr/lib64/xen/boot/hvmloader'
builder = 'hvm'
memory  = '512'
#acpi=1 
device_model='/usr/lib64/xen/bin/qemu-dm'

# 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
boot='c'
# Don't restart the domain once it reboots.
on_reboot = 'destroy'
#on_reboot = 'preserve'
#on_crash = 'preserve'
#on_poweroff = 'preserve'
#vncviewer=0
vcpus=1
#ne2000=1

# Settings to have the mouse have the correct 
# coordinates and make it follow the pointer faster
usb=1
usbdevice='tablet'

# Settings for vnc disabled
#sdl=1

# Settings for vnc enabled
vnclisten="0.0.0.0"
vnc=1
vncpasswd = "xxxxxxxxx"

# Others
#pae=0
keymap='de-ch'
audio=1
soundhw='all'
#pci = [ '00:1b.0' ]
#pci = [ '01:0e.0' ]
 
Old 05-21-2008, 02:41 AM   #3
bobbera
Member
 
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, 05:10 AM   #4
Pearlseattle
Member
 
Registered: Aug 2007
Location: Zurich, Switzerland
Distribution: Gentoo
Posts: 934

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


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


All times are GMT -5. The time now is 02:39 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration