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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
04-25-2014, 05:00 AM
|
#1
|
LQ Newbie
Registered: Nov 2013
Posts: 13
Rep:
|
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
|
|
|
04-25-2014, 08:14 AM
|
#2
|
Senior Member
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Ubuntu, Manjaro
Posts: 1,791
|
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")
|
|
|
04-25-2014, 09:41 PM
|
#3
|
LQ Newbie
Registered: Nov 2013
Posts: 13
Original Poster
Rep:
|
Quote:
Originally Posted by RockDoctor
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
|
|
|
04-25-2014, 09:42 PM
|
#4
|
LQ Newbie
Registered: Nov 2013
Posts: 13
Original Poster
Rep:
|
we missed any step cannot generated config file in /boot directory
|
|
|
04-26-2014, 07:57 AM
|
#5
|
Senior Member
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Ubuntu, Manjaro
Posts: 1,791
|
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
|
|
|
04-29-2014, 03:35 AM
|
#6
|
LQ Newbie
Registered: Nov 2013
Posts: 13
Original Poster
Rep:
|
thanks
|
|
|
All times are GMT -5. The time now is 08:21 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|