Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 06-19-2004, 06:33 PM   #1
Senior Member
Registered: Aug 2003
Location: Upstate
Distribution: Debian, Mint, Mythbuntu
Posts: 1,210

Rep: Reputation: 71
recompile 2.6 kernel without initrd

Does anyone know what configuration options are required to ensure that the 2.6 Kernel doesn't need an initrd? I just installed Debian sarge using the Test release 1 of the sarge installer. I chose the 2.6.6-1-386 kernel. I tried to upgrade to the 2.6.7 kernel by compiling from source and starting with the existing Debian configuration file. Here is what I did:
cp /boot/config-2.6.6-1-386 .config
make oldconfig
make menuconfig
make-kpkg clean
make-kpkg --append-to-version=-custom686 kernel_image
For "make oldconfig" I just hit enter to select defaults because I didn't see anything I needed. For "make menuconfig" I made sure reiserfs support was built in and IDE support was built in. I also changed to my processor type and removed some unneeded stuff like telephony support and the isdn subsystem. I though the resulting custom kernel would not need an initrd, but I get kernel panic. I can boot the custom kernel after creating an initrd, but does anyone know what options are needed to NOT require an initrd? I thought you just needed built in support for your disk and filesystem.
Old 06-19-2004, 07:05 PM   #2
Senior Member
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 47
Check the /etc/kernel-img.conf file. Their initrd settings in there.
Old 06-19-2004, 07:07 PM   #3
Senior Member
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
... and you can read this and this taking from my kernel compile guide ... both links pertain to the initrd


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
2.6.13 kernel / initrd conundrum fincher69 Slackware 9 09-30-2005 11:14 PM
Kernel 2.6: I don't want/need initrd ... sundialsvcs Linux - Software 1 08-20-2005 10:25 AM
Problems with Initrd and Kernel 2.6.8 Lycus_adr0 Linux - Software 0 08-23-2004 12:58 PM
chaged / partiton from ext3 to XFS. cant boot. (recompile initrd ?) qwijibow Linux - Software 1 06-14-2004 08:34 AM
New Kernel/Initrd problems lacerto Linux - Software 3 10-19-2003 07:00 AM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 03:49 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration