Hi, I use Debian etch (Testing) on my Machine running 2.6.17-2-xen-686 kernel from etch. I tryed to set up vm1 in xen. Here is my config: **************************************** kernel = "/boot/vmlinuz-2.6.17-2-xen-686" memory = 128 name = "xenvm1" disk = [ ''file:/var/images/vm1disk,sda1,w'', ''file:/var/images/vm1swap,sda2,w'' ] root = "/dev/sda1 ro" **************************************** here is my /etc/fstab for the vm: **************************************** /dev/sda1 / ext3 errors=remount-ro 0 1 /dev/sda2 none swap sw 0 0 proc /proc proc defa ults 0 0 **************************************** /boot/vmlinuz-2.6.17-2-xen-686, /var/images/vm1disk and /var/images/vm1swap are there and I can chroot to /var/images/vm1disk without any problems. When I try to boot the Mashine I get the message that the kernel can''t find the Partition: **************************************** NET: Registered protocol family 20 Using IPI No-Shortcut mode Registering block device major 8 No filesystem could mount root, tried: cramfs Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(8,1 **************************************** You can find the whole output at: http://pastebin.ca/raw/190905 Could somebody please explain what I did do wrong. I really want to understand that the Problem is. Thank Ben _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of > Ben Schmidt > Sent: 04 October 2006 13:53 > To: xen-users@lists.xensource.com > Subject: [Xen-users] Newbie: Can''t boot vm1 > > Hi, > > I use Debian etch (Testing) on my Machine running > 2.6.17-2-xen-686 kernel > from etch. I tryed to set up vm1 in xen. Here is my config: > **************************************** > kernel = "/boot/vmlinuz-2.6.17-2-xen-686" > memory = 128 > name = "xenvm1" > disk = [ ''file:/var/images/vm1disk,sda1,w'', > ''file:/var/images/vm1swap,sda2,w'' ] > root = "/dev/sda1 ro" > **************************************** > > here is my /etc/fstab for the vm: > **************************************** > /dev/sda1 / ext3 errors=remount-ro 0 1 > /dev/sda2 none swap sw 0 0 > proc /proc proc defa ults 0 0 > ****************************************And you''ve formatted your vm1disk as ext3? Can you mount the /var/images/vm1disk with the loop-back protocol? -- Mats> > /boot/vmlinuz-2.6.17-2-xen-686, /var/images/vm1disk and > /var/images/vm1swap > are there and I can chroot to /var/images/vm1disk without any > problems. > > When I try to boot the Mashine I get the message that the > kernel can''t find > the Partition: > **************************************** > NET: Registered protocol family 20 > Using IPI No-Shortcut mode > Registering block device major 8 > No filesystem could mount root, tried: cramfs > Kernel panic - not syncing: VFS: Unable to mount root fs on > unknown-block(8,1 > **************************************** > You can find the whole output at: http://pastebin.ca/raw/190905 > > Could somebody please explain what I did do wrong. I really want to > understand that the Problem is. > > Thank > > Ben > > > > _______________________________________________ > 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
>From: "Petersson, Mats" <Mats.Petersson@amd.com> >To: "Ben Schmidt" <janedoe200@hotmail.com>, xen-users@lists.xensource.com >Subject: RE: [Xen-users] Newbie: Can''t boot vm1 >Date: Wed, 4 Oct 2006 15:01:38 +0200 > > > -----Original Message----- > > From: xen-users-bounces@lists.xensource.com > > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of > > Ben Schmidt > > Sent: 04 October 2006 13:53 > > To: xen-users@lists.xensource.com > > Subject: [Xen-users] Newbie: Can''t boot vm1 > > > > Hi, > > > > I use Debian etch (Testing) on my Machine running > > 2.6.17-2-xen-686 kernel > > from etch. I tryed to set up vm1 in xen. Here is my config: > > **************************************** > > kernel = "/boot/vmlinuz-2.6.17-2-xen-686" > > memory = 128 > > name = "xenvm1" > > disk = [ ''file:/var/images/vm1disk,sda1,w'', > > ''file:/var/images/vm1swap,sda2,w'' ] > > root = "/dev/sda1 ro" > > **************************************** > > > > here is my /etc/fstab for the vm: > > **************************************** > > /dev/sda1 / ext3 errors=remount-ro 0 1 > > /dev/sda2 none swap sw 0 0 > > proc /proc proc defa ults 0 0 > > **************************************** > >And you''ve formatted your vm1disk as ext3? >Can you mount the /var/images/vm1disk with the loop-back protocol?I can mount the disk with <mount -o loop /var/images/vm1disk /mnt/disk> and allready installed a mini sarge system the debootstrap and edited /etc/fstab and so on. Any Ideas? Thanks Ben> >-- >Mats > > > > /boot/vmlinuz-2.6.17-2-xen-686, /var/images/vm1disk and > > /var/images/vm1swap > > are there and I can chroot to /var/images/vm1disk without any > > problems. > > > > When I try to boot the Mashine I get the message that the > > kernel can''t find > > the Partition: > > **************************************** > > NET: Registered protocol family 20 > > Using IPI No-Shortcut mode > > Registering block device major 8 > > No filesystem could mount root, tried: cramfs > > Kernel panic - not syncing: VFS: Unable to mount root fs on > > unknown-block(8,1 > > **************************************** > > You can find the whole output at: http://pastebin.ca/raw/190905 > > > > Could somebody please explain what I did do wrong. I really want to > > understand that the Problem is. > > > > Thank > > > > Ben > > > > > > > > _______________________________________________ > > 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
Ben Schmidt wrote:> Hi, > > I use Debian etch (Testing) on my Machine running 2.6.17-2-xen-686 > kernel from etch. I tryed to set up vm1 in xen. Here is my config: > **************************************** > kernel = "/boot/vmlinuz-2.6.17-2-xen-686" > memory = 128 > name = "xenvm1" > disk = [ ''file:/var/images/vm1disk,sda1,w'', > ''file:/var/images/vm1swap,sda2,w'' ] > root = "/dev/sda1 ro" > **************************************** > > here is my /etc/fstab for the vm: > **************************************** > /dev/sda1 / ext3 errors=remount-ro 0 1 > /dev/sda2 none swap sw 0 0 > proc /proc proc defa ults 0 0 > **************************************** > > /boot/vmlinuz-2.6.17-2-xen-686, /var/images/vm1disk and > /var/images/vm1swap are there and I can chroot to /var/images/vm1disk > without any problems. > > When I try to boot the Mashine I get the message that the kernel can''t > find the Partition: > **************************************** > NET: Registered protocol family 20 > Using IPI No-Shortcut mode > Registering block device major 8 > No filesystem could mount root, tried: cramfs > Kernel panic - not syncing: VFS: Unable to mount root fs on > unknown-block(8,1 > **************************************** > You can find the whole output at: http://pastebin.ca/raw/190905 > > Could somebody please explain what I did do wrong. I really want to > understand that the Problem is. > > Thank > > Ben > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >Hi Ben, you need an initrd to go with that kernel and configure it into your user domain config. Create it with mkinitramfs-kpkg -o /boot/initrd.img-2.6.17-2-xen-686 2.6.17-2-xen-686 Sincerely, Jan. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi, Jan was totally right. I build the ramdisk like he told me to and than added <ramdisk = "/boot/initrd.img-2.6.17-2-xen-686"> to my vm-config. That was it. Thanks again Ben>From: John Smith <netman1@home.nl> >To: Ben Schmidt <janedoe200@hotmail.com> >CC: xen-users@lists.xensource.com >Subject: Re: [Xen-users] Newbie: Can''t boot vm1 >Date: Wed, 04 Oct 2006 15:23:24 +0200 > >Ben Schmidt wrote: > > Hi, > > > > I use Debian etch (Testing) on my Machine running 2.6.17-2-xen-686 > > kernel from etch. I tryed to set up vm1 in xen. Here is my config: > > **************************************** > > kernel = "/boot/vmlinuz-2.6.17-2-xen-686" > > memory = 128 > > name = "xenvm1" > > disk = [ ''file:/var/images/vm1disk,sda1,w'', > > ''file:/var/images/vm1swap,sda2,w'' ] > > root = "/dev/sda1 ro" > > **************************************** > > > > here is my /etc/fstab for the vm: > > **************************************** > > /dev/sda1 / ext3 errors=remount-ro 0 1 > > /dev/sda2 none swap sw 0 0 > > proc /proc proc defa ults 0 0 > > **************************************** > > > > /boot/vmlinuz-2.6.17-2-xen-686, /var/images/vm1disk and > > /var/images/vm1swap are there and I can chroot to /var/images/vm1disk > > without any problems. > > > > When I try to boot the Mashine I get the message that the kernel can''t > > find the Partition: > > **************************************** > > NET: Registered protocol family 20 > > Using IPI No-Shortcut mode > > Registering block device major 8 > > No filesystem could mount root, tried: cramfs > > Kernel panic - not syncing: VFS: Unable to mount root fs on > > unknown-block(8,1 > > **************************************** > > You can find the whole output at: http://pastebin.ca/raw/190905 > > > > Could somebody please explain what I did do wrong. I really want to > > understand that the Problem is. > > > > Thank > > > > Ben > > > > > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users > > > >Hi Ben, > > you need an initrd to go with that kernel and configure >it into your user domain config. Create it with > > mkinitramfs-kpkg -o /boot/initrd.img-2.6.17-2-xen-686 2.6.17-2-xen-686 > > >Sincerely, > >Jan. > > >_______________________________________________ >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