Aeliana
2009-Jul-07 17:47 UTC
[Xen-users] Newbie need help windows server 2008 on XEN in Linux fails to start
Hello, I need help with a windows server 2008 or windows in general using in XEN: Host: CentOS 5.3 Linux localhost.localdomain 2.6.18-128.el5xen #1 SMP Wed Jan 21 11:12:42 EST 2009 x86_64 x86_64 x86_64 GNU/Linux fstab: LABEL=/ / ext3 defaults 1 1 LABEL=/boot1 /boot ext3 defaults 1 2 tmpfs /dev/shm tmpfs defaults 0 0 devpts /dev/pts devpts gid=5,mode=620 0 0 sysfs /sys sysfs defaults 0 0 proc /proc proc defaults 0 0 LABEL=SWAP-sda6 swap swap defaults 0 0 /dev/sda1 /home/alina/win-c/ ntfs-3g ro,umask=0222,defaults 0 0 /dev/sda2 /home/alina/win-e/ ntfs-3g rw,umask=0000,defaults 0 0 /dev/sdb1 /home/alina/win-d/ ntfs-3g rw,umask=0000,defaults 0 0 fdisk -l: /dev/sda1 * 4375 8485 33021607+ 7 HPFS/NTFS /dev/sda2 8486 18470 80204511 7 HPFS/NTFS /dev/sda3 18471 19457 7928077+ 7 HPFS/NTFS /dev/sda4 1 4374 35134123+ 5 Extended /dev/sda5 1 13 104359+ 83 Linux /dev/sda6 14 281 2152678+ 82 Linux swap / Solaris /dev/sda7 282 4374 32876991 83 Linux machine: HP pavilion laptop dv9535ef 2G RAM, AMD Turion 2GHz, Nvidia 128 M memory The windows 2008 is installed on /dev/sda1 , I tried to make it work with XEN using: vi /etc/xen/win2008 kernel = "hvmloader" builder=''hvm'' memory = 1024 shadow_memory = 8 name = "win2008" acpi=1 vif = [ ''type=ioemu, bridge=br0, mac=00:16:3e:03:00:c8'' ] disk = [''phy:/dev/sda1,hda,w'' ] device_model = ''qemu-dm'' boot="c" sdl=0 vnc=1 vnclisten="127.0.0.1" stdvga=0 serial=''pty'' soundhw=''sb16'' It did not start giving the following: [root@localhost xen]# xm create win2008 Using config file "./win2008". Error: Kernel image does not exist: /etc/xen/hvmloader [root@localhost xen]# Please tell me how can I run win2008 in Linux with XEN, I''m completely dummy in it. Thank you for the time. -- View this message in context: http://www.nabble.com/Newbie-need-help-windows-server-2008-on-XEN-in-Linux-fails-to-start-tp24378190p24378190.html Sent from the Xen - User mailing list archive at Nabble.com. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Pasi Kärkkäinen
2009-Jul-09 12:37 UTC
Re: [Xen-users] Newbie need help windows server 2008 on XEN in Linux fails to start
On Tue, Jul 07, 2009 at 10:47:15AM -0700, Aeliana wrote:> > Hello, > I need help with a windows server 2008 or windows in general using in XEN: > > Host: > > CentOS 5.3 Linux localhost.localdomain 2.6.18-128.el5xen #1 SMP Wed Jan 21 > 11:12:42 EST 2009 x86_64 x86_64 x86_64 GNU/Linux > > > /dev/sda1 /home/alina/win-c/ ntfs-3g ro,umask=0222,defaults 0 0 > > /dev/sda2 /home/alina/win-e/ ntfs-3g rw,umask=0000,defaults 0 0 > > /dev/sdb1 /home/alina/win-d/ ntfs-3g rw,umask=0000,defaults 0 0 > > > The windows 2008 is installed on /dev/sda1 , > > [root@localhost xen]# xm create win2008 > > Using config file "./win2008". > > Error: Kernel image does not exist: /etc/xen/hvmloader > > Please tell me how can I run win2008 in Linux with XEN, I''m completely dummy > in it. >Well, does /etc/xen/hvmloader file exist? Sounds like a wrong/bad path to me.. I think it is: /usr/lib/xen/boot/hvmloader Also, I think you need to _install_ another copy of Windows 2008, and not use the already installed one. The Xen HVM guest/VM will have a different hardware compared to running Windows on baremetal (without Xen), so you can''t really use the same installation both ways. Also, you might need to have newer Xen version for Windows 2008, if it doesn''t work with the default Xen 3.1.2 in CentOS 5.3. Here you can find RPMs of Xen 3.3 and Xen 3.4 for centos5: http://www.gitco.de/repo/ But yeah, first fix the hvmloader path issue.. -- Pasi _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Sylvain Jeanneret
2009-Jul-10 11:44 UTC
Re: [Xen-users] Newbie need help windows server 2008 on XEN in Linuxfails to start
On 07 Jul 2009, 15:41:10 -0700, Aeliana wrote: ...> The windows 2008 is installed on /dev/sda1 , > > I tried to make it work with XEN using: > > vi /etc/xen/win2008 > kernel = "hvmloader"path missing ?> > builder=''hvm'' > > memory = 1024 > > shadow_memory = 8I am not at all a specialist of Xen, simply the following works for me: ------------------------------------- cat /etc/xen/vm/w2k8-fr name="w2k8r2-fr" uuid="4071ea78-a1cf-ad7d-b78c-82f45bbded75" memory=1024 maxmem=1024 vcpus=1 on_poweroff="destroy" on_reboot="restart" on_crash="destroy" localtime=1 builder="hvm" extid=1 device_model="/usr/lib/xen/bin/qemu-dm" kernel="/usr/lib/xen/boot/hvmloader" boot="c" disk=[ ''phy:/dev/vmxen/w2k8r2-fr,hda,w'', ''file:/root/w2k8r2-fr.iso,hdc:cdrom,r'', ] vif=[ ''mac=00:16:3e:22:96:f8,bridge=br0,model=rtl8139'', ] stdvga=0 vnc=1 vncunused=1 apic=1 acpi=1 pae=1 usb=1 usbdevice=''tablet'' serial="pty" ----------------------------------- Disk is on a logical volume (vmxen) and distribution is opensuse 11.1 64 bits. Hope this helps. Regards, -- Sylvain _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users