Linux - NewbieThis 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
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.
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 .
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' ]
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 :
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.