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

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


  • To: "Adam Nielsen" <adam.nielsen@xxxxxxxxx>
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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

 


Rackspace

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