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
[email protected]
http://lists.xensource.com/xen-devel
Quoted 21 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of wang jeppeter
Sent: 30 May 2007 15:10
To: [email protected]
Subject: [Xen-devel] ask for the xen boot when panic on mount rootfsEveryone:
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
Quoted 4 lines
title xen opt
root (hd0,5)
kernel /xen-2.16.gz
module /vmlinuz-2.6.16-xen ro root=/dev/sda3 console=tty0
Unless 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
Quoted 16 lines
because my root fs is
/dev/sda3and i mount/dev/sda6for
/boot directoryroot (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