Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to switch from genkernel to gentoo-sources
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
vinodtc
n00b
n00b


Joined: 21 Nov 2005
Posts: 16

PostPosted: Mon Mar 13, 2006 10:11 am    Post subject: How to switch from genkernel to gentoo-sources Reply with quote

Hi All

I have recently installed GENTOO 2006.0 through an Live CD.

As suggested in the hand book i had to choose the "genkernel".
Now i would like to go for gentoo-sources kernel as i would have to bring out an
customised kernel.

I have come across the steps that i need to follow
1) emerge gentoo-sources
2) make menuconfig(location /usr/src/linux)
3) copy the bzImage and .config to /boot
4) Replace the image name in lilo by the above specified name and path(i.e /boot)

Is my understanding right?

Can i also change the kenel option of "genkernel"?

Thanks

Regards
Back to top
View user's profile Send private message
kfiaciarka
Veteran
Veteran


Joined: 20 May 2005
Posts: 1498
Location: Dobre Miasto, Poland

PostPosted: Mon Mar 13, 2006 10:18 am    Post subject: Re: How to switch from genkernel to gentoo-sources Reply with quote

vinodtc wrote:
Hi All

I have recently installed GENTOO 2006.0 through an Live CD.

As suggested in the hand book i had to choose the "genkernel".
Now i would like to go for gentoo-sources kernel as i would have to bring out an
customised kernel.

I have come across the steps that i need to follow
1) emerge gentoo-sources
2) make menuconfig(location /usr/src/linux)
3) copy the bzImage and .config to /boot
4) Replace the image name in lilo by the above specified name and path(i.e /boot)

Is my understanding right?

Can i also change the kenel option of "genkernel"?

Thanks

Regards

It is all good way of thinking. I myself prefer doing make install modules_install instead of copying BzImage.
Kernel option of genkernel? You mean .config? just copy it to right directory. And remember to make symlink /usr/src/linux point to right directory.
Back to top
View user's profile Send private message
vinodtc
n00b
n00b


Joined: 21 Nov 2005
Posts: 16

PostPosted: Mon Mar 13, 2006 10:26 am    Post subject: Hi thanks Reply with quote

Thanks kfiaciarka

Yes i skipped the step of make && make modules_install

:D

Can you pls brief more on the symlink?

Regards
Back to top
View user's profile Send private message
DonROberto
n00b
n00b


Joined: 22 Nov 2005
Posts: 7
Location: Bratislava, Slovakia

PostPosted: Mon Mar 13, 2006 10:31 am    Post subject: Reply with quote

first unmerge genkernel (emerge -C genkernel ? - i'm not sure if it is all)

emerge gentoo-sources
ln -sf for sources => /usr/src/linux (for example: ln -sf /usr/src/linux-2.6.15-gentoo-r1 /usr/src/linux)
cd /usr/src/linux
make menuconfig
make && make modules && make modules_install && make install

check /boot directory and grub.conf
then emerge drivers like nvidia-kernel, alsa-driver...
Back to top
View user's profile Send private message
mark_alec
Bodhisattva
Bodhisattva


Joined: 11 Sep 2004
Posts: 6066
Location: Melbourne, Australia

PostPosted: Mon Mar 13, 2006 10:48 am    Post subject: Reply with quote

Gentoo Linux Kernel Upgrade Guide :D

Gentoo has some good documentation on the subject.
Back to top
View user's profile Send private message
jballou
Tux's lil' helper
Tux's lil' helper


Joined: 10 Mar 2005
Posts: 128
Location: Baghdad, Iraq

PostPosted: Mon Mar 13, 2006 9:10 pm    Post subject: Reply with quote

Code:

emerge --unmerge genkernel
USE="symlink" emerge gentoo-sources
cd /usr/src/linux
zcat /proc/config.gz > .config
make menuconfig

That will get rid of Genkernel, install gentoo-sources, and cop the genkernel config that you are currently under to the current kernel config. Now you need to remove about 800 modules. lspci is your friend. Good luck!
_________________
-Shuttle SN25P, Opteron 185, 74Gb WD Raptor, 2x 300Gb Barracuda 7200.9, 2x 1Gb Corsair dual channel, BFG GeForce 7800GT
-Asus Z7100 laptop, P-M 2.13, 2Gb DDR, 100Gb 7200RPM HDD, 128Mb GeForce 6600 Go.
Back to top
View user's profile Send private message
yfh2
Apprentice
Apprentice


Joined: 20 May 2004
Posts: 242

PostPosted: Mon Mar 13, 2006 10:56 pm    Post subject: Reply with quote

what's wrong with genkernel ?
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