On Tuesday 12 December 2000 11:57 am, you wrote:

> I'm debating on compiling it this evening, just to try out,  any
> specific tips on how I could compile and install it without killing my
> existing kernel install?

It easy to make sure you don't clobber the old install with a few 
precautions.  First, check /usr/src/ for a linux directory.  If it is a 
sym link, unlink it.  If it is an actual directory, mv it to something 
else like linux-2.2.16 or whatever you will remember.  Grab the source 
tarball untar the new source in /usr/src.  It should make a linux 
directory, if not make a sym link to it.  Also check /lib/modules, there 
should be a directory named after the version number.  Make a copy or move 
this directory.  It shouldn't conflict but better to have a back up.  

As this is your first compile, I recommend using the X menu config.  Start 
X as root, open a terminal and cd into /usr/src/linux and type make 
xconfig.  This is probably the easiest way to navigate the different 
option.  Help is there for most choices, and the interface isn't too bad.  
Once done, make dep, then make bzImage, make modules, make modules_install 
are the commands necessary to make everything.

Copy the bzImage from /usr/src/linux/arch/i386/boot to your /boot 
directory and name it something meaningful like vmlilnuz-2.2.18.  Copy the 
System.map from /usr/src/linux to your /boot directory and name it 
something meaningful like System.map-2.2.18.  

Edit /etc/lilo.conf, copy and pasting the current linux listing should 
work, plug in the right vmlinuz name, change the label and save.   Run 
lilo -v -t to test the lilo additions, and subtract the -t to make the 
changes.  Reboot and type in the new label.   This way, if the new kernel 
panics, acts funny, you just reboot and run the old kernel.  Most every 
linux box I build has at least one failsafe kernel, usually the last 
stable one.  If you like the way the new kernel is running and want to 
make it the default kernel to boot lilo, just edit the default="label" 
line in lilo.conf.  Your new kernel becomes default and the failsafe is 
still around in case something gets hosed well in the future.

Enough with the long and rambling, there is also tell of a HOWTO on 
mandrakeuser.org.  Kernel compiling is fun Aunt Slappy.

-- 
Matthew Micene                     A host is a host from coast to coast,
Systems Development Manager        and no one will talk to a host too close
Express Search Inc.                Unless the host that isn't close 
www.ExpressSearch.com              is busy, hung or dead




Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.

Reply via email to