Ok here we go ...
Firstly did you leave the old kernel in Lilo.conf originally == you're
saved, boot as normal, turn on caps-lock before LILO appears (or hold Shift)
use TAB to see the image names and choose the old one ...
If not then it's messier, but doable ...
Boot from the bootdisk ...
Mount the drive as /mnt (or wherever)
Edit the lilo.conf as needed
Run lilo with the options to use another config file (not /etc.lilo.conf)
# /mnt/sbin/lilo -r /mnt
or you could use...
#/mnt/sbin/lilo -C /mnt/etc/lilo.conf
From the LILO man page ...
-r root-directory
Before doing anything else, do a chroot to the
indicated directory. Used for repairing a setup
map file. Use together with -v to find out what
lilo is about to do.
-C config-file
lilo reads its instructions about what files to map
from its config file, by default /etc/lilo.conf.
This option can be used to specify a non-default
config file.
Hope this helps :o)
Proinnsias
> -----Original Message-----
> From: nick_elliott at ie.ibm.com [SMTP:nick_elliott at ie.ibm.com]
> Sent: Friday, August 20, 1999 10:26 AM
> To: ilug at linux.ie> Subject: [ILUG] I'm in trouble
>>>>> Guys,
>> I need help badly. I installed kernel 2.2.11 and compiled it but some
> modules that I had running before ( vme, gpib0, ibmtr, nfs ) were no
> longer
> loading so I went back into "make menuconfig" and added in a few extra
> options. However, now my PC won't boot. What can I do to restore my PC. I
> have a boot disk and can get onto to my hard drive by mounting the hda3
> partition. What can I do to restore the kernel so that I can get the PC to
> boot. I tried to change the /etc/lilo.conf file to point to the old kernel
> image but I cannot run /sbin/lilo to reset it. I badly need help - all
> advice would be greatly appreciated.
>> Mise Le Meas/Kind Regards/Mit freundlichen Grüßen
>> Nick Elliott,
> Turbo Vixen Software Engineer,
> Tel: (01) 8153031
> Mobile: (086) 8333271
> E-mail: Nick_Elliott at ie.ibm.com>>>> --
> Irish Linux Users' Group: ilug at linux.ie>http://www.linux.ie/mailman/listinfo/ilug for (un)subscription
> information.
> List maintainer: listmaster at linux.ie
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!