Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 11-15-2016, 09:37 AM   #1
LQ Newbie
Registered: Jul 2016
Distribution: Slackware
Posts: 16

Rep: Reputation: Disabled
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.
Old 11-15-2016, 09:49 AM   #2
LQ Guru
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 5,294

Rep: Reputation: 3043Reputation: 3043Reputation: 3043Reputation: 3043Reputation: 3043Reputation: 3043Reputation: 3043Reputation: 3043Reputation: 3043Reputation: 3043Reputation: 3043
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
4 members found this post helpful.
Old 11-15-2016, 09:53 AM   #3
Registered: Jan 2011
Location: Czech Republic
Distribution: Slackware, Gentoo, FreeBSD
Posts: 172

Rep: Reputation: 26
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.

Last edited by yenn; 11-15-2016 at 09:56 AM.
1 members found this post helpful.
Old 11-15-2016, 10:20 AM   #4
Didier Spaier
LQ Addict
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2.1 on Lenovo Thinkpad W520
Posts: 8,493

Rep: Reputation: Disabled
As soon as your new kernel is installed, run eliloconfig as root.

Last edited by Didier Spaier; 11-15-2016 at 10:21 AM.
6 members found this post helpful.
Old 11-18-2016, 12:52 AM   #5
LQ Newbie
Registered: Jul 2016
Distribution: Slackware
Posts: 16

Original Poster
Rep: Reputation: Disabled
Thumbs up

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!


elilo, kernel upgrade, lilo, liloconf, slackware 14.2

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Edit lilo.conf, run /sbin/lilo, but lilo won't take changes lukameen Slackware 2 02-10-2012 12:10 PM
trying to update lilo on my usb hdd tells me /etc/lilo.conf wasn't found daweefolk Slackware 8 04-23-2010 01:20 AM
Cent OS install on an Optiplex 320... installed lilo... need help with lilo.conf hcervan Linux - Newbie 7 01-18-2008 08:07 AM
Upgraded kernel, lilo.conf, didn't run /sbin/lilo dtashima Linux - Newbie 4 10-18-2004 11:21 AM
lilo.conf and lilo.conf.anaconda difference blackzone Linux - General 1 07-06-2004 03:15 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:37 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration