[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Machine freezes after kernel update





On 10/9/2015 9:09 AM, Brad Rogers wrote:
On Thu, 8 Oct 2015 23:09:36 +0200
Miroslav Skoric <skoric@eunet.rs> wrote:

Hello Miroslav,

In fact, (and in my case) LILO does delete old kernels during the
If that's true, that's a *serious* bug.  LILO (or Grub, come to that)
should never delete kernels.  I know Grub doesn't but, as I said before,
I've not used LILO for some years.  Even so, I'd be surprised if it could
actually _delete_ kernels like that.  Keeping an old, known to work
kernel is the sensible thing to do.


I have not used LILO for a long time, but it sounds like it works the same as it did way
back when.

LILO configured to point at symbolic links instead of directly at the kernel. 2 symlinks for current kernel 'vmlinuz' and 'initrd' and similar for the previous kernel. This way instead of mucking about with reconfiguring and re-writing stuff in MBR the symbolic links just
need to be updated each time.

If a newly installed kernel doesn't work, you should be able to boot the previous kernel. If you then uninstall the package for the kernel that had problems, you may have to check the symlinks to make sure they point to valid stuff and didn't get left dangling.

Later, Seeker


Reply to: