Upgraded kernel not booting. HW_RANDOM and VFS problem.

I have been compiling a new kernel based on 2.6.7 kernel sources.
Configuration, compiling and installation seems to work fine.
Upon booting it stops, with the last three lines of text being:

Uncompressing Linux ... Ok, booting the kernel
hw_random: RNG not detected
Kernel panic: VFS: unable to mount root fs on unknown-block(0,0)

after which is just hangs. I'm running Fedora version two. Also
just compiling the original kernel using the config file provided
in /boot and booting from that results in the above mentioned
error.
hvAsked:
Who is Participating?
 
de2ZotjesConnect With a Mentor Commented:
Judging by the error you receive you are not configuring the kernel properly for your hardware.

The error about random_hw is safe to ignore for now, the last line is way more problematic: it appears that you haven't compiled in support for the block-device where your root partition lives. perhaps you made all options into modules, but it generaly is easier to stick this sort of stuff (that is going to be needed all the time your machine runs and every time your machine runs) into the kernel permanently.

So check in the working setup on what hardware you root partition lives (mount will do fine) and reconfigure your kernel to include support for that block-device. For instance if your root lives on /dev/hda2 you are (probably) running from an IDE disk, in that case make sure that the following items are in your kernel config:
CONFIG_IDE=y
CONFIG_BLK_DEV_IDE=y

You get the picture, I hope
0
 
hvAuthor Commented:
Thanks for the answer. I figured out the same yesterday evening, but as I promised the points and your answer was quick and correct you deserve
them. Best regards, Henrik.
0
All Courses

From novice to tech pro — start learning today.