LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 09-20-2003, 02:27 AM   #1
Soma
LQ Newbie
 
Registered: Dec 2002
Posts: 24

Rep: Reputation: 15
Problems recompiling a new kernel


Hi people,

I am having problems trying to compile a new 2.4.20/22 kernel onto a machine (Debian Woody). It boots fine with the stock 2.4.18-bf24 kernel image but when I try and boot from the new image I get the following error up:

Quote:
Checking root file system...
fsck 1.27 (8-mar-2002)
fsck.ext3: no such file or directory while trying to open /dev/hda3
/dev/hda3:
The superblock could not be read or does not describe a correct ext2 file system.
At first I tried 2.4.22 but got the error after re-booting. After a heap of problems after this I started the whole install again and descided to try using 2.4.20 instead (which I have had no problems with in the past). I have a bit of experience running Debian and have got other machines up and running without problems. I have the ext3 stuff compiled into the kernel in 'File Systems', as well as the ext2 stuff and still no joy. Is there something I'm missing maybe that could be causing the fault?

Any help appreciated. Thanks!
 
Old 09-20-2003, 06:32 AM   #2
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
I don't know, never had that problem...

Do you have a special hard disk controller, like a Promise ATA-100 controller or something similar? Support for those have to be compiled into the kernel as well, you'll find the IDE controllers under "ATA/IDE/MFM/RLL support" and then "IDE, ATA and ATAPI Block devices".

hw
 
Old 09-20-2003, 12:04 PM   #3
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
I spent days with the standard source trying to get the 2.4.22 kernel compiled the Debian way and none of them would boot. They have now released the 2.4.22 debian source package and I used that to make a new kernel image the Debian way and it worked first time.
 
Old 09-20-2003, 09:46 PM   #4
Soma
LQ Newbie
 
Registered: Dec 2002
Posts: 24

Original Poster
Rep: Reputation: 15
It ended up being something really stupid. I forgot to install devfsd and had the dev stuff compiled in.

I ended up sticking with 2.4.20 for the moment anyway.

Thanks guys!
 
  


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
Problems recompiling kernel in SUSE lalo_5_2000 Linux - Newbie 2 12-31-2004 09:36 PM
Problems recompiling 2.6.8 kernel in sarge 0ddba11 Debian 10 12-04-2004 04:28 PM
problems after recompiling the kernel hubabuba Linux - General 13 09-29-2004 07:54 PM
kernel 2.6.5 recompiling problems c31c Slackware 20 04-29-2004 04:56 PM
USB-Driver Problems after recompiling the kernel Revenger Linux - Software 2 08-01-2001 02:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 04:23 PM.

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