LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 05-31-2004, 01:52 PM   #1
TemplaraPheonix
LQ Newbie
 
Registered: May 2004
Location: Middletown CT
Distribution: Debian Etch (Testing)
Posts: 28

Rep: Reputation: 15
Kernel 2.6.6 can't load my root filesystem


Hi, I'm trying to compile my own optomized kernel for my Pentium II 266 with an Al440LX
Intel motherboard.

I'm running Debian and was able to use the default Debian 2.6.6 kernel with no problems.
The only issue was that kernel was rather large and slower than the much slimmer 2.2.20
the Debian 3.0 r2 installation CD setup. I would like to be able to use some of the nifty
features of 2.6.6 (such as IDE burning) and better sound support, etc. so I made my own.
I built my own off the kernel.org source and it compiled fine with my various tools. I
installed it and configured lilo, etc. for use with initrd. The kernel loaded correctly and
proceeded through the boot sequence until it came to the RAM drive, it loaded the RAM
drive and then panics, saying it can't load the root filesystem. My best guess is that it
can't read the RAM drive? Or I have some hardware options missing from the kernel,
however, to my best knowledge everything I need is installed directly into the kernel and
I shoundn't even need an initrd, but I made one anyway.

I currently have: PCI support, IDE generic and drive support, PIIX chipset support,
ext3+ext2 file support, ethernet (I have an SMC and am using the epic100 code) all
compiled directly into my kernel.

I also don't know how to access the log from my kernel after booting from a working one.
This might help me see defferences in the loading patterns if there is an option for that.
My first instinct is to make a more generic-like kernel and see if that load correctly, then
try to optomize it by removing hardware support I don't need. Compiling and checking along
the way till I pull out something I really needed. However, since I'm compiling this on my
266, (my faster computers still run windows) I would like a less compiler intensive solution.

-Thanks in advance.
 
Old 05-31-2004, 02:21 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
Welcome to LQ.

If you don't use the ram drive for anything then just remove the entry from the bootloader config.
 
Old 05-31-2004, 02:47 PM   #3
TemplaraPheonix
LQ Newbie
 
Registered: May 2004
Location: Middletown CT
Distribution: Debian Etch (Testing)
Posts: 28

Original Poster
Rep: Reputation: 15
Can the initrd mess things up if it isn't needed? I did this just to be sure I didn't need
some modules to load my root filesystem.


Last edited by TemplaraPheonix; 05-31-2004 at 02:54 PM.
 
  


Reply


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
Kernel Panic: It won't mount the root filesystem (2.6.8 and 2.6.9) and LILO hates me edman007 Linux - General 4 11-13-2004 05:41 PM
Kernel wont mount root filesystem, complains about pivot_root kofrad Linux - Hardware 4 09-29-2004 10:59 PM
2.6 Kernel Panic : won't mount root filesystem Neorio Linux - Software 2 02-26-2004 09:38 PM
Kernel Panic: won't mount root filesystem Neorio Linux - Software 4 02-05-2004 06:32 PM
Mandrake 8.0 failure to load root filesystem theabyyss Linux - Newbie 2 08-20-2001 08:34 PM


All times are GMT -5. The time now is 01:51 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration