wang jeppeter
2007-May-30 14:09 UTC
[Xen-devel] ask for the xen boot when panic on mount rootfs
Everyone: hello , i have a question when i boot from the xen built on 3.0.4source code which made i stumble on mounting rootfs , i get it panic when it can not open rootfs . my disk is sata disk of WD 250G ,and i built all the source code in ubuntu feisty amd-64 platform on gcc-3.4.1 compiler . First time i doubt whether i am not compile the ext3 file system in the xen kernel (my rootfs is ext3 file system),but when i rebuilt it with assuring of the ext3 fs in the xen kernel , i met the same error, the grub menu.lst is like this title xen opt root (hd0,5) kernel /xen-2.16.gz module /vmlinuz-2.6.16-xen ro root=/dev/sda3 console=tty0 because my root fs is /dev/sda3 and i mount /dev/sda6 for /boot directory root (hd0,5) is just copied from the right one of ubuntu original kernel. when i switched to the ubuntu xen package on command "apt-get install xenman ",it also failed on the same error ,can not open sda3 for rootfs. would someone help me ,which the problem it is . thank you very much . regards. jeppeter _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Petersson, Mats
2007-May-30 14:30 UTC
RE: [Xen-devel] ask for the xen boot when panic on mount rootfs
> -----Original Message----- > From: xen-devel-bounces@lists.xensource.com > [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of > wang jeppeter > Sent: 30 May 2007 15:10 > To: xen-devel@lists.xensource.com > Subject: [Xen-devel] ask for the xen boot when panic on mount rootfs > > Everyone: > hello , i have a question when i boot from the xen built > on 3.0.4 source code which made i stumble on mounting rootfs > , i get it panic when it can not open rootfs . my disk is > sata disk of WD 250G ,and i built all the source code in > ubuntu feisty amd-64 platform on gcc-3.4.1 compiler . First > time i doubt whether i am not compile the ext3 file system in > the xen kernel (my rootfs is ext3 file system),but when i > rebuilt it with assuring of the ext3 fs in the xen kernel , i > met the same error, the grub menu.lst is like this > > title xen opt > root (hd0,5) > kernel /xen-2.16.gz > module /vmlinuz-2.6.16-xen ro root=/dev/sda3 console=tty0Unless your build of Xen Linux is different from the "standard build", you''ll probably need an "initrd" for the modules needed to read your root filesystem and disk drivers for the /dev/sda3. This means you boot into your standard distribution (e.g. ubuntu) and run something like "mkinitrd /boot/initrd-2.6.16-xen 2.6.16-xen", and add a "module /initrd-2.6.16-xen" to your menu.lst file. -- Mats> > > because my root fs is /dev/sda3 and i mount /dev/sda6 for > /boot directory > > root (hd0,5) is just copied from the right one of ubuntu > original kernel. > when i switched to the ubuntu xen package on command > "apt-get install xenman ",it also failed on the same error > ,can not open sda3 for rootfs. > > would someone help me ,which the problem it is . > thank you very much . > regards. > jeppeter >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel