Hello, I want to give a short summary, how I finally got a W*n XP running under Debian/Xen yesterday. * Installation of a xen hypervisor in a Debian GNU/Linux (sid) environment and booted by this grub menu-entry: ... title Xen 3.0.3-1-i386 / Debian GNU/Linux, kernel 2.6.18-2-xen-686 /dev/sda10 root (hd0,9) kernel /boot/xen-3.0.3-1-i386.gz module /boot/vmlinuz-2.6.18-2-xen-686 root=/dev/sda10 ro console=tty0 module /boot/initrd.img-2.6.18-2-xen-686 ... * Creation of an empty loop-device, which later contains the OS-guest: #cd /priv/xen/domains/xp1 #dd if=/dev/zero of=windisk.img bs=1k seek=4096k count=1 #dd if=/dev/zero of=windisk.img bs=1k count=1 conv=notrunc * It seems to be impossible (really?) to install the guest via CDROM, so I first copied the complete Install-CD (its ISO-image) on my harddisk. * Creation of an config file for the new virtual machine: xp1-cd.cfg: kernel = "/usr/lib/xen-3.0.3-1/boot/hvmloader" builder=''hvm'' memory = 384 name = "xpdom" vif = [ ''type=ioemu, bridge=xenbr1'' ] disk = [ ''file:/priv/xen/domains/xp1/windisk.img,ioemu:hda,w'', ''file:/priv/burn/WIN_DE.iso,hdc:cdrom,r'' ] on_poweroff = ''destroy'' on_reboot = ''destroy'' on_crash = ''destroy'' device_model = ''/usr/lib/xen-3.0.3-1/bin/qemu-dm'' boot=''d'' sdl=0 vnc=1 vncviewer=1 stdvga=0 serial=''pty'' ne2000=0 The most important entries are the virtual cdrom-drive hdc and boot =''d'' to boot the guest from it. Because sdl doesn''t work on my machine, I used vnc=1. * Start the installation with "xm create xp1-cd.cfg" and immediately connect to the vnc-server from another xterm with "vncviewer localhost". The XP-bootmenue appears. * When XP tries to boot for the first time from Harddisk, the new domU shuts down. By changing the boot-order boot=''d'' to boot=''c'', the new installation is started from the virtual harddisk with "xm create xp1-cd.cfg". As before connect to it again with "vncviewer localhost". * All network-settings of XP can be received from a remote dhcp-server. After creating an administrator account, XP is ready to use. One little problem I haven''t resolved yet. The mouse-cursor in the XP-Window is usable, but the "dot" and the "arrow" are not at the same position. I think this can be solved with some VNC-settings or Window-dimensions/resolution. If someone already had this issue or has an idea, i would be happy to hear. Gruss, Oliver P.S. One debian-specific (known) bugfix is needed: A Softlink /etc/xen/qemu-ifup -> /etc/xen/scripts/qemu-ifup _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
oz wrote:> Hello, > > I want to give a short summary, how I finally got a W*n XP running under > Debian/Xen yesterday. > > * Installation of a xen hypervisor in a Debian GNU/Linux (sid) > environment and booted by this grub menu-entry: > ... > title Xen 3.0.3-1-i386 / Debian GNU/Linux, kernel 2.6.18-2-xen-686 > /dev/sda10 > root (hd0,9) > kernel /boot/xen-3.0.3-1-i386.gz > module /boot/vmlinuz-2.6.18-2-xen-686 root=/dev/sda10 ro > console=tty0 > module /boot/initrd.img-2.6.18-2-xen-686 > ... > > * Creation of an empty loop-device, which later contains the OS-guest: > > #cd /priv/xen/domains/xp1 > #dd if=/dev/zero of=windisk.img bs=1k seek=4096k count=1 > #dd if=/dev/zero of=windisk.img bs=1k count=1 conv=notrunc > > * It seems to be impossible (really?) to install the guest via CDROM, so > I first copied the complete Install-CD (its ISO-image) on my harddisk.I managed to install Win2k3 server from CD, though it wasn''t perfect. As I recall I had some CD-changing issues. (I didn''t need to in the Win2k3 install, but did installing subsequent software - I ended up using ye olde windows file sharing) I''m also using LVM :)> One little problem I haven''t resolved yet. The mouse-cursor in the > XP-Window is usable, but the "dot" and the "arrow" are not at the same > position. I think this can be solved with some VNC-settings or > Window-dimensions/resolution. If someone already had this issue or has > an idea, i would be happy to hear.With Win2k3 server under SDL "enhance pointer precision" was set by default. This caused lots of fun trying to click on things :) -- Julian Davison Note: 1) This may have come from an address @cbhs.school.nz but isn''t necessarily the (or even an) official view of Christchurch Boys'' High School 2) While replying to this address may get into my mailbox it will almost certainly be filtered into a mailing list folder. To actually reach actual me, strip off the bit after the ''-'' in the name. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Donofrio, Lewis wrote:> Was this on non hvm hardware?No, this one: # cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz stepping : 5 cpu MHz : 1995.077 cache size : 4096 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 10 wp : yes flags : fpu tsc msr pae mce cx8 apic mtrr mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc pni monitor ds_cpl vmx est tm2 cx16 xtpr lahf_lm bogomips : 4989.07 processor : 1 vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz stepping : 5 cpu MHz : 1995.077 cache size : 4096 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 10 wp : yes flags : fpu tsc msr pae mce cx8 apic mtrr mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc up pni monitor ds_cpl vmx est tm2 cx16 xtpr lahf_lm bogomips : 4989.07 # lspci 00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS/940GML and 945GT Express Memory Controller Hub (rev 03) 00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller (rev 03) 00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller (rev 03) 00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02) 00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02) 00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 02) 00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 02) 00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 (rev 02) 00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 (rev 02) 00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 (rev 02) 00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02) 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2) 00:1f.0 ISA bridge: Intel Corporation 82801GHM (ICH7-M DH) LPC Interface Bridge (rev 02) 00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) Serial ATA Storage Controller IDE (rev 02) 00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02) 02:00.0 Ethernet controller: Intel Corporation 82573E Gigabit Ethernet Controller (Copper) 03:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02) 04:0b.0 FireWire (IEEE 1394): Ricoh Co Ltd Unknown device 0832 04:0b.1 Generic system peripheral [0805]: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 19) 04:0b.2 System peripheral: Ricoh Co Ltd Unknown device 0843 (rev 01) 04:0b.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 0a) Cheers, Oliver _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> One little problem I haven''t resolved yet. The mouse-cursor in the > XP-Window is usable, but the "dot" and the "arrow" are not at the same > position. I think this can be solved with some VNC-settings or > Window-dimensions/resolution. If someone already had this issue or has > an idea, i would be happy to hear.Solved by simply turning off the mouse pointer acceleration in W*n XP. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users