Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Tip of the week: Working kernel .config for my machine?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
pvdabeel
Retired Dev
Retired Dev


Joined: 25 Mar 2003
Posts: 188
Location: Belgium

PostPosted: Mon May 03, 2004 2:30 pm    Post subject: Tip of the week: Working kernel .config for my machine? Reply with quote

If you get a 2004.* livecd to boot, the configuration of the kernel that booted your machine can be found in /proc/config.gz

An example: you booted your G5 with G5-SMP, installing a kernel is as simple as:

emerge gentoo-dev-sources (installs a -2.6.5 kernel)
cp /proc/config.gc /usr/src/linux
cd /usr/src/linux
gunzip config.gz
cp ./config ./.config
make all modules_install


Last edited by pvdabeel on Mon May 31, 2004 12:32 am; edited 1 time in total
Back to top
View user's profile Send private message
ronmon
Veteran
Veteran


Joined: 15 Apr 2002
Posts: 1043
Location: Key West, FL

PostPosted: Sun May 09, 2004 5:28 am    Post subject: Reply with quote

That's a handy tip, but being a lazy typist I might do:

zcat /proc/config.gz > /usr/src/linux/.config

:)
_________________
Ask Questions the Smart Way - by ESR
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum