Re: i made a boo-boo
Mail forwarded back to list - Chris
----- Forwarded message from Larry Smith <doccpu@yahoo.com> -----
Date: Thu, 20 Jun 2002 06:50:28 -0700 (PDT)
From: Larry Smith <doccpu@yahoo.com>
Subject: Re: i made a boo-boo
To: Chris Kenrick <chrisk@aurema.com>
I think this may have happened:
The LILO entry is the name of a link in the root
directory. It links to an actual kernel file in the
boot directory.
If you copy over the file in the /boot directory with
a new kernel, I think you need to remove and remake
the link in the root directory.
Something like this:
ln -s /boot/vmlinuz_2.2.19 vmlinuz
You'll need to boot from the CD or a boot floppy to
get to your hard disk, then maybe this will solve your
problem.
As has been suggested, it's best to make your new
kernal a different LILO entry, leaving you the option
to boot back to your original kernel.
If you do that, copy your new kernel into the /boot
directory by some name you choose, make a link to it
in the root directory (/), and use the root name as
the LILO entry, giving in a different label, like
"new" or something.
--- Chris Kenrick <chrisk@aurema.com> wrote:
> On Wed, Jun 19, 2002 at 11:31:08PM -0700, alephtnull
> wrote:
> > Hi, I have made a boo-boo. I recompiled my kernel
> (after 5 months
> > doing make dep,make clean, make modules and make
> modules_install) then
> > make bzImage then copied bzImage to vmlinuz and
> backed up vmlinuz
> > (just in case something goes wrong) then issued
> the command "lilo" to
> > update my changes then rebooted...
> >
> > everything should be ok but when I rebooted, after
> lilo starts loading
> > it reboots again and when lilo starts loading, it
> does this again and
> > again... Unfortunately, I lost my rescue
> disk...help!
>
> Well, you're in a bit of a pickle. For next time,
> its a good idea to
> make a separate LILO entry for the new kernel so you
> can easily revert
> back to the old one if things go wrong. I would
> suggest downloading the
> Debian rescue disk again (or tomsrtbt), then use
> that to revert back to
> the old kernel (ie mount drive, copy old kernel back
> to vmlinuz, etc).
>
> - Chris
>
>
> --
> To UNSUBSCRIBE, email to
> debian-user-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
>
__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com
----- End forwarded message -----
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: