View previous topic :: View next topic |
Author |
Message |
liquiz n00b
Joined: 08 Oct 2004 Posts: 38
|
Posted: Sat Oct 23, 2004 1:31 am Post subject: How to upgrade from 2.4x to 2.6x |
|
|
Hello Folks
Anyone here happen to know what needs to be done to upgrade a 2004.2 using the 2.4 kernel to the 2.6 tree?
Though I dont want to I am willing to re-install and re-do the entire ball of wax if thats the cleanest way. Its a good time to upgrade from a 9 gig drive to a 120 gig.
Peace,
Liquiz |
|
Back to top |
|
|
cromero n00b
Joined: 09 Oct 2004 Posts: 11
|
Posted: Sat Oct 23, 2004 3:13 am Post subject: compiling... |
|
|
If u want to compile the kernel this is what u need to do:
1) get the kernel from kernel.org
2) uncompress it in /usr/src/:
Code: |
cd /usr/src/
tar jxvf PATH/linux-VERSION.tar.bz2
|
go in the new kernel direcotry
3) select modules and built-ins:
here u need to select what ever u want ur kernel to have...
u dont need scsi emulation to burn nemore if u have a IDE burner
always remember DEVFS
use ALSA drivers instead of OSS
4) to compile do:
Code: |
make && make modules_install
|
5) copy the image, config and map:
Code: |
cp arch/i386/boot/bzImage /boot/vmlinuz-2.6.x
|
this is the most common i believe but u can put it wherever u want, just be sure to tell grub where u put it.
The config and map are not a need but i always copy them to /boot/ with their version like the image. The files are .config & System.map in the directory where u compiled the kernel
6) GUB:
edit /boot/grub/grub.conf and add/edit some lines so u can boot the new kernel _________________ Ido not fear computers, i fear the lack of them |
|
Back to top |
|
|
labrador Guru
Joined: 04 Oct 2003 Posts: 316
|
Posted: Sun Oct 24, 2004 3:12 pm Post subject: Need module-init-tools |
|
|
I would not start from kernel.org
We have good kernel packages tuned for Gentoo needs in portage.
Why reinvent the wheel?
Edit /etc/portage/package.keywords and add a line like this:
Code: |
sys-kernel/development-sources ~sparc
|
Emerge both module-init-tools and development-sources.
The suggestion I heard was to not use make oldconfig to convert your
previous 2.4 config into a 2.6 config, but to start with one
already donated from a web site. Then use make menuconfig to
tune it to your needs.
Check out this resource, which posts many configs and also has a link to a howto:
http://dev.gentoo.org/~ciaranm/configs/kernel/2.6.x/
Note that your XF86Config or Xorg.conf file will also need some
tuning after changing to the 2.6 kernel. |
|
Back to top |
|
|
|