[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Xen boot failed while mount root FS.



Taylor Lee wrote:
Hi,Guys
Hello, Taylor Lee,

I installed Xen3.0.2 on CentOS4.2 platform with xen-3.0.2-src.tgz or
xen-2.0.7-install-x86_32.tar,but I got below error during boot from Xen
kernel:

VFS: Cannot open root device "/" or unknown-block(0,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on
unknown-block(0,0)

any idea for this issue,it is really appreciated!

More,grub.conf file :

default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CentOS-4 i386 (2.6.9-22.ELsmp)
        root (hd0,0)
        kernel /vmlinuz-2.6.9-22.ELsmp ro root=LABEL=/ rhgb quiet
        initrd /initrd-2.6.9-22.ELsmp.img
title CentOS-4 i386-up (2.6.9-22.EL)
        root (hd0,0)
        kernel /vmlinuz-2.6.9-22.EL ro root=LABEL=/ rhgb quiet
        initrd /initrd-2.6.9-22.EL.img
title Xen 3.0 / XenLinux 2.6
        kernel /xen-3.0.gz console=vga
module /vmlinuz-2.6-xen root=LABEL=/ ro console=tty0

I think the problem is here.  The other two boot invocations use an
"initrd" but the Xen invocation doesn't.   Create one and add a line for
it and you should be good to go.

If you built your own xen kernel you will need to resolve its module
dependencies first:

  depmod 2.6.16-xen

Then, assuming you have no special devices or filesystems this should make an initrd:

  mkinitrd /boot/initrd-2.6.16-xen.img 2.6.16-xen

Now add the following line to your grub Xen stanza:

        module /initrd-2.6.16-xen.img

Hope that gets you going.

Mike Wright


Regards

--Taylor

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users





_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.