LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-15-2016, 10:37 AM   #1
me_h
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, 10:49 AM   #2
bassmadrigal
Senior Member
 
Registered: Nov 2003
Location: Newport News, VA
Distribution: Slackware
Posts: 4,401

Rep: Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342
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, 10:53 AM   #3
yenn
Member
 
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 10:56 AM.
 
1 members found this post helpful.
Old 11-15-2016, 11:20 AM   #4
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2 on Lenovo Thinkpad W520
Posts: 7,744

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

Last edited by Didier Spaier; 11-15-2016 at 11:21 AM.
 
6 members found this post helpful.
Old 11-18-2016, 01:52 AM   #5
me_h
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!
 
  


Reply

Tags
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 01:10 PM
trying to update lilo on my usb hdd tells me /etc/lilo.conf wasn't found daweefolk Slackware 8 04-23-2010 02:20 AM
Cent OS install on an Optiplex 320... installed lilo... need help with lilo.conf hcervan Linux - Newbie 7 01-18-2008 09:07 AM
Upgraded kernel, lilo.conf, didn't run /sbin/lilo dtashima Linux - Newbie 4 10-18-2004 12:21 PM
lilo.conf and lilo.conf.anaconda difference blackzone Linux - General 1 07-06-2004 04:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:45 PM.

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