LinuxPackages.net

 SearchPkg:





Home    |    About    |    Forums    |    Packages


Information

About this Site
Packages
Slackware® Forums
Slackware FAQ
Slackware Documents (Updated)
Slackware Art
Building Packages
Package Tools
The Perfect package(Updated)
Submitting a Package
Slackware Changelog
Build Script Archive
Top Contributors
Mirror Status/Info

Top 10 Downloads

Packages
Hits
OpenOffice.org 2.4.0
13987
mplayer-codecs 20071007
12957
Wine 0.9.60
9017
Wine 0.9.43
6234
slapt-get 0.9.12d
5978
Qt4 4.3.0
4552
Bootsplash 12.0
4355
wxWidgets 2.8.7
3895
NTFS-3G 1.2412
3822
SlackE17 20070723
3221

Advertisment


Quick Links

Slackware.com
SATLUG
Slack Mirrors List
Slapt-Get
SlackUpdate
Kernel Howto

Print Print
PDFPDF
The readme file that comes with the kernel is good but you can skip a few of the steps it has in there to build the new kernel.  The reason is the make file for the kernel will do alot of the work for you.  I only recommend doing this with Slackware I have heard other distros dont like it at all.

Step 1.  Fixing up /etc/lilo.conf

We need to fix up /etc/lilo.conf for this.  Even if you dont use the method we are going to talk about its a good idea for a safety net in case your new kernel doesn't work. Add the below entires to your lilo.conf

# Backup Image
image = /vmlinuz.old
root = /dev/sda3
label = oldlinux

Note: replace /dev/sda3 with your boot partition.

Step 2.  Compiling the kernel the quick way

Once you have this you are ready to build that new kernel the quick way.  Below is the sequence you should follow:

  • make mrproper (I dont do this most of the time since it will remove your .config)
  • make menuconfig (ncurses based kernel configuration menu system)
  • make dep (fixor up them dependencies)
  • make clean (get rid of old o files and stuff)
  • make (build it)
  • make install (read the note below for this one)
  • make modules (build the modules)
  • make modules_install (install the modules)

Note: "make install" is one that most don't use but if you run Slackware it will work fine.  What it does is: copies, moves, and renames all the files to where they need to be.  It also updates lilo for you.  This method is very clean fast and easy to use.  Again saves a few steps that the readme file says you need to make.  If your new kernel fails to work you can boot the old one by hitting the left shift key at the lilo prompt during bootup and typing oldlinux.  Nice safety net :D.  Ok don't tell the RH users about this or AC might change the code so only they can do it

TG    


Advertisment




Copyright ©1997-2006 LinuxPackages Network. All rights reserved.
Slackware is a registered trademark of Patrick Volkerding and Slackware Linux, Inc.

Advertising - Privacy Statement - Terms of Use - Build: 2002071201
FTP Hosting provided by The New York Internet Company