LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 01-17-2005, 11:33 PM   #1
bstempi
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 kernel.org (version 2.4.20 should you care). I then patched the kernel with the patch distributed from openmosix.sf.net. 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 something....my 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-17-2005, 11:39 PM   #2
__J
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-17-2005, 11:46 PM   #3
bstempi
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, 02:35 AM   #4
amosf
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.
 
  


Reply



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 01:19 AM
making -current .iso with 2.6.x kernel rdanda Slackware 2 04-15-2005 02:26 AM
making 2.6 kernel packages xushi Slackware 6 04-14-2005 06:18 PM
Kernel Source/Making a Link y00b Mandriva 6 11-18-2004 11:52 PM
question about making a new kernel ludwig W Linux - General 4 04-02-2003 10:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:58 AM.

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