LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-18-2016, 04:48 PM   #1
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (current), FreeBSD, Win10, It varies
Posts: 9,952

Rep: Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147
how to update elilo ??


this is a post install update to Slack UEFI install, during the upgrade-all when it gets to update lilo, how does that work? skip it ?

I ask because I had it update lilo rebooted and lost my keyboard, and track pad, Now after re-installing again, I am back at it upgrading-all.

so when I get to that part again, if I do not get an answer by then I am going to skip updating lilo, but still need to know how to update elilo properly. Google gave me no results.

I am assuming that lilo command does not work on elilo

thanks
 
Old 11-18-2016, 04:56 PM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2.1.2 on Lenovo Thinkpad W520
Posts: 9,568

Rep: Reputation: Disabled
In a terminal as root, type
Code:
eliloconfig
whenever it wants to update lilo.

@All: if your machine's firmware allows you to choose between Legacy (aka BIOS) and UEFI booting, you may want to run lilo and eliloconfig. This will allow you to boot in both modes.

Remainder: lilo writes a boot sector on a partition or the master boot record as you like, whereas eliloconfig edits the firmware's a boot menu, and also puts files needed to boot in an EFI System Partition (ESP) if requested. So they are completely independents from each other.

Last edited by Didier Spaier; 11-18-2016 at 05:03 PM.
 
Old 11-18-2016, 05:21 PM   #3
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (current), FreeBSD, Win10, It varies
Posts: 9,952

Original Poster
Rep: Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147
Quote:
Originally Posted by Didier Spaier View Post
In a terminal as root, type
Code:
eliloconfig
whenever it wants to update lilo.

@All: if your machine's firmware allows you to choose between Legacy (aka BIOS) and UEFI booting, you may want to run lilo and eliloconfig. This will allow you to boot in both modes.

Remainder: lilo writes a boot sector on a partition or the master boot record as you like, whereas eliloconfig edits the firmware's a boot menu, and also puts files needed to boot in an EFI System Partition (ESP) if requested. So they are completely independents from each other.
interesting, it is doing dual boot, the way it is working now. I still have to hit esc to get to boot sequence, then select UEFI Slackware, as apposed to windows, if I do not hit esc then it just boots into Windows.
 
Old 11-18-2016, 05:46 PM   #4
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 6,317

Rep: Reputation: Disabled
You should be able to set elilo as default bootloader using efibootmgr from Linux.
 
Old 11-18-2016, 06:18 PM   #5
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (current), FreeBSD, Win10, It varies
Posts: 9,952

Original Poster
Rep: Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147
Quote:
Originally Posted by Emerson View Post
You should be able to set elilo as default bootloader using efibootmgr from Linux.
it's not my system, it is someone elses', that has no idea about Linux other then he has heard of it.
 
Old 11-18-2016, 06:25 PM   #6
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 6,317

Rep: Reputation: Disabled
It's easy, really. Run efibootmgr and it will list all available booloaders, also it will show which one was booted and which one will be used at next boot. Setting the next default booloader is as easy as executing efibootmgr -n XXXX, where XXXX is the number of loader.
 
Old 11-18-2016, 06:30 PM   #7
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (current), FreeBSD, Win10, It varies
Posts: 9,952

Original Poster
Rep: Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147
Quote:
Originally Posted by Emerson View Post
It's easy, really. Run efibootmgr and it will list all available booloaders, also it will show which one was booted and which one will be used at next boot. Setting the next default booloader is as easy as executing efibootmgr -n XXXX, where XXXX is the number of loader.
it is in slackbuilds, and I wonder if Slack has efivars in its system already. per slackbuilds
Quote:
Note: In order to use this, you'll have to boot your system in EFI mode and
load the "efivars" kernel module:

modprobe efivars
 
Old 11-18-2016, 07:01 PM   #8
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2.1.2 on Lenovo Thinkpad W520
Posts: 9,568

Rep: Reputation: Disabled
@Emerson: in Slackware, the handy script eliloconfig not only runs efibootmgr with the proper arguments and options but also can put in an ESP the files needed for elilo to work: EFI image, config file, kernel and initrd.

So it's way easier and less error prone to use eliloconfig for us.

That being said and for your information, George Vlahavas has written a handy GTK+3 front end to efibootmgr called guefi, see https://github.com/gapan/guefi
 
Old 11-18-2016, 07:12 PM   #9
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 6,317

Rep: Reputation: Disabled
Good, but it looks like this opportunity was missed during elilo installation, the box boots straight into another OS. Now it is efibootmgr or, as you pointed out, guefi.
 
Old 11-18-2016, 07:16 PM   #10
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2.1.2 on Lenovo Thinkpad W520
Posts: 9,568

Rep: Reputation: Disabled
Quote:
Originally Posted by Emerson View Post
Good, but it looks like this opportunity was missed during elilo installation, the box boots straight into another OS. Now it is efibootmgr or, as you pointed out, guefi.
Not at all. eliloconfig can also be used after installation.
 
Old 11-18-2016, 07:19 PM   #11
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (current), FreeBSD, Win10, It varies
Posts: 9,952

Original Poster
Rep: Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147
Quote:
Originally Posted by Emerson View Post
Good, but it looks like this opportunity was missed during elilo installation, the box boots straight into another OS. Now it is efibootmgr or, as you pointed out, guefi.
@Didier Spaier 2
with eliloconfig in Slack as it is the same that installs the elilo during boot instalation. could One then just run eliloconfig and do what @Didier Spaier said?
How?
I do not know.
 
Old 11-18-2016, 08:44 PM   #12
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (current), FreeBSD, Win10, It varies
Posts: 9,952

Original Poster
Rep: Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147
OK I got VM figured out to install Slack as UEFI so I can now experiment on eliloconfig.
 
Old 11-18-2016, 09:01 PM   #13
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 6,317

Rep: Reputation: Disabled
Quote:
Originally Posted by BW-userx View Post
OK I got VM figured out to install Slack as UEFI so I can now experiment on eliloconfig.
It does not matter how you install, you can configure both CSM and UEFI boot and choose which one you want to use. The only restriction is you have to boot in UEFI mode to set efivars, they are not available in CSM (BIOS) node.
 
Old 11-18-2016, 09:20 PM   #14
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (current), FreeBSD, Win10, It varies
Posts: 9,952

Original Poster
Rep: Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147
Quote:
Originally Posted by Emerson View Post
It does not matter how you install, you can configure both CSM and UEFI boot and choose which one you want to use. The only restriction is you have to boot in UEFI mode to set efivars, they are not available in CSM (BIOS) node.
I wasn't having any luck booting kms.s before I selected UEFI in VM setup for the VM install. both the efi partition in the EFI directory and on the slackware system /boot/efi I had no files whatsoever. So I googled VM UEFI setup then got to where I am at now.

I am just getting started on this UEFI, that I will never use on my laptop.

Last edited by BW-userx; 11-18-2016 at 09:21 PM.
 
  


Reply

Tags
elilo


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
elilo and utf8 ajevremovic Slackware 16 09-28-2016 02:44 PM
[SOLVED] elilo broken on Slackware 14.2 after Windows 10 update on dual boot UEFI system hyperhead Slackware 5 08-03-2016 02:45 PM
lilo vs elilo? coralfang Linux - Software 2 04-02-2016 11:14 PM
[SOLVED] Slackware 13.37 with elilo Old_Fogie Slackware 15 10-31-2012 09:16 AM

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

All times are GMT -5. The time now is 12:58 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
Open Source Consulting | Domain Registration