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

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



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


 


Rackspace

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