LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices



Reply
 
Search this Thread
Old 10-10-2005, 03:12 PM   #1
sajjadc
Member
 
Registered: May 2005
Location: kerala,india
Distribution: UBUNTU
Posts: 94

Rep: Reputation: 15
.config file for 2.6 kernel


i need .config file for 2.6 kernal , plz send me in my mail id
csajjad@gmail.com
 
Old 10-10-2005, 03:50 PM   #2
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,990

Rep: Reputation: 67
sajjadc,

The .config file holds the configuration information used when compiling your kernel. The contents of this file depend heavily on the hardware you are using; there is no such thing as a “generic” .config file that you can be sent by email and make use of.

If you are running a 2.6 series kernel, you can normally get the .config file for your current kernel configuration using this command
Code:
cat /proc/config.gz | gunzip > ~/.config
(this will create the file in your home directory).[/code]

You can also generate this file by installing the kernel source, then running:
Code:
cd dir
to change to the kernel directory (replace dir with wherever you put the source code), then one of the following:
Code:
make menuconfig #interactive menu
make configure # questions and answers
make xconfig # graphical configuration; you will need X running
Make sure that you read the documentation carefully before compiling your kernel, as you can easily end up making something that won't boot your computer. This isn't a disaster as you can still boot off your old kernel, however.

Hope that helps,

— Robert J. Lee
 
Old 10-11-2005, 07:46 PM   #3
sajjadc
Member
 
Registered: May 2005
Location: kerala,india
Distribution: UBUNTU
Posts: 94

Original Poster
Rep: Reputation: 15
i need .config file bcoz im now working in 2.4 kernel
 
Old 10-12-2005, 04:45 PM   #4
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,990

Rep: Reputation: 67
If you have followed the instructions for installing the kernel source and configuring your kernel, you will have a .config file; it's what the configuration stage produces. And you only need one if you are compiling your own kernel.

I can't generate one for you without knowing a lot of technical information about your computer, which I don't.
 
Old 10-13-2005, 01:59 PM   #5
sajjadc
Member
 
Registered: May 2005
Location: kerala,india
Distribution: UBUNTU
Posts: 94

Original Poster
Rep: Reputation: 15
dear friend
i need 2.6 . config file for installing thru it, ineed a stable - error free configaration
so plz send me the file
 
Old 10-13-2005, 03:29 PM   #6
phil.d.g
Senior Member
 
Registered: Oct 2004
Posts: 1,192

Rep: Reputation: 101Reputation: 101
The contents of the .config file depends on your own hardware, if I were to send you my .config file it most likely wouldn't work on your system

When you run `make menuconfig` in the top level dir of the kernel source you will need to set options to match your hardware and circumstances then when you save and exit, your .config file will be produced

which rjlee has already told you

Last edited by phil.d.g; 10-13-2005 at 03:32 PM.
 
Old 10-13-2005, 03:42 PM   #7
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,990

Rep: Reputation: 67
Quote:
Originally posted by sajjadc
dear friend
i need 2.6 . config file for installing thru it, ineed a stable - error free configaration
so plz send me the file
Any configuration produced through make menuconfig should be both stable and error-free, provided that you use a stable version of the kernel.

That doesn't mean it will work on your computer. Linux supports many different types of hardware; if you configure it to work on a MIPS system using a SCSI bus then it likely won't work on an Intel system with USB disks, for example.

What you are asking for is a generic .config file. This does not exist.
 
Old 10-14-2005, 09:46 AM   #8
fireedo
Member
 
Registered: Feb 2005
Location: Indonesia,Sidoarjo
Posts: 342

Rep: Reputation: 30
You can try this config file for kernel 2.6.13 from http://ftp.slackware.cz/slackware/sl.../config-2.6.13

maybe that can help you....
 
Old 10-14-2005, 01:48 PM   #9
sajjadc
Member
 
Registered: May 2005
Location: kerala,india
Distribution: UBUNTU
Posts: 94

Original Poster
Rep: Reputation: 15
thanx fireedo
 
  


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
Use old kernel config file? RoaCh Of DisCor Linux - Software 4 01-04-2005 11:31 PM
Kernel Config File Questions Eklipz Linux - Newbie 2 12-12-2004 03:10 PM
.config file for new kernel plan9 Slackware 2 06-04-2004 08:02 PM
2.6.4 Kernel Config file Nappa Slackware 10 04-10-2004 01:14 AM
I lost rmed my kernel config file. Anyway to create one from the kernel? severedhead Linux - Software 3 07-12-2002 08:54 PM


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