LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 12-18-2003, 09:09 AM   #1
DarkstarNL
LQ Newbie
 
Registered: Oct 2003
Location: The Netherlands
Distribution: Debian Sarge
Posts: 22

Rep: Reputation: 15
Upgrading to 2.6


Hey guys i have a question

I would like to upgrade my linux 2.4 kernel to 2.6
are there any other thing i need to do exept compiling the kernel.
 
Old 12-18-2003, 09:24 AM   #2
ghostwalker
Member
 
Registered: Jun 2003
Posts: 160

Rep: Reputation: 30
For building the 2.6 kernel

Take and read the following:

http://ftp.kernel.org/pub/linux/kern...loween-2.5.txt

You need to get the module-init-tools.

Use lspci -v to help select your hardware. This will be helpful for configuring the 2.6 kernel.

make mrproper
make menuconfig
make
make modules_install
make install

Then modify you lilo.conf or grub.txt

make install installs vmlinuz into the boot directory along with System.map
It creates a symbolic link to you old vmlinuz -> vmlinuz.old and System.old

All you need to do is add entry for the old vmlinuz. I use lilo.conf

This is mine....

image=/boot/vmlinuz
initrd=/boot/initrd-2.6.0-test11
label=Linux2.6
read-only

** This would be you redhat config. **
image=/boot/vmlinuz.old
vga=791
append="hdc=scsi hdd=scsi apm=power-off nomce"
label=Linux2.4
initrd=/boot/initrd.gz
read-only

If you are using lilo, issue lilo -v or modify you menu.lst for grub.

Hope this helps. The more people use 2.6 the better.
 
Old 12-18-2003, 09:31 AM   #3
DarkstarNL
LQ Newbie
 
Registered: Oct 2003
Location: The Netherlands
Distribution: Debian Sarge
Posts: 22

Original Poster
Rep: Reputation: 15
So no recompiling binutils or so??
 
Old 12-18-2003, 11:31 AM   #4
BrianNJ
Member
 
Registered: Jul 2003
Distribution: Gentoo 2004.0
Posts: 157

Rep: Reputation: 30
http://www.linuxquestions.org/questi...threadid=73436

might help you out too.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Upgrading to Badger! Can't login anymore after upgrading? BellaSha87 Ubuntu 1 12-03-2005 01:09 PM
upgrading (or not upgrading) glibc richarde Slackware 9 09-12-2005 01:56 AM
upgrading to 10 from 9.1 Fascistchicken Slackware 1 10-08-2004 07:13 PM
upgrading? clericvash Mandriva 2 09-23-2004 09:42 AM
upgrading 8.1 to 9.0 cerberus Slackware 6 05-13-2003 05:06 PM


All times are GMT -5. The time now is 05:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration