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: "Adam Nielsen" <adam.nielsen@xxxxxxxxx>
Subject: Re: [Xen-users] Xen boot failed while mount root FS.
From: "Anand Gupta" <xen.mails@xxxxxxxxx>
Date: Mon, 5 Jun 2006 10:16:56 +0530
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sun, 04 Jun 2006 21:47:32 -0700
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=H/+NzCiXXWfH7YDmKy+MrAGh/BXAJxe0B69GrJ91iF9H0gsUv2GYiZbP8QrzfO0sWWqVgYYxcgGYZdWuRDu1lYfEQMOJGSpDMaDueo4mFntrARGYywYP3imIENiN7QB5JLkI55yS7XLRcimAKUM4lFzNV8lWW6/fiNDsq7hKDys=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20060605134902.612678c8@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
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> <20060605134902.612678c8@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
I have had the same problem earlier. Just add the root=/dev/sda2 in your grub entry for xen kernel. This will help in booting up the machine.

On 6/5/06, Adam Nielsen <adam.nielsen@xxxxxxxxx> wrote:
Hi all,

I'm trying to compile my own Xen kernel and I'm now getting this same
error:

> 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)

Only my kernel line says "root=/dev/sda2" - I'm positive I compiled in
the driver for my SATA controller (it's there in the .config, assuming
I'm reading the right one) but it still won't recognise it.  I even
changed it to root=/dev/hda assuming it would fail with an invalid
filesystem, but it still says "unknown-block(0,0)".

While I was trying to figure out how the kernel knows what "/dev/sda2"
means I thought I could try creating an initrd image with the
important /dev files in it, and while the kernel recognises and loads
the initrd file, just after that it comes up with the same error again.

Any ideas what could be causing this problem?  ...Or how you're
otherwise supposed to tell the kernel where your root partition is?

Thanks,
Adam.

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



--
regards,

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