LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
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


Reply
  Search this Thread
Old 07-30-2014, 02:12 PM   #1
Roy_SRC
Member
 
Registered: Jul 2014
Posts: 81

Rep: Reputation: Disabled
8.3. Linux-3.13.3


finally i've moved onto chapter 8.3. Linux-3.13.3... http://www.linuxfromscratch.org/lfs/...08/kernel.html

here, in the code below

Code:
make LANG=<host_LANG_value> LC_ALL= menuconfig
what do i replace <host_LANG_value> with... i mean all of the $LC_ALL, $LC_CTYPE, and $LANG values are empty... when i echo those nothing shows up... thanks...
 
Old 07-30-2014, 02:38 PM   #2
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Well, hey Roy. Where do you live?

In the english US, I used
Code:
make LANG=en_US LC_ALL= menuconfig
at that one.

as chosen by
Code:
locale -a
(discussed in an earlier chapter, but I don't recall which. Prolly gcc)

Last edited by Habitual; 07-30-2014 at 02:40 PM.
 
1 members found this post helpful.
Old 07-30-2014, 02:42 PM   #3
Roy_SRC
Member
 
Registered: Jul 2014
Posts: 81

Original Poster
Rep: Reputation: Disabled
i chose en_US on chapter 7.13 maybe... thanks..
 
Old 07-30-2014, 02:50 PM   #4
Roy_SRC
Member
 
Registered: Jul 2014
Posts: 81

Original Poster
Rep: Reputation: Disabled
okay another problem...

Code:
If desired, skip kernel configuration by copying the kernel config file, .config, from the host system 
(assuming it is available) to the unpacked linux-3.13.3 directory. However, we do not recommend this 
option. It is often better to explore all the configuration menus and create the kernel configuration
from scratch.
where do i find the .config file in the host system and where do i paste the .config file... i mean do i paste in directly in linux-3.13.3 directory or in some other sub directory.. thanks again..

Last edited by Roy_SRC; 07-30-2014 at 02:56 PM.
 
Old 07-30-2014, 03:40 PM   #5
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
.config I left alone, as is, where is. I think I did a less on it, that's all.
 
Old 07-30-2014, 03:48 PM   #6
Roy_SRC
Member
 
Registered: Jul 2014
Posts: 81

Original Poster
Rep: Reputation: Disabled
okay just tell me where do i paste the config file... in linux-3.13.3 or in someother sub directory in linux-3.13.3...
 
Old 07-30-2014, 04:15 PM   #7
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
The file named .config is a hidden file which resides in the linux-3.13.3 directory.

In reality here's a good choice for you:

Run this first after you've cleaned your sources:
Code:
make defconfig
This will autotag all known defaults for your architecture and setup a kernel for you with the bare minimums for your system.

Next run:
Code:
make menuconfig
and add in any possible parameters you feel you might need. Remember always compile Filesystems within the kernel, not as modules. Use lspci and lsmod on your host system to get an idea of the modules you may need. Try to keep drivers like audio, networking, and video as modules. The rest like SATA, SCSI, etc. should be internally built.
 
  


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



LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

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