LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-21-2003, 05:19 PM   #1
purpleburple
Member
 
Registered: Jun 2002
Location: USA
Distribution: Slackware8.1
Posts: 332

Rep: Reputation: 30
If I do recompile do I have to copy System.map?


Hello. Messed up compiling so I reinstalled slack 8.1 fully. Now I have everything like new and want to recompile and just add support for video 4 lin and bttv. Please tell me if these steps are correct so I don't mess things up again >

I am going to cd to /usr/src/linux and type >
'make menuconfig'
I'll then add the options video 4 lin and bttv,etc.
then save and type>
make dep
make clean
make bzImage

rm -rf the modules in /lib/modules/2.4.18
make modules
make modules_install

Do i have to do 'depmod -a'? or does Slack do this on start-up?


then i will cp /usr/src/linux/bzImage /boot/vmlinuz-2.4.18.New
Do I have to copy System.map?
cp /usr/src/linux/System.map /boot/System.map-2.4.18.New?

Of course then update lilo.conf
and run lilo

Are these steps ok?

thanks

Last edited by purpleburple; 03-21-2003 at 05:35 PM.
 
Old 03-21-2003, 08:39 PM   #2
purpleburple
Member
 
Registered: Jun 2002
Location: USA
Distribution: Slackware8.1
Posts: 332

Original Poster
Rep: Reputation: 30
ok ... looked on google and found out from a tutorial that I cp
System.map along with version on the end. Rebooted and successfully booted my new kernel!
 
Old 03-21-2003, 08:49 PM   #3
Excalibur
Senior Member
 
Registered: Jun 2002
Location: Northern VA, USA
Distribution: Ubuntu
Posts: 1,180

Rep: Reputation: 46
The compiled bzImage will be located in the /usr/src/linux/arch/i386/boot directory.

I think you will find that the System.map in /boot is normally just a sym link. So after you copy it as you stated then;

ln -sf /boot/System.map-2.4.18.New /boot/System.map

I normally just copy the file overwritng the sym link. It depends if you want to maintain the old map files on every compile.

"depmod -a" is normally run from the /etc/rc.d/rc.modules script when required. But it doesn't hurt to run it manually. I do not know if modules_install does it.

And from what you described, there is no real need to delete the older modules. I think they will be overwritten.
 
Old 03-21-2003, 09:22 PM   #4
purpleburple
Member
 
Registered: Jun 2002
Location: USA
Distribution: Slackware8.1
Posts: 332

Original Poster
Rep: Reputation: 30
thanks

 
  


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
What is System.map and where should it go? blish_blash Linux - General 4 10-23-2004 12:23 PM
System.map rgiggs Mandriva 0 06-27-2004 05:34 PM
What is System.map for? ivanatora Linux - General 2 12-18-2003 04:23 PM
System Map vexer Slackware 3 06-06-2003 07:10 PM
boot error after using Copy Commander to copy debian system onto larger new drive Interceptor Linux - Hardware 7 05-04-2003 12:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:18 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