LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 04-25-2014, 06:00 AM   #1
madhukumar
LQ Newbie
 
Registered: Nov 2013
Posts: 13

Rep: Reputation: Disabled
kernel configuration file has not found /boot directory


we followed below procedure and not found kernel configuration in /boot

#rpmdev-setuptree
#rpm -ivh kernel-2.6.32.21-168.fc12.src.rpm
#cd /root/rpmbuild/SPECS
#rpmbuild -bp --target=$(uname -m) kernel.spec
#cd /root/rpmbuild/BUILD/kernel-2.6.32.fc12/linux-2.6.32.i686

#cp configs/kernel-2.6.32.21-i686.config .config
#make oldconfig
#make menuconfig
one window appear and select "Exit" and press "Enter"
#make -j4
#make modules
#make modules_install
#make install
#cd /lib/modules/2.6.32.21/build/
#make oldconfig
#init 6
boot with kernel-2.6.32.21


now in /boot directory not found kernel configuration file "config-2.6.32.21" but found vmlinuz, initrd and system.map files

how do create kernel configuration file in /boot
 
Old 04-25-2014, 09:14 AM   #2
RockDoctor
Senior Member
 
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Ubuntu, Linux Mint
Posts: 1,715

Rep: Reputation: 400Reputation: 400Reputation: 400Reputation: 400Reputation: 400
It's been quite a while since I compiled my own kernel, but cant you just copy your configs/kernel-2.6.32.21-i686.config file to /boot? If it's already there, perhaps it need to be named something like config-2.6.32.21-i686 (the config filename should look like the kernel filename with the word "config" substituted for the word "kernel")
 
Old 04-25-2014, 10:41 PM   #3
madhukumar
LQ Newbie
 
Registered: Nov 2013
Posts: 13

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by RockDoctor View Post
It's been quite a while since I compiled my own kernel, but cant you just copy your configs/kernel-2.6.32.21-i686.config file to /boot? If it's already there, perhaps it need to be named something like config-2.6.32.21-i686 (the config filename should look like the kernel filename with the word "config" substituted for the word "kernel")

after make install cannot generated config file in /boot directory but vmlinz, initrd, system.map generated
 
Old 04-25-2014, 10:42 PM   #4
madhukumar
LQ Newbie
 
Registered: Nov 2013
Posts: 13

Original Poster
Rep: Reputation: Disabled
we missed any step cannot generated config file in /boot directory
 
Old 04-26-2014, 08:57 AM   #5
RockDoctor
Senior Member
 
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Ubuntu, Linux Mint
Posts: 1,715

Rep: Reputation: 400Reputation: 400Reputation: 400Reputation: 400Reputation: 400
You used a config file to generate your kernel. Take that file, wherever it is located and whatever its name, and copy it to /boot/config-2.6.32.21-i686
 
Old 04-29-2014, 04:35 AM   #6
madhukumar
LQ Newbie
 
Registered: Nov 2013
Posts: 13

Original Poster
Rep: Reputation: Disabled
Cool

thanks
 
  


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
Sendmail M4 configuration base directory /usr/share/sendmail-cf was not found eliassal Linux - Server 15 11-04-2010 02:09 AM
how to execute a script file? Have file/directory not found error sirius57 Linux - Software 2 11-22-2007 12:43 AM
No configuration found in new kernel for lan tkmsr Linux - Hardware 0 08-25-2007 03:50 AM
Kernel Configuration Not Found vi0lat0r Mandriva 5 03-19-2004 05:48 AM
Wine Configuration File Not Found silversky Linux - Software 4 03-01-2004 03:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:51 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration