Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system. |
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.
|
|
03-06-2014, 03:09 PM
|
#1
|
Member
Registered: Dec 2013
Location: INDIA
Distribution: Ubuntu, windows, Android
Posts: 80
Rep:
|
Updates done to kernel not getting updated.
I am in Xorg-7.7 Testing and Configuration under Chapter 24. X Window System Environment in Beyond Linux® From Scratch - Version 7.4
i was just going through startx command but was not getting the appropriate output as given in the book so checked about it and with help from member of linuxquestions.org found the problem in video driver so, again went to the Xorg drivers and installed the drivers, but i required some additional changes to be done in kernel system. I went to source directory and untar linux-3.10.10 and run the "make LANG=en_IN LC_ALL= menuconfig" and did the changes to it. and completed the rest of the command given in it. But still it din't worked and when i again come to the source directory and again run the command "make LANG=en_IN LC_ALL= menuconfig", found that the changes where not their i again need to do the changes but still it din't worked.
can anybody please help me out
|
|
|
03-06-2014, 10:21 PM
|
#2
|
Member
Registered: May 2007
Distribution: LFS
Posts: 628
Rep:
|
I don't know what happened here. Anyway, the LFS book says to start out with make defconfig. That copies a default config file to .config in the top level of the linux build directory. So after the first time the kernel is built, never do that again or you'll be starting over with a default config again. After that first kernel is installed, untarring and starting make menuconfig will copy the current working config from /boot to .config in the linux directory. That means your current configuration should be there in the ncurses menuconfig editor. I often manually copy a config file from /boot to .config in the linux build directory to make sure it happens. Anyway, maybe this explains why your changes are disappearing.
|
|
|
03-06-2014, 10:31 PM
|
#3
|
LQ Guru
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,564
|
As a general rule of thumb, if you don't know what exact hardware you have or you're uncomfortable setting up a kernel, you can use the kernel configuration used by Slackware as a failsafe configuration.
ftp://ftp.slackware.com/pub/slackwar...-huge-3.12.x64
It's for the 3.12 series, but you can run make oldconfig against it and it'll update all the modules and settings to work with the newer kernel if any are missing.
|
|
|
03-07-2014, 11:13 AM
|
#4
|
Member
Registered: Dec 2013
Location: INDIA
Distribution: Ubuntu, windows, Android
Posts: 80
Original Poster
Rep:
|
Thank you stoat & ReaperX7for your replies.
Firstly stoat:- I think you are right about the .config file. But now i don't have the original .config file since i din't backup it. Is their any way of getting the original file.
Secondly ReaperX7:- Thanks for the idea of using slackware .config file, but the .config file which you gave is for 64 bit and mine is 32 bit so by changing the first section about the kernel file with the present .config file ( or changing those lines which are meant for 64 bit) will work .
But last time when i gave the make oldconfig it was bit surprising since it made me enter y or n for the different packages it was bit lengthy and i skipped that part and gave the make defconfig which was like normal procedure. Due you think because of this it the kernel file is playing with me.
Last edited by dragonprasad; 03-07-2014 at 11:16 AM.
|
|
|
03-07-2014, 01:35 PM
|
#5
|
Member
Registered: Dec 2013
Location: INDIA
Distribution: Ubuntu, windows, Android
Posts: 80
Original Poster
Rep:
|
Quote:
Originally Posted by ReaperX7
As a general rule of thumb, if you don't know what exact hardware you have or you're uncomfortable setting up a kernel, you can use the kernel configuration used by Slackware as a failsafe configuration.
ftp://ftp.slackware.com/pub/slackwar...-huge-3.12.x64
It's for the 3.12 series, but you can run make oldconfig against it and it'll update all the modules and settings to work with the newer kernel if any are missing.
|
I tried this stuff of using slackware kermel config file and using it, when i gave make oldconfig it was asking me to enter yes or no questions for the each package present in the .config file.
|
|
|
03-07-2014, 10:40 PM
|
#6
|
LQ Guru
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,564
|
Usually just enter Y or M as needed as make oldconfig only updates the existing config against the newer kernel if there are new entries or changes. It shouldn't actually redo the entire config. It may take some time but it's worth it.
|
|
|
03-07-2014, 11:04 PM
|
#7
|
Member
Registered: Dec 2013
Location: INDIA
Distribution: Ubuntu, windows, Android
Posts: 80
Original Poster
Rep:
|
ReaperX7 ok I am starting it now and hope it get to the original state.
|
|
|
All times are GMT -5. The time now is 08:54 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
|
|