LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 05-01-2004, 12:03 PM   #1
luponec
LQ Newbie
 
Registered: Apr 2004
Posts: 5

Rep: Reputation: 0
make .config file from bzImage


I?? t is possible to obtain .config file for make from a working kernel bzImage ?? (...sources directory is lost :-( ... )

tnx
 
Old 05-01-2004, 02:21 PM   #2
esben
Member
 
Registered: Jun 2003
Location: Copenhagen, Denmark
Distribution: Gentoo
Posts: 48

Rep: Reputation: 15
If you're running the kernel, you could try something like
Code:
cat  /proc/config.gz | gunzip > .config
It rather depends on a kernel option being checked, though, so it may not work. I know of no other way (which is why I always check that option)
 
Old 05-01-2004, 04:40 PM   #3
Anvil
LQ Newbie
 
Registered: Jul 2003
Location: Wiltshire UK
Distribution: Fedora
Posts: 13

Rep: Reputation: 0
Hence the tradition of copying the .config and the System.map files to the /boot directory and numbering them for the full kernel version as with the kernel itself. I know it really doesn't help after the fact, but it might at least arm you against it happening again.

Hope the original turns up

Andy M
 
Old 05-02-2004, 03:58 AM   #4
luponec
LQ Newbie
 
Registered: Apr 2004
Posts: 5

Original Poster
Rep: Reputation: 0
>esben WROTE
>
>cat /proc/config.gz | gunzip > .config
>

YES IT WORKS TNX :-) GREAT SUGGEST


>anvil wrote
>
>copying the .config and the System.map files to the /boot directory
>

yep surely I will do that since now

(sorry 4 my bad english)
Tnx both 4 support
 
  


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
difference between make bzImage and make vmlinuz? veritas Linux - Newbie 3 11-23-2011 04:45 AM
'make mrproper' - make bzImage options. liguorir Linux - Software 4 06-26-2003 06:48 PM
where does make bzImage get the config from Bluesuperman Slackware 3 03-19-2003 03:59 AM
make dep,make clean,make bzImage problem Babba Linux - Newbie 2 01-08-2003 03:49 AM
make: **** No rule to make target 'bzImage' qingjuan Linux - General 5 04-02-2002 04:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:46 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
Open Source Consulting | Domain Registration