LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-26-2019, 03:28 PM   #16
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 2,011

Rep: Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619

Please read this, then come back if you still have questions:

https://docs.slackware.com/slackbook:linux_kernel
 
1 members found this post helpful.
Old 02-26-2019, 03:44 PM   #17
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,785

Rep: Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435
Quote:
Originally Posted by slcklnx View Post
I'm sorry, but I want to understand. when I just installed Slackware, I did nothing, I didn’t run anything.

Will it be contained in .config? Is it in the newly installed system? how and by whom is this config created?
Good question and yes /usr/src/linux/.config is copied to /boot/config-version and usually symlinked to either /config or /boot/config. It is created by the process of building a working kernel, whether you or someone else built it. This can be accomplished with "make config" (don't do this one) or "make menuconfig" (from command line with ncurses menu display) or "make xconfig" (a 3 part display of heading, options, and help info) or even with make oldconfig a very important tool of a family of tools that uses the running kernel for clues.

Please note that when you installed Slackware you did run a number of commands but they were represented by menu choices. The last one was "Attempt to install lilo now" which was essentially to run "/sbin/lilo" and the skeleton for "/etc/lilo.conf" was created by your choices to questions like "Where do you want lilo installed? 1) MBR, 2) Root, or 3) Don't install LILO now.

The single most important thing you need to remember if you are going to attempt to build a custom kernel is to keep your running kernel and it's entry stanza in your bootloader config ie: /etc/lilo.conf. That way you have a safety net so you can always boot without having to resort to the first stop on the Slackware Install media, which BTW is a huge benefit that I don't know why every other distro hasn't copied, but that's another story. Just protect yourself. Don't Delete when Renaming can take a file out of play while still retaining it to name back if you need it.

Last edited by enorbet; 02-26-2019 at 03:46 PM.
 
2 members found this post helpful.
  


Reply



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
[SOLVED] Linux 4.4 seems to refuse to build IPv6 for the 64-bit build - 32-bit build works fine GameCodingNinja Linux From Scratch 2 02-07-2016 06:40 PM
LXer: Build 'em Right, Build 'em Strong, Build 'em Linux LXer Syndicated Linux News 0 10-01-2007 09:51 PM
Which is the kernel build directory? I Can't find kernel build files crabsody Debian 7 01-09-2007 04:48 AM
kernel build says build is "dirty"? Quakeboy02 Debian 3 12-18-2006 11:24 PM
LXer: Howto: build Linux kernel module against installed kernel w/o full kernel source tree LXer Syndicated Linux News 0 09-03-2006 08:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:38 AM.

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
Open Source Consulting | Domain Registration