Hi, I''m trying to build non sles10 domU under sles10 dom0. I''ve downloaded centos and debian images from www.jailtime.org fixed the config file and try to start domU. After creating domU from images I get Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) I''m running without problems two sles10 domU machines. After using google allot :-) I found something about creating initrd - how do I do that for debian or centos? Comparing sles10 domU and centos/debian xen image files I see that in debian/centos boot directory is empty but not in sles10 Please help me out Thank you all in advance -- Janko Harej _______________________________________________ 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 > Janko Harej > Sent: 12 April 2007 11:37 > To: xen-users@lists.xensource.com > Subject: [Xen-users] domu under sles10 > > Hi, > > I''m trying to build non sles10 domU under sles10 dom0. I''ve downloaded > centos and debian images from www.jailtime.org fixed the config file > and try to start domU. > > After creating domU from images I get > > Kernel panic - not syncing: VFS: Unable to mount root fs on > unknown-block(0,0) > > I''m running without problems two sles10 domU machines. > > After using google allot :-) I found something about creating initrd - > how do I do that for debian or centos?It doesn''t make any difference whether you use debian, centos or some other OS. You need to create the initrd in the host-machine, using the xen-kernel that you''ve got there. So, if you''re using sles, it should be something like this: mkinitrd somewhere/initrd-$ver-xenU $ver-xen --with=blkfront [$ver would be something like 2.6.16.33, matching the version of your xenified linux kernel]. The location of "somwhere" could be /boot, but doesn''t have to be.> > Comparing sles10 domU and centos/debian xen image files I see that in > debian/centos boot directory is empty but not in sles10You don''t need anyting in the guest''s boot directory, as the kernel and initrd are loaded from Dom0''s file-system. Whether you still have something in /boot in the guest obviously depends the way it was installed and if the install process decided to stuff something in /boot for some reason (e.g. it ALWAYS writes some files to /boot, whether it''s necessary or not). -- Mats> > Please help me out > > Thank you all in advance > > -- > Janko Harej > > _______________________________________________ > 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, 2007/4/12, Petersson, Mats <Mats.Petersson@amd.com>:> > > Subject: [Xen-users] domu under sles10 > > > > Hi, > > > > I''m trying to build non sles10 domU under sles10 dom0. I''ve downloaded > > centos and debian images from www.jailtime.org fixed the config file > > and try to start domU. > > > > After creating domU from images I get > > > > Kernel panic - not syncing: VFS: Unable to mount root fs on > > unknown-block(0,0) > > > > I''m running without problems two sles10 domU machines. > > > > After using google allot :-) I found something about creating initrd - > > how do I do that for debian or centos? > > It doesn''t make any difference whether you use debian, centos or some > other OS. You need to create the initrd in the host-machine, using the > xen-kernel that you''ve got there. So, if you''re using sles, it should be > something like this: > > mkinitrd somewhere/initrd-$ver-xenU $ver-xen --with=blkfront > [$ver would be something like 2.6.16.33, matching the version of your > xenified linux kernel]. > > The location of "somwhere" could be /boot, but doesn''t have to be. >does this mean, that I only have one initrd on my host (dom0) for all my guest systems(domU)? bye Janko H. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Janko Harej wrote:> Hi, > > 2007/4/12, Petersson, Mats <Mats.Petersson@amd.com>: >> >> > Subject: [Xen-users] domu under sles10 >> > >> > Hi, >> > >> > I''m trying to build non sles10 domU under sles10 dom0. I''ve downloaded >> > centos and debian images from www.jailtime.org fixed the config file >> > and try to start domU. >> > >> > After creating domU from images I get >> > >> > Kernel panic - not syncing: VFS: Unable to mount root fs on >> > unknown-block(0,0) >> > >> > I''m running without problems two sles10 domU machines. >> > >> > After using google allot :-) I found something about creating initrd - >> > how do I do that for debian or centos? >> >> It doesn''t make any difference whether you use debian, centos or some >> other OS. You need to create the initrd in the host-machine, using the >> xen-kernel that you''ve got there. So, if you''re using sles, it should be >> something like this: >> >> mkinitrd somewhere/initrd-$ver-xenU $ver-xen --with=blkfront >> [$ver would be something like 2.6.16.33, matching the version of your >> xenified linux kernel]. >> >> The location of "somwhere" could be /boot, but doesn''t have to be. >> > > does this mean, that I only have one initrd on my host (dom0) for all > my guest systems(domU)?No, you have one initrd for each different guest kernel you''ve installed. You can run guests with different kernels, but their initrd and vmlinuz needs to be present on the Dom0. Their */lib/modules* need to be on the guest domains. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users