LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-19-2004, 04:57 AM   #1
rosol11
LQ Newbie
 
Registered: Mar 2004
Location: Cracow, POLAND
Distribution: Red Hat 9.0
Posts: 13

Rep: Reputation: 0
Unhappy Migrating to Kernel 2.6.x


Hello everyone,


I am considering migration to 2.6.x kernel from 2.4.x series, however I have some questions referring to certain steps of kernel upgrading procedure.

They say to to the following with 2.6.x series:

$ make bzImage
$ make modules
$ su
password:
# make modules_install
# make install

I know that instead of the 2 firs lines I could just type "make". That's no problem, however I'd like to skip the last step - the "make install" command, because I'd like to update my lilo.conf manually.

I read that this command (make install) also copies the bzImage and System.map into /boot directory and makes some links.

And here go my questions:

1. I've never heard about any need of copying nothing else but bzImage into /boot directory. And here suddenly they say that the System.map file has to be copied and renamed and also some links have to be removed and re-created. I have these links in the /boot directory - they were made together with normal RH9 Linux installation and they point to 2.4 kernel image and System.map-2.4. Do I have to change them to point into the new System.map and linux kernel image each time when adding a new kernel? What about having many kernels and the corresponding entries in lilo.conf?

2. What's the use of these links? What would happen if I apply the following procedure:

$ make bzImage
$ make modules
$ su
password:
# make modules_install
# cp /usr/src/linux-2.6.4/arch/i386/boot/bzImage /boot/linux_2.6.4-1
<update lilo.conf>
# lilo
# reboot

My friend did like this and 2.6.4 kernel runs smoothly, all packages required by 2.6.x kernel are up-to-date, but is this situation normal without changing ANY links and without copying ANY System.map?

Thanks in andvance,

Yours

rosol11
 
Old 04-19-2004, 05:41 AM   #2
urzumph
Member
 
Registered: Jan 2004
Location: Australia
Distribution: Debian
Posts: 168

Rep: Reputation: 30
It might fail. You also need the System.map file. Just copy that into /boot, check it's set right in lilo.conf, and you're good to go.
 
Old 04-19-2004, 09:33 AM   #3
denominator
Member
 
Registered: Oct 2003
Distribution: Red Hat 9
Posts: 42

Rep: Reputation: 15
What does the System.map file do? Ive never heard of it either, but im just a noob
 
Old 04-19-2004, 09:39 AM   #4
rosol11
LQ Newbie
 
Registered: Mar 2004
Location: Cracow, POLAND
Distribution: Red Hat 9.0
Posts: 13

Original Poster
Rep: Reputation: 0
Thanx for the quick reply,


The only entry in lilo.conf that refers to map files is the general option:

map=/boot/map

which is said to point to the "map" file which contains names and localizations of kernel images. How will it know that I've just copied the new System.map into /boot? And if I can rename the new System.map into e.g. System.map-2.6.4 how is the system about to know what to do? I still don't get what's the use of the link System.map that points to System.map-2.4.20-8 in my case. What will happen when I make the link point to System.map-2.6.4? Shall I do anything with these links to have several different independent fully working kernel images?


Yours

rosol11
 
  


Reply



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
Kernel panic (Debian: migrating from 2.4 to 2.6 kernel) VertX Linux - Software 4 02-05-2005 09:32 AM
Migrating to kernel 2.6 and LVM Borelian Linux - Software 0 05-12-2004 09:43 AM
Difficulties after migrating to Kernel 2.6.3 farmerdan Linux - General 5 03-07-2004 02:37 PM
Migrating to 2.6 as first kernel compile farmerdan Linux - General 6 02-22-2004 11:50 AM
migrating to 2.6 kernel qwijibow Linux - General 4 10-21-2003 08:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:54 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
Open Source Consulting | Domain Registration