Trevor furnell
2006-Jul-28 13:48 UTC
[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 ----- When I try to start it, I get the following error. VFS: Cannot open root device "<NULL>" or unknown-block(0,0) Please append a correct "root=" boot option Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) -- Thanks. Trevor.. Hugs to all, To those that need them, and especially to those that don''t. ====================================E-Mail: trevor@tspoon.com.au Webpages: http://www.tspoon.com.au/ ==================================== _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Petersson, Mats
2006-Aug-02 09:39 UTC
RE: [Xen-users] understanding DomU disk=?? root=?? for WindowsXP.
> -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of > Trevor furnell > Sent: 28 July 2006 14:48 > To: xen-users@lists.xensource.com > 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@lists.xensource.com http://lists.xensource.com/xen-users