LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 06-19-2004, 05:33 PM   #1
m_yates
Senior Member
 
Registered: Aug 2003
Location: Upstate
Distribution: Debian, Mint, Mythbuntu
Posts: 1,176

Rep: Reputation: 54
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:
Code:
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, 06:05 PM   #2
leonscape
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, 06:07 PM   #3
DrOzz
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
 
  


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


All times are GMT -5. The time now is 10:58 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