LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (http://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   Running kernel.org "mainline" Linux on Xen: FAILED to find root device (http://www.linuxquestions.org/questions/linux-kernel-70/running-kernel-org-mainline-linux-on-xen-failed-to-find-root-device-757197/)

bojanap 09-23-2009 04:49 AM

Running kernel.org "mainline" Linux on Xen: FAILED to find root device
 
Hi,

I compiled kernel.org 2.6.25.14 kernel on Fedora 10 with all necessary Xen options enabled. After successful process of compilation command file gave me this result:

file /boot/*

/boot/vmlinuz-2.6.27.5-117.fc10.i686.PAE: Linux kernel x86 boot executable RO-rootFS, root_dev 0x902, swap_dev 0x2, Normal VGA
/boot/vmlinuz-2.6.25.14: Linux kernel x86 boot executable RO-rootFS, swap_dev 0x2, Normal VGA

We can see that in comparison to original Fedora 10 kernel, root_dev 0x902 is missing from the vmlinuz. I checked all other relevant parameters and everything else seems fine.

Does anybody know how to set up properly root device and what is the reason for failure?
I tried with rdev command which gives:
rdev /boot/vmlinuz-2.6.25.14
Root device 0xca01

so, I'm wondering why this output is not included in the file command result?

xeleema 09-18-2010 12:42 AM

Greetingz!
Sounds like you might need an initrd setup for your new kernel.
Have you given mkinitrd a shot? (Check the man page!)


All times are GMT -5. The time now is 02:15 AM.