Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to upgrade from 2.4x to 2.6x
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
liquiz
n00b
n00b


Joined: 08 Oct 2004
Posts: 38

PostPosted: Sat Oct 23, 2004 1:31 am    Post subject: How to upgrade from 2.4x to 2.6x Reply with quote

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
View user's profile Send private message
cromero
n00b
n00b


Joined: 09 Oct 2004
Posts: 11

PostPosted: Sat Oct 23, 2004 3:13 am    Post subject: compiling... Reply with quote

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:
Code:

make menuconfig

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
View user's profile Send private message
labrador
Guru
Guru


Joined: 04 Oct 2003
Posts: 316

PostPosted: Sun Oct 24, 2004 3:12 pm    Post subject: Need module-init-tools Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc 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