I am trying to boot up Xen3.3 from ubuntu 8. i updated my grub file and now it looks like: ==========================================================================title Ubuntu 8.10, kernel 2.6.27-7-generic uuid 3000525f-4d8d-4808-a452-e86d92280e90 kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=3000525f-4d8d-4808-a452-e86d92280e90 ro quiet splash initrd /boot/initrd.img-2.6.27-7-generic quiet title Ubuntu 8.10, kernel 2.6.27-7-generic (recovery mode) uuid 3000525f-4d8d-4808-a452-e86d92280e90 kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=3000525f-4d8d-4808-a452-e86d92280e90 ro single initrd /boot/initrd.img-2.6.27-7-generic title Ubuntu 8.10, memtest86+ uuid 3000525f-4d8d-4808-a452-e86d92280e90 kernel /boot/memtest86+.bin quiet ## change for Xen title Xen 3.3 / XenLinux 2.6 kernel /boot/xen-3.3.gz dom0_mem=262144 module /boot/vmlinuz-2.6.18.8-xen root=/dev/sda5 ro console=tty0 module /boot/initrd ### END DEBIAN AUTOMAGIC KERNELS LIST =======================================================================output for /etc/fstab is =======================================================================# /etc/fstab: static file system information. # # <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc defaults 0 0 # /dev/sda5 UUID=e51f8717-4701-4d77-93d8-6728abbe3a5d / ext3 relatime,errors=remount-ro 0 1 # /dev/sda6 UUID=7505b35f-b9fe-4df1-9ceb-7d73757bfda6 none swap sw 0 0 /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0 ======================================================================== and i get the error cannot find file Am i doing anything wrong? Thanks in advance, Rachita _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Fri, Nov 14, 2008 at 7:58 AM, <rachita@cs.wisc.edu> wrote:> I am trying to boot up Xen3.3 from ubuntu 8. > > i updated my grub file and now it looks like:add root line as below> ==========================================================================> title Ubuntu 8.10, kernel 2.6.27-7-generic > uuid 3000525f-4d8d-4808-a452-e86d92280e90 > kernel /boot/vmlinuz-2.6.27-7-generic > root=UUID=3000525f-4d8d-4808-a452-e86d92280e90 ro quiet splash > initrd /boot/initrd.img-2.6.27-7-generic > quiet > > title Ubuntu 8.10, kernel 2.6.27-7-generic (recovery mode) > uuid 3000525f-4d8d-4808-a452-e86d92280e90 > kernel /boot/vmlinuz-2.6.27-7-generic > root=UUID=3000525f-4d8d-4808-a452-e86d92280e90 ro single > initrd /boot/initrd.img-2.6.27-7-generic > > title Ubuntu 8.10, memtest86+ > uuid 3000525f-4d8d-4808-a452-e86d92280e90 > kernel /boot/memtest86+.bin > quiet > > ## change for Xen > title Xen 3.3 / XenLinux 2.6root (hd0,4)> kernel /boot/xen-3.3.gz dom0_mem=262144 > module /boot/vmlinuz-2.6.18.8-xen root=/dev/sda5 ro console=tty0 > module /boot/initrd > ### END DEBIAN AUTOMAGIC KERNELS LIST > =======================================================================> output for /etc/fstab is > =======================================================================> # /etc/fstab: static file system information. > # > # <file system> <mount point> <type> <options> <dump> <pass> > proc /proc proc defaults 0 0 > # /dev/sda5 > UUID=e51f8717-4701-4d77-93d8-6728abbe3a5d / ext3 > relatime,errors=remount-ro 0 1 > # /dev/sda6 > UUID=7505b35f-b9fe-4df1-9ceb-7d73757bfda6 none swap sw > 0 0 > /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0 > ========================================================================> > and i get the error cannot find file > Am i doing anything wrong?HTH if not you can try booting using command line and browsing for needed file in root partition.> > > Thanks in advance, > Rachita > > > _______________________________________________ > 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
Thanks for a quick reply. I am gonna chk that first thing tom on my m/c setup( cant do it now, its in Univ) and let you know. What''s the way of booting thru command line? -Thanks Rachita> On Fri, Nov 14, 2008 at 7:58 AM, <rachita@cs.wisc.edu> wrote: >> I am trying to boot up Xen3.3 from ubuntu 8. >> >> i updated my grub file and now it looks like: > add root line as below > >> ==========================================================================>> title Ubuntu 8.10, kernel 2.6.27-7-generic >> uuid 3000525f-4d8d-4808-a452-e86d92280e90 >> kernel /boot/vmlinuz-2.6.27-7-generic >> root=UUID=3000525f-4d8d-4808-a452-e86d92280e90 ro quiet splash >> initrd /boot/initrd.img-2.6.27-7-generic >> quiet >> >> title Ubuntu 8.10, kernel 2.6.27-7-generic (recovery mode) >> uuid 3000525f-4d8d-4808-a452-e86d92280e90 >> kernel /boot/vmlinuz-2.6.27-7-generic >> root=UUID=3000525f-4d8d-4808-a452-e86d92280e90 ro single >> initrd /boot/initrd.img-2.6.27-7-generic >> >> title Ubuntu 8.10, memtest86+ >> uuid 3000525f-4d8d-4808-a452-e86d92280e90 >> kernel /boot/memtest86+.bin >> quiet >> >> ## change for Xen >> title Xen 3.3 / XenLinux 2.6 > root (hd0,4) >> kernel /boot/xen-3.3.gz dom0_mem=262144 >> module /boot/vmlinuz-2.6.18.8-xen root=/dev/sda5 ro console=tty0 >> module /boot/initrd >> ### END DEBIAN AUTOMAGIC KERNELS LIST >> =======================================================================>> output for /etc/fstab is >> =======================================================================>> # /etc/fstab: static file system information. >> # >> # <file system> <mount point> <type> <options> <dump> <pass> >> proc /proc proc defaults 0 0 >> # /dev/sda5 >> UUID=e51f8717-4701-4d77-93d8-6728abbe3a5d / ext3 >> relatime,errors=remount-ro 0 1 >> # /dev/sda6 >> UUID=7505b35f-b9fe-4df1-9ceb-7d73757bfda6 none swap sw >> 0 0 >> /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 >> 0 >> ========================================================================>> >> and i get the error cannot find file >> Am i doing anything wrong? > > HTH if not you can try booting using command line and browsing for > needed file in root partition. >> >> >> Thanks in advance, >> Rachita >> >> >> _______________________________________________ >> 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 >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi, I finally managed to make the Xen to not complain about Windows guest configuration, devices, loops etc. But now there''s another problem. The Guest doesn''t turn up. It looks like it''s been started fine when executing, but then doesn''t show up in the XM list. ===========================================# xm create /etc/xen/xenwin.cfg Using config file "/etc/xen/xenwin.cfg". Started domain xenhvm # xm list Name ID Mem VCPUs State Time(s) Domain-0 0 2711 2 r----- 84.3 # =========================================== Anyone else that have experienced this? I''m using this configuration 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 shadow_memory = 8 name = "xenhvm" vif = [ ''type=ioemu, bridge=xenbr0'' ] disk = [ ''tap:aio:/home/xen/domains/windows/xenwin.img,hda,w'', ''tap:aio:/home/xen/domains/windows/win2k3.iso,hdc:cdrom,r'' ] device_model = ''/usr/'' + arch_libdir + ''/xen/bin/qemu-dm'' #device_model = ''/usr/lib64/xen/bin/qemu-dm'' # boot on floppy (a), hard disk (c) or CD-ROM (d) # default: hard disk, cd-rom, floppy boot="dc" sdl=0 vnc=1 vncconsole=1 vncpasswd=''123456'' stdvga=0 serial=''pty'' usbdevice=''tablet'' =========================================== /Peter _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I get an error /dev/sda1 doesn''t exist.> On Fri, Nov 14, 2008 at 7:58 AM, <rachita@cs.wisc.edu> wrote: >> I am trying to boot up Xen3.3 from ubuntu 8. >> >> i updated my grub file and now it looks like: > add root line as below > >> ==========================================================================>> title Ubuntu 8.10, kernel 2.6.27-7-generic >> uuid 3000525f-4d8d-4808-a452-e86d92280e90 >> kernel /boot/vmlinuz-2.6.27-7-generic >> root=UUID=3000525f-4d8d-4808-a452-e86d92280e90 ro quiet splash >> initrd /boot/initrd.img-2.6.27-7-generic >> quiet >> >> title Ubuntu 8.10, kernel 2.6.27-7-generic (recovery mode) >> uuid 3000525f-4d8d-4808-a452-e86d92280e90 >> kernel /boot/vmlinuz-2.6.27-7-generic >> root=UUID=3000525f-4d8d-4808-a452-e86d92280e90 ro single >> initrd /boot/initrd.img-2.6.27-7-generic >> >> title Ubuntu 8.10, memtest86+ >> uuid 3000525f-4d8d-4808-a452-e86d92280e90 >> kernel /boot/memtest86+.bin >> quiet >> >> ## change for Xen >> title Xen 3.3 / XenLinux 2.6 > root (hd0,0) >> kernel /boot/xen-3.3.gz dom0_mem=262144 >> module /boot/vmlinuz-2.6.18.8-xen root=/dev/sda1 ro console=tty0 >> module /boot/initrd >> ### END DEBIAN AUTOMAGIC KERNELS LIST >> =======================================================================>> output for /etc/fstab is >> =======================================================================>> # /etc/fstab: static file system information. >> # >> # <file system> <mount point> <type> <options> <dump> <pass> >> proc /proc proc defaults 0 0 >> # /dev/sda1 >> UUID=e51f8717-4701-4d77-93d8-6728abbe3a5d / ext3 >> relatime,errors=remount-ro 0 1 >> # /dev/sda5 >> UUID=7505b35f-b9fe-4df1-9ceb-7d73757bfda6 none swap sw >> 0 0 >> /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 >> 0 >> ========================================================================>> >> and i get the error cannot find file >> Am i doing anything wrong? > > HTH if not you can try booting using command line and browsing for > needed file in root partition. >> >> >> Thanks in advance, >> Rachita >> >> >> _______________________________________________ >> 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 >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Thu, Nov 13, 2008 at 9:28 PM, <rachita@cs.wisc.edu> wrote:> I am trying to boot up Xen3.3 from ubuntu 8. > > i updated my grub file and now it looks like: > ==========================================================================> ## change for Xen > title Xen 3.3 / XenLinux 2.6 > kernel /boot/xen-3.3.gz dom0_mem=262144 > module /boot/vmlinuz-2.6.18.8-xen root=/dev/sda5 ro console=tty0 > module /boot/initrdHow did you create the initrd file?> and i get the error cannot find file > Am i doing anything wrong? >Can you give any more details on the error(s) you are getting? Cheers, Todd -- Todd Deshane http://todddeshane.net http://runningxen.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Fri, Nov 14, 2008 at 2:46 AM, Peter Privat <peter.privat@breilind.com> wrote:> Hi, > > I finally managed to make the Xen to not complain about Windows guest > configuration, devices, loops etc. But now there''s another problem. The > Guest doesn''t turn up. It looks like it''s been started fine when executing, > but then doesn''t show up in the XM list.something went wrong during boot, check /var/log/xen/qemu*.log (a qemu*.log is created for each Windows/HVM guest) I would also try file: instead of tap:aio for the disks, even though file: is supposed to be deprecated, sometimes it still works better in some situations.> > I''m using this configuration 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 > shadow_memory = 8 > name = "xenhvm" > vif = [ ''type=ioemu, bridge=xenbr0'' ] > disk = [ ''tap:aio:/home/xen/domains/windows/xenwin.img,hda,w'', > ''tap:aio:/home/xen/domains/windows/win2k3.iso,hdc:cdrom,r'' ] > device_model = ''/usr/'' + arch_libdir + ''/xen/bin/qemu-dm'' > #device_model = ''/usr/lib64/xen/bin/qemu-dm'' > # boot on floppy (a), hard disk (c) or CD-ROM (d) > # default: hard disk, cd-rom, floppy > boot="dc" > > sdl=0 > vnc=1 > vncconsole=1 > vncpasswd=''123456'' > stdvga=0 > serial=''pty'' > usbdevice=''tablet'' > ===========================================What version of Xen are you working with? setting the vnc options to 0 and sdl to 1 might be something to try Also if it happens to be Xen 3.3, replacing the vncconsole line with vncviewer="yes" would be another thing to try. Most of the time, when it quits write away it is a problem with either the disk image or the cdrom. Hope that helps. Cheers, Todd -- Todd Deshane http://todddeshane.net http://runningxen.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users