Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-18-2005, 12:33 AM   #1
LQ Newbie
Registered: Feb 2003
Location: Horsham, PA
Posts: 28

Rep: Reputation: 15
Making new kernel

Hi guys!
I decided to try openMosix. I downloaded a plain old kernel from (version 2.4.20 should you care). I then patched the kernel with the patch distributed from I make a script that recompiles my kernel for me.
The kernel, using my old config, compiled fine. I made sure to run mkinitd. When I try to boot the new kernel, problems arise.....I get an error at the tail end of the boot saying "cannot find rootfs on "/" or "hd0:0"

Now, the other 2 kernels I have boot fine. All 3 have a line that say root(hd0:0), so I don't think that's it. BUT, I remembered boot partition is on hda1, while the root FS is on hdb1. I thought that may have soemthing to do with this, so I changed the openmosix kernel to read "root(hd1:0)" with no luck. Is there a kernel option I overlooked? What are some possible reasons that it cannot boot my root FS? Any and all help is greatly appreciated.
Old 01-18-2005, 12:39 AM   #2
Senior Member
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
did you add the line for the initrd to load in the bootloader configuration?

also what file system are you using and is the support for it as a module or built-in?
Old 01-18-2005, 12:46 AM   #3
LQ Newbie
Registered: Feb 2003
Location: Horsham, PA
Posts: 28

Original Poster
Rep: Reputation: 15
well, I used make oldconfig, so I assume that EXT3 (the fs being used) got included, but I have no clue as to whether or not it was a module or actually part of the kernel. I have tried building multiple times, both with ETX3 as a module and as a direct include. No luck either way.

The line for the initrd is right after the kernel like, just as it appears in the other 2 configs.
Old 01-18-2005, 03:35 AM   #4
Senior Member
Registered: Jun 2004
Location: Australia
Distribution: Mandriva/Slack - KDE
Posts: 1,672

Rep: Reputation: 46
Always a safer bet to include your root fs in the kernel and not as a module... Default configs tend to have it as a module.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
making my kernel pretty slinky2004 Linux - General 3 10-08-2005 02:19 AM
making -current .iso with 2.6.x kernel rdanda Slackware 2 04-15-2005 03:26 AM
making 2.6 kernel packages xushi Slackware 6 04-14-2005 07:18 PM
Kernel Source/Making a Link y00b Mandriva 6 11-19-2004 12:52 AM
question about making a new kernel ludwig W Linux - General 4 04-02-2003 11:22 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:30 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration