Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Updating kernel...make oldconfig?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
G2k
l33t
l33t


Joined: 06 Mar 2004
Posts: 672
Location: Rome, Italy

PostPosted: Thu Oct 07, 2004 4:00 pm    Post subject: Updating kernel...make oldconfig? Reply with quote

Hey guys,
yesterday I installed the 2.6.8-gentoo-r6 kernel and today I installed the new 2.6.8-gentoo-r7. When doing this, do you guys suggest I use make oldconfig or should i make it fresh from scratch? I used my oldconfig cus I'm too lazy to pick all the options again, but my question (for the next time I do it) is, is it safer to build it anew or is making it with the old .config file fine? If I were to make it without the old config file would I have to re-enable all my USB, fbsplash and whatever else options I had before or will it recognize them automatically somehow?
Aaight, thanks :)
_________________
Animula vagula blandula,
Hospes comesque corporis,
Quae nunc abibis in loca
Pallidula rigida nudula,
Nec ut soles dabis iocos...
- Imp. Caesar Hadrianus
Back to top
View user's profile Send private message
hecatomb
Guru
Guru


Joined: 02 Sep 2004
Posts: 525

PostPosted: Thu Oct 07, 2004 4:24 pm    Post subject: Reply with quote

IMHO 'oldconfig' is a great rule.

Code:
# cd /usr/src/linux
# make mrproper
# cp /path/to/old/config .config
# make oldconfig


If there are new options in the kernel 'make oldconfig' will ask you what to do.
So with these steps you are ready to compile a new kernel in under a minute!!
Nevertheless if you want to abjust some things just do a 'make menuconfig' afterwards and all your USB... things are already there :-)
Back to top
View user's profile Send private message
wilburpan
l33t
l33t


Joined: 21 Jan 2003
Posts: 977

PostPosted: Thu Oct 07, 2004 4:26 pm    Post subject: Reply with quote

I also use gentoo-dev-sources. I use make oldconfig when going up versions of the same kernel source, then I use make menuconfig to look at any new options I might be interested in.

For you, make oldconfig should work just fine. I'm planning on using make oldconfig for this version bump on my computer.

If I was switching from gentoo-dev-sources to mm-sources, for example, I would redo the kernel from scratch.
_________________
I'm only hanging out in OTW until I get rid of this stupid l33t ranking.....Crap. That didn't work.
Back to top
View user's profile Send private message
wilburpan
l33t
l33t


Joined: 21 Jan 2003
Posts: 977

PostPosted: Thu Oct 07, 2004 4:27 pm    Post subject: Reply with quote

I also use gentoo-dev-sources. I use make oldconfig when going up versions of the same kernel source, then I use make menuconfig to look at any new options I might be interested in.

For you, make oldconfig should work just fine. I'm planning on using make oldconfig for this version bump on my computer.

If I was switching from gentoo-dev-sources to mm-sources, for example, I would redo the kernel from scratch.
_________________
I'm only hanging out in OTW until I get rid of this stupid l33t ranking.....Crap. That didn't work.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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