WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Xen boot failed while mount root FS.
From: list user <xktnniuymlla@xxxxxxxxxxxxxx>
Date: Fri, 02 Jun 2006 10:55:41 -0700
Delivery-date: Fri, 02 Jun 2006 10:49:23 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <0418031D3184CC479A3A395E245922A3013960B4@xxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <0418031D3184CC479A3A395E245922A3013960B4@xxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.2-6 (X11/20050513)
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