LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 06-26-2019, 11:27 AM   #16
trite
Member
 
Registered: Feb 2016
Location: Sweden
Distribution: Slackware64-15.0
Posts: 119

Rep: Reputation: 60

Quote:
Originally Posted by rivercat View Post
So does slackware setup install Elilo by default, or is it more common to use UEFI boards in BIOS-mode? Something I just heard about called the Compatibility Support Module.
Yes, it tries to find UEFI partition and then you get a prompt if you want to skip lilo installation and go to elilo installation instead.

Installing GRUB works aswell but you have to do it yourself, the installation wizard does not prompt for it. You can do it by:

Code:
$grub-install /dev/sda
$grub-mkconfig -o /boot/grub/grub.cfg
/dev/sda = the disk where you want bootloader installed, usually the first one or the one with your root partition/EFI partition on. I was using GRUB first because I had never used elilo before, but when I found out how it worked I think it was somewhat easier mostly cause it stays out of my way and it is included by default (:
 
2 members found this post helpful.
Old 06-26-2019, 11:55 AM   #17
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,345

Rep: Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588
The good thing about grub is once it is setup in Slackware your done, no editing config files or copying kernels to /boot/efi/EFI/Slackware, or grub-mkconfig -o. When kernel updates happen just have to remember to run mkinitrd if you use the generic.

Last edited by colorpurple21859; 06-26-2019 at 11:58 AM.
 
3 members found this post helpful.
Old 06-26-2019, 02:21 PM   #18
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,781

Rep: Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431
What I see as not being said here is that from some POVs, including mine, GRUB is hugely automated and complicated to do such a simple job that, in most cases , needs to occur for less than a second, once a day. Now that might be fine for Single System boxen but for MultiBoot systems it is a royal pita. I despise OSProber and any time I'm forced to use GRUB2 I disable it which of course means I then have to make entries manually which is insanely more complicated than with LILO. Plus when we run /sbin/lilo it imediately informs us if we've been successful or not. AFAIK GRUB will leave us ignorant until it fails, requiring a far more arcane litany of items and syntax just to recover and boot. Even simpler than LILO for that chore is Syslinux. Why isn't anyone complaining about it's "lack of development"? Why? Because it just works and it is EZPZ to deploy and satisfy. That brings up a pregnant question - Will UEFI diminish or even ruin the viability of Syslinux? and if not now, ever? From my POV that would be a catastrophic loss and I will resist it for as long as I possibly can.

Oh yeah and what about that ancient design for loudspeakers still in use in essentially unchanged design over 100 years later? and don't even consider The Wheel, right? Unfortunately we have all been assaulted by the whole "New==Improved Mantra" and the simple fact is things are not good because they are new anymore than they are good because they are old. They are good or bad because they do a proper job or they don't. I am reminded that one of my favorite agencies is NASA who have accomplished world-changing things on a ridiculously low budget, yet they spent a LOT of money trying to develop a ball point pen or some replacement technology that would flow ink despite Zero G... until they were embarrassed to discover the Russian space agency simply used pencils.

Not only are PatV, Eric and all the terrific devs who assist in Slackware obviously not imbeciles but they also should be highly respected for making choices NOT just to prefer old stuff OR new stuff, but select that which works best AND keeps the power in the hands and brains of Owner/user/Admins. Large hard drives must necessarily force us to GPT and that seems to be a good thing but over complicating the simple boot process seems unnecessary and foolish. I see no reason for eLILO to be seen as some old toy fit for the junk dump. LILO will ultimately have to go but why must eLILO go with it? Am I missing something? How hard can it be to fix any issues it may have as long as it sticks to "doing one job and doing it well"? Hmmm wherever have I heard that before?
 
7 members found this post helpful.
Old 06-26-2019, 02:45 PM   #19
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by enorbet View Post
I am reminded that one of my favorite agencies is NASA who have accomplished world-changing things on a ridiculously low budget, yet they spent a LOT of money trying to develop a ball point pen or some replacement technology that would flow ink despite Zero G... until they were embarrassed to discover the Russian space agency simply used pencils.
Sounds like you got hyped on the partial story floating around the internet. This is is commonly posted, because it sounds just like what we expect from the government. Waste. But it is not the actual full story. NASA didn't develop the pen. NASA didn't even request the pen. It was developed by an outside manufacturer who put up $1M of the company's money for R&D. They then showed the pen to NASA and after extensive testing, NASA started using it in 1967, followed later by the Soviet Union. And they reportedly paid $2.39 per pen for buying in bulk (from the $3.98/pen retail price).

Why aren't pencils used in space? Well, back then, mechanical pencils were extremely expensive (NASA tried that and it went public and there was massive backlash) and wood pencils are quite flammable in a pure oxygen environment (see Apollo 1 for more details on flammability in pure oxygen environments). Plus, the graphite used in pencils will flake as they're being used and can break. And graphite is conductive, so you can see the potential problems with that.

https://www.scientificamerican.com/a...ion-nasa-spen/

Quote:
Originally Posted by enorbet View Post
I see no reason for eLILO to be seen as some old toy fit for the junk dump. LILO will ultimately have to go but why must eLILO go with it? Am I missing something? How hard can it be to fix any issues it may have as long as it sticks to "doing one job and doing it well"? Hmmm wherever have I heard that before?
My only complaint with elilo is a lack of a graphical selection screen. And I don't think there's any plans to add one, so it makes it difficult if you want to multiboot or select between multiple kernels and/or boot options. I've heard rEFInd doesn't have those issues, but I've been too lazy to test it.

I still use elilo and am relatively happy with it. If that changes, I may decide to try other options, but I imagine grub will be on the bottom of that list unless it becomes the default bootloader in Slackware.
 
3 members found this post helpful.
Old 06-26-2019, 03:05 PM   #20
chrisVV
Member
 
Registered: Aug 2010
Posts: 548

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Quote:
Originally Posted by enorbet View Post
What I see as not being said here is that from some POVs, including mine, GRUB is hugely automated and complicated to do such a simple job that, in most cases , needs to occur for less than a second, once a day. Now that might be fine for Single System boxen but for MultiBoot systems it is a royal pita. I despise OSProber and any time I'm forced to use GRUB2 I disable it which of course means I then have to make entries manually which is insanely more complicated than with LILO. Plus when we run /sbin/lilo it imediately informs us if we've been successful or not. AFAIK GRUB will leave us ignorant until it fails, requiring a far more arcane litany of items and syntax just to recover and boot.
Rant on. Lilo is for MBR/legacy boot ups. What you are missing is that the OP was asking about UEFI boot-up, for which lilo is useless. The problem with elilo on the other hand is that it is "a royal pita" (as you put it) for "MultiBoot systems". That is because with elilo you have to go through the UEFI boot menu to pick your boot options, which is a nuisance. It usually requires you to press some special key such as F2, F12 or Esc in a small window during boot-up to reach the menu. Much better is to use rEFInd in my opinion, or if not then grub.

Both rEFInd and grub also have the advantage that they can read the kernel image from any partition, not just EFI system partition. That means there is no need to run eliloconfig every time you update your kernel.
 
1 members found this post helpful.
Old 06-26-2019, 03:14 PM   #21
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,781

Rep: Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431
Thank you for the clarification on the NASA story and hype surrounding it. I did buy into it because I have personally witnessed people overthinking issues and missing what's right in front of them. In fact, I do it sometimes. I suppose many do it as well or there wouldn't even be the term "KISS". We wouldn't need reminding if it was de rigeur. At polar odds with this is software where so much of it, especially in Enterprise and the proprietary world (a la MS et al), is commercial where income depends on getting clients to replace regularly and routinely. Planned Obsolescence is a virus in many cases. Few things are built to last anymore and that's likely a net gain except for real fundamentals.
 
2 members found this post helpful.
Old 06-27-2019, 02:04 AM   #22
rivercat
Member
 
Registered: Aug 2010
Location: USA
Distribution: Slackware 14.1, LFS (someday)
Posts: 40

Original Poster
Rep: Reputation: 0
Thanks guys, I'll use elilo!
 
Old 06-27-2019, 12:47 PM   #23
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by chrisVV View Post
That means there is no need to run eliloconfig every time you update your kernel.
This is only needed with elilo to update elilo.conf to point to the new kernel. If you use the same names for kernels/initrds or manually edit elilo.conf to point to the new kernel/initrd, there's no need to do anything further.
 
1 members found this post helpful.
Old 06-27-2019, 12:51 PM   #24
khronosschoty
Member
 
Registered: Jul 2008
Distribution: Slackware
Posts: 648
Blog Entries: 2

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
Quote:
Originally Posted by bassmadrigal View Post
This is only needed with elilo to update elilo.conf to point to the new kernel. If you use the same names for kernels/initrds or manually edit elilo.conf to point to the new kernel/initrd, there's no need to do anything further.
Took me a while to figure this out. If you don't change the kernel names you can just copy the kernel and the initrd to the proper place with the same name.
 
Old 06-27-2019, 01:26 PM   #25
chrisVV
Member
 
Registered: Aug 2010
Posts: 548

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Quote:
Originally Posted by chrisvv
Both rEFInd and grub also have the advantage that they can read the kernel image from any partition, not just EFI system partition. That means there is no need to run eliloconfig every time you update your kernel.
Quote:
Originally Posted by bassmadrigal View Post
This is only needed with elilo to update elilo.conf to point to the new kernel. If you use the same names for kernels/initrds or manually edit elilo.conf to point to the new kernel/initrd, there's no need to do anything further.
You are missing the point. You have to copy the kernel image into /boot/efi/EFI/Slackware, or run eliloconfig to do that for you. If you use rEFInd or grub, it can read /boot/vmlinuz directly, so there is no need to copy anything when you update the kernel.

Last edited by chrisVV; 06-27-2019 at 01:30 PM.
 
Old 06-27-2019, 01:31 PM   #26
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by chrisVV View Post
You are missing the point. You have to copy the kernel image into /boot/efi/EFI/Slackware, or run eliloconfig to do that for you. If you use rEFInd or grub, it can read /boot/vmlinuz directly, so there is no need to copy anything when you update the kernel.
I understood the first part of your message, I was just stating that eliloconfig itself is not required for when upgrading a kernel with elilo.
 
Old 06-27-2019, 01:43 PM   #27
chrisVV
Member
 
Registered: Aug 2010
Posts: 548

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Quote:
Originally Posted by bassmadrigal View Post
I understood the first part of your message, I was just stating that eliloconfig itself is not required for when upgrading a kernel with elilo.
Well it wasn't obvious you understood it, because you suggested that you need "to update elilo.conf to point to the new kernel", and "if you use the same names for kernels/initrds or manually edit elilo.conf to point to the new kernel/initrd, there's no need to do anything further". You absolutely don't need to update or edit elilo.conf, or rename anything. You just need to run eliloconfig or copy the kernel image (and the initrd if using kernel-generic) into /boot/efi/EFI/Slackware.

Anyway, yes you can copy the kernel image and the initrd directly instead of running eliloconfig if you want. You don't need to do any of those things with rEFInd or grub.
 
Old 06-27-2019, 01:52 PM   #28
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by chrisVV View Post
Well it wasn't obvious you understood it, because you suggested that you need "to update elilo.conf to point to the new kernel", and "if you use the same names for kernels/initrds or manually edit elilo.conf to point to the new kernel/initrd, there's no need to do anything further". You absolutely don't need to update or edit elilo.conf, or rename anything. You just need to run eliloconfig or copy the kernel image (and the initrd if using kernel-generic) into /boot/efi/EFI/Slackware.

Anyway, yes you can copy the kernel image and the initrd directly instead of running eliloconfig if you want. You don't need to do any of those things with rEFInd or grub.
Yes, I am aware how elilo functions. You stated you had to run eliloconfig, and I just wanted to make sure people knew that it wasn't required for elilo to function. I just didn't feel it warranted explaining how elilo functioned as I suspected those familiar with it would've understood what I meant.

Sorry for the confusion.
 
Old 06-27-2019, 02:04 PM   #29
chrisVV
Member
 
Registered: Aug 2010
Posts: 548

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
I think we can agree with this formula: lilo is a pain because after installing a new kernel you need to run liloconfig to put the address of the new image into the sector where you have installed lilo (normally the MBR) as a jump address. elilo is a pain because after installing a new kernel you need to copy the kernel image (and initrd if relevant) into the ESP because that is all elilo can read, either by invoking eliloconfig or doing it directly. rEFInd (UEFI only) and grub (MBR/BIOS and UEFI) are much better because they avoid all this hassle.
 
Old 06-27-2019, 02:21 PM   #30
PROBLEMCHYLD
Senior Member
 
Registered: Apr 2015
Posts: 1,201

Rep: Reputation: Disabled
Quote:
Originally Posted by chrisVV View Post
I think we can agree with this formula: lilo is a pain because after installing a new kernel you need to run liloconfig to put the address of the new image into the sector where you have installed lilo (normally the MBR) as a jump address. elilo is a pain because after installing a new kernel you need to copy the kernel image (and initrd if relevant) into the ESP because that is all elilo can read, either by invoking eliloconfig or doing it directly. rEFInd (UEFI only) and grub (MBR/BIOS and UEFI) are much better because they avoid all this hassle.
A script can automate the tasks. I normally just do everything manually because I don't know how to script in Linux. Its really NOT that bad. I use a text editor to replace all of the version numbers. I hit the tab on boot and get the option menu.

Code:
chooser=simple
default=4.19.55
delay=1
prompt
timeout=1
image=vmlinuz
  append="boot=live config union=overlay noswap noprompt ip=frommedia live-media-path=/dmt/live toram=filesystem.squashfs vga=788" 
  initrd=initrd.img
  label=1.0.0
  root=/dev/sda5
image=vmlinuz-generic-4.19.55
  append="resume=/dev/sda6"
  initrd=initrd.gz
  label=4.19.55
  read-only
  root=/dev/sda5
 
1 members found this post helpful.
  


Reply

Tags
encryption, lilo, uefi



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
Can't get dual boot, win 7 uefi and elementary freya os uefi working shywolf Linux - Newbie 4 12-10-2015 06:14 PM
how to install linux mint side by side windows into an uefi machine without uefi partition valgalsan Linux - Newbie 2 11-03-2015 12:25 PM
Can't install LM 32bit with UEFI disabled on UEFI Asus X200MA laptop dblaisde Linux Mint 3 10-15-2015 05:37 AM
Help Creating UEFI A MENU For My Bootable (BIOS/UEFI) CDROM ssenuta Linux - Hardware 0 08-27-2012 09:11 PM

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

All times are GMT -5. The time now is 03:32 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