LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   No /etc/lilo.conf ! (https://www.linuxquestions.org/questions/slackware-14/no-etc-lilo-conf-4175593583/)

me_h 11-15-2016 09:37 AM

No /etc/lilo.conf !
 
I have an UEFI laptop with GPT (Slackware dual boot with Windows 10). I have tried Slackware 14.1 and 14.2 on it and until recently everything worked fine. A few days ago I reinstalled Slackware 14.2 and noticed that there is no /etc/lilo.conf. Therefore, I ran into problem with kernel upgrades.

In previous installation there was an /etc/lilo.conf. Is there anything that I may be doing wrong? What should I do to resolve this problem?

Thank you.

bassmadrigal 11-15-2016 09:49 AM

If you have UEFI enabled, by default, Slackware uses elilo instead of regular lilo, as regular lilo does not support UEFI booting (it only supports BIOS).

I don't have any UEFI-enabled installations, so I'm limited in my knowledge of elilo, but I believe you just need to copy the new kernel to your EFI partition. However, there'll probably be more knowledgeable people who will hop in here and provide you better guidance.

You can also read the UEFI/elilo SlackDoc page for some more information

yenn 11-15-2016 09:53 AM

Did you install lilo package? If you did full install (recommended), lilo package must be there.

Did you configure lilo during installation? If not, run liloconfig, which will create /etc/lilo.conf for you.


Edit: As bassmadrigal correctly pointed out, you need elilo for UEFI boot. In that case you can ignore my advice about regular lilo.

Didier Spaier 11-15-2016 10:20 AM

As soon as your new kernel is installed, run eliloconfig as root.

me_h 11-18-2016 12:52 AM

Thank you @bassmadrigal . UEFI/elilo SlackDoc was really helpful. I managed to boot the new kernel by placing a copy of it under Slackware directory in my EFI partition (/boot/efi/EFI/Slackware/) and adding a boot entry for it in /boot/efi/EFI/Slackware/elilo.conf file. Nevertheless, it wasn't the case with Slackware 14.1 and I didn't have to manually copy the new kernel!


All times are GMT -5. The time now is 04:55 PM.