View previous topic :: View next topic |
Author |
Message |
vinodtc n00b
Joined: 21 Nov 2005 Posts: 16
|
Posted: Mon Mar 13, 2006 10:11 am Post subject: How to switch from genkernel to gentoo-sources |
|
|
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 |
|
|
kfiaciarka Veteran
Joined: 20 May 2005 Posts: 1498 Location: Dobre Miasto, Poland
|
Posted: Mon Mar 13, 2006 10:18 am Post subject: Re: How to switch from genkernel to gentoo-sources |
|
|
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 |
|
|
vinodtc n00b
Joined: 21 Nov 2005 Posts: 16
|
Posted: Mon Mar 13, 2006 10:26 am Post subject: Hi thanks |
|
|
Thanks kfiaciarka
Yes i skipped the step of make && make modules_install
Can you pls brief more on the symlink?
Regards |
|
Back to top |
|
|
DonROberto n00b
Joined: 22 Nov 2005 Posts: 7 Location: Bratislava, Slovakia
|
Posted: Mon Mar 13, 2006 10:31 am Post subject: |
|
|
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 |
|
|
mark_alec Bodhisattva
Joined: 11 Sep 2004 Posts: 6066 Location: Melbourne, Australia
|
|
Back to top |
|
|
jballou Tux's lil' helper
Joined: 10 Mar 2005 Posts: 128 Location: Baghdad, Iraq
|
Posted: Mon Mar 13, 2006 9:10 pm Post subject: |
|
|
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 |
|
|
yfh2 Apprentice
Joined: 20 May 2004 Posts: 242
|
Posted: Mon Mar 13, 2006 10:56 pm Post subject: |
|
|
what's wrong with genkernel ? |
|
Back to top |
|
|
|