I have Xen 3.0.3 running on Mandriva 2007. The hardware supports full Virturalization and is enabled. I have attempted to install Win XP as guest domain on partitions on the main sda and also on a hdb drive installed in the system. In both cases the installer loads from an ISO but stops when it fails to find a drive to install on. I have success when I create an image file and allow the install to go there. The following is the hvm file: #--------------------------------------------------------- import os, re arch = os.uname()[4] if re.search(''64'', arch): arch_libdir = ''lib64'' else: arch_libdir = ''lib'' kernel = "/usr/lib/xen/boot/hvmloader" builder=''hvm'' memory = 256 name = "XP-01" disk = [ ''file:/etc/xen/images/Winxp.img,ioemu:hda,w'' ] #comment out after install #cdrom="/tmp/xpsp2.iso" device_model = ''/usr/'' + arch_libdir + ''/xen/bin/qemu-dm'' serial="pty" #--------------------------------------------------------- I wanted this to work: disk = [ ''phy:hdb1,hda,w'' ] or disk = [ ''phy:sda9,hda,w'' ] but this is when the XP installer finds no disk to format. I am sure I am missing some basic concept here so sorry in advance for my ignorance. Regards, peter _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Archie Goodwin
2007-Mar-01 11:04 UTC
RE: [Xen-users] Win XP install on physical drive partition
Hello, I''m not an expert, but I think, You must declare all disks within one line, like: disk = [ ''file:/xen/vserver/images/vm_w2k3srv.img,hda,w'', ''file:/media/sda1/Install/System/W03ENX64EN2.iso,hdc:cdrom,r'' ] - this worked well for me - booted from the CD, which has been installed to the disk "C:". Maybe You should use disk = [ ''phy:/dev/sda?,hda,w'', ''file:/etc/xen/images/Winxp.img,hdc:cdrom,w'' ] (as ? add the number of the partition you want to use) and maybe add the following line to the configuration # boot on floppy (a), hard disk (c) or CD-ROM (d) boot="d" Good luck, Archie. -----Original Message----- From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of peter Sent: Monday, February 26, 2007 1:08 AM To: xen-users@lists.xensource.com Subject: [Xen-users] Win XP install on physical drive partition I have Xen 3.0.3 running on Mandriva 2007. The hardware supports full Virturalization and is enabled. I have attempted to install Win XP as guest domain on partitions on the main sda and also on a hdb drive installed in the system. In both cases the installer loads from an ISO but stops when it fails to find a drive to install on. I have success when I create an image file and allow the install to go there. The following is the hvm file: #--------------------------------------------------------- import os, re arch = os.uname()[4] if re.search(''64'', arch): arch_libdir = ''lib64'' else: arch_libdir = ''lib'' kernel = "/usr/lib/xen/boot/hvmloader" builder=''hvm'' memory = 256 name = "XP-01" disk = [ ''file:/etc/xen/images/Winxp.img,ioemu:hda,w'' ] #comment out after install #cdrom="/tmp/xpsp2.iso" device_model = ''/usr/'' + arch_libdir + ''/xen/bin/qemu-dm'' serial="pty" #--------------------------------------------------------- I wanted this to work: disk = [ ''phy:hdb1,hda,w'' ] or disk = [ ''phy:sda9,hda,w'' ] but this is when the XP installer finds no disk to format. I am sure I am missing some basic concept here so sorry in advance for my ignorance. Regards, peter _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users