Click to See Complete Forum and Search --> : LILO and kernels, I need some help!


tar ciryatan
03-30-2001, 11:32 AM
Okay, here's the instructions I need to do. can someone please simplify them?
also, I NEED to get LILO installed. where do I find it?
also, if there is a method of doing this via GRUB can someone point it out to me?

--instructions for kernel installation/configuring, via the HOWTO kernel document, page 5--
Otherwise, you need to use LILO directly. It's a fairly easy package to install and work with, but it has a tendency to confuse people with the configuration file. Look at the config file (either /etc/lilo/config for older versions or /etc/lilo.conf for new versions), and see what the current setup is. The config file looks like this:

image = /vmlinuz
label = Linux
root = /dev/hda1
...

The `image =' is set to the currently installed kernel. Most people use /vmlinuz. `label' is used by lilo to determine which kernel or operating system to boot, and `root' is the / of that particular operating system. Make a backup copy of your old kernel and copy the bzImage which you just made into place (you would say `cp bzImage /vmlinuz' if you use `/vmlinuz'). Then, rerun lilo -- on newer systems, you can just run `lilo', but on older stuff, you might have to do an /etc/lilo/install or even an /etc/lilo/lilo -C /etc/lilo/config.


If you would like to know more about LILO's configuration, or you don't have LILO, get the newest version from your favorite ftp site and follow the instructions.


To boot one of your old kernels off the hard disk (another way to save yourself in case you screw up the new kernel), copy the lines below (and including) `image = xxx' in the LILO config file to the bottom of the file, and change the `image = xxx' to `image = yyy', where `yyy' is the full pathname of the file you saved your backup kernel to. Then, change the `label = zzz' to `label = linux-backup' and rerun lilo. You may need to put a line in the config file saying `delay=x', where x is an amount in tenths of a second, which tells LILO to wait that much time before booting, so that you can interrupt it (with the shift key, for example), and type in the label of the backup boot image (in case unpleasant things happen).


--------------------------------------------------------------------------------

Molecule Man
03-30-2001, 01:02 PM
I think this (http://www.mandrakeuser.org/docs/install/kupgrade3.html) is what you are looking for.

The rpm for Lilo should be found on your install cd.

bdg1983
03-30-2001, 03:30 PM
Grub? Do a search for it here (http://support.calderasystems.com/caldera/search) and you will find some very good documentation including 'Zen and the Art of Using Grub'.