[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] RE: [Xen-users] understanding DomU disk=?? root=?? for WindowsXP.
> -----Original Message----- > From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx > [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of > Trevor furnell > Sent: 28 July 2006 14:48 > To: xen-users@xxxxxxxxxxxxxxxxxxx > Subject: [Xen-users] understanding DomU disk=?? root=?? for WindowsXP. > > Hi; > > I'm having trouble understanding the config file for > setting up my Windows install. > > I keep getting stuck on the disk= line and also > on whether I need the root= line, and if so what > do I put for it. > > Below is my current file.. > > ----start---- > kernel = "/boot/vmlinuz-2.6.17-1.2157_FC5xenU" > builder = 'linux' > memory = 1024 > name = "WinXP" > vcpus = 1 > disk = [ 'file:/mnt/images/WinXP.img,ioemu:hda,w' ] > cdrom='/dev/hda' > ne2000=0 > boot='d' > ----- end ----- Hmm - you got a few things wrong int here, didn't you? ;-) Try using the /etc/xen/xmexample.hvm as a base, instead of one of the paravirtual ones.. So, you want kernel to have ".../hvmloader", as that's the "application" that loads the BIOS and gets things started. Is your CDROM really /dev/hda? Here's a simple "boot from CDROM" config 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 = 1024 name = "CDROM-boot" vif = [ 'type=ioemu, bridge=xenbr0' ] disk = [ 'file:/root/disk.img,ioemu:hda,w' ] device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm' cdrom='/root/isoguest.iso' boot='d' sdl=0 vnc=1 vncviewer=1 serial='pty' ne2000=0 I hope this helps. -- Mats _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |