Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 12-20-2003, 10:59 AM   #1
LQ Newbie
Registered: Dec 2003
Location: israel,Beer-sheva
Distribution: slackware 9.0/asplinux 9.2
Posts: 13

Rep: Reputation: 0
kernell compiling.

I have compiled new kernel and i think that something is wrong. I compiled my kernel to support advanced IP routing and as i suppose the IP command is controlling the routing. But this command is not available. So i think that i done something wrong
In order to help you to help me here is what i have done when compiled
cp /usr/src/linux-2.4.20 /usr/src/linux-compiled
cd /linux-compiled
mcedit makefile( changed the version to 1 and line 74(uncommented))
make mrproper
make menuconfig( taked old configuration and added network futures)
make dep
make clean
make bzImage
make install
make modules
make modules_install
Gone to lilo.conf and added
image = /boot/vmlinuz.old
root = /dev/hda1
label = linux

After that gone to /boot and copied to there .config file from /usr/src/linux-compiled and created symlink config to .config.
The new and vmlinuz and map are there, but i compiled the same version of kernel and maybe thats the problem. in boot i have this files

.config( copied from linux-compile new ) new ) ( Mtime is old )
system.old ( old )
boot.0300 (old )
boot.0301 (old )
@config --> .config (new )
map (new )
vmlinuz (new )
vmlinuz.old (old )
when i start lilo -v at the end it tells me
/boot/boot.0300 exists - no backup copy made
writing boot sector
Maybe I need to delete some old files from Boot?
The new version is booting without problem and
uname -r gives
Linux -4.201( the 1 i gived in makefile)
What i need to do? What this boot.0300 file is and where i need to take th new one?
Also in usr/src i have linux-2.4.20 and linux-compile

Thank to all of you!
Old 12-20-2003, 11:48 AM   #2
Senior Member
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
goto and read the Slackware Essentials Book

You DO NOT have to................
make install
make modules_install
Old 12-20-2003, 02:45 PM   #3
Registered: Jan 2003
Location: USA
Distribution: Slackware
Posts: 498

Rep: Reputation: 30
Originally posted by 320mb
goto and read the Slackware Essentials Book

You DO NOT have to................
If you don't want to take the time to help, don't bother answering. If you disagree, then explain to me how your answer helped in any way.

robik ...I believe you have some of the steps out of order. You ran make install before you added the entries to lilo.conf if I am reading you correctly. When you run make install, it renames/copies the correct files to the correct locations and runs lilo for you. Look HERE and follow EXACTLY. You MUST do things in the proper order for a successful compile.


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
Various Compiling Errors (GCC compiling Openal, GUIlib, xmms-wma) gregorya Linux - Software 2 08-27-2004 05:03 AM
Compiling in ACPI support on Compaq 2135CA (system crashes while compiling) Dag Linux - Laptop and Netbook 20 07-30-2004 07:56 PM
Recompiling or Updating the Kernell ako Linux - Newbie 1 12-29-2003 03:09 AM
reconfiguring kernell to revive sound... renegade69 Linux - Laptop and Netbook 16 10-07-2003 01:10 AM
kernell panic: attempt to kill init arielus olahus Linux - Newbie 1 03-03-2002 05:43 AM > Forums > Linux Forums > Linux - Distributions > Slackware

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

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