LinuxQuestions.org
Review your favorite Linux distribution.
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 05-29-2021, 01:20 PM   #1
slvr32
Member
 
Registered: Feb 2021
Posts: 33

Rep: Reputation: Disabled
mkinitrd output could use an update in messaging, beyond the mention of lilo...


I'm not sure what the messaging could be changed to, but the mention of lilo is outdated for some...

Code:
/boot
# mkinitrd -c -k 5.10.41
48147 blocks
/boot/initrd.gz created.
Be sure to run lilo again if you use it.
I happen to use lilo or elilo on my own boxes, but some probably like grub, etc...

In the case above, after a kernel upgrade, on a box with UEFI, I happen to also do the following, just for other considerations in updated messaging...

Code:
/boot
# cp vmlinuz initrd.gz /boot/efi/EFI/Slackware
On the other hand, maybe the use of mkinitrd implies that someone has also looked at other related hints about initrd, using various boot managers, etc...

Last edited by slvr32; 05-29-2021 at 01:26 PM.
 
Old 05-30-2021, 11:25 AM   #2
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
Slackware does still default to using lilo and users need to go above and beyond to be able to install with UEFI (thus allowing elilo) or switching to grub/syslinux/rEFInd after setup finishes. I think anyone who sees that message will understand the meaning behind it and will know they may need to update their bootloader.

That being said, it Pat wanted to update it, he could change it to something like: "Be sure to update your bootloader if it needs it."
 
Old 05-30-2021, 11:46 AM   #3
dodoLQ
Member
 
Registered: Dec 2014
Location: France
Distribution: Slackware
Posts: 211

Rep: Reputation: Disabled
And why not updating setup with a specific elilo entry? There's no choice of elilo actually.
 
1 members found this post helpful.
Old 05-30-2021, 12:01 PM   #4
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 dodoLQ View Post
And why not updating setup with a specific elilo entry? There's no choice of elilo actually.
The Slackware setup will prompt you to use elilo if, and only if, you boot the install media as UEFI. If you boot the install media using legacy or compatibility boot (emulating the older BIOS instead of the newer UEFI), setup can't set up elilo. This is because efibootmgr requires the /sys/firmware/efi/ folder, which is only generated when booting via UEFI. If that folder doesn't exist, efibootmgr can't update the UEFI firmware to know of elilo, which means you can't boot without using the horrible EFI shell.
 
1 members found this post helpful.
Old 05-30-2021, 12:17 PM   #5
dodoLQ
Member
 
Registered: Dec 2014
Location: France
Distribution: Slackware
Posts: 211

Rep: Reputation: Disabled
Humm.. Ok, 'ill check that when burning and running the official Slack-15.0_ISO file on my core i5 system (with UEFI boot activated in the bios of course) Thanks!
 
Old 05-30-2021, 12:35 PM   #6
slvr32
Member
 
Registered: Feb 2021
Posts: 33

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by bassmadrigal View Post
Slackware does still default to using lilo and users need to go above and beyond to be able to install with UEFI (thus allowing elilo) or switching to grub/syslinux/rEFInd after setup finishes.
I don't know if you've done a fresh install of x86_64-current on a UEFI machine lately, but there's a really straightforward set of prompts that essentially make installing ELILO an easy/automated process during setup, more or less equivalent to installing LILO on a non-UEFI machine.
 
Old 05-31-2021, 03:14 PM   #7
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 slvr32 View Post
I don't know if you've done a fresh install of x86_64-current on a UEFI machine lately, but there's a really straightforward set of prompts that essentially make installing ELILO an easy/automated process during setup, more or less equivalent to installing LILO on a non-UEFI machine.
It's the same with the 14.2 installer. The installer still defaults to lilo, but if it detects UEFI booting, it will prompt to skip lilo and set up elilo. Since it asks if you want to skip lilo, I lumped it into the "above and beyond" category (although, much easier than grub or other bootloaders as it is still able to be accomplished during the install).
 
  


Reply



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
Current64: mkinitrd-1.4.11-x86_64_22 - sbin/mkinitrd.orig burdi01 Slackware 5 04-17-2021 05:08 AM
sudo mkinitrd -o /boot/initrd.img-2.6.32.9 2.6.32.9 sudo: mkinitrd: command not foun vishwas181 Linux - Newbie 1 02-27-2010 01:16 AM
DT Messaging System Could not be started? as400 Solaris / OpenSolaris 1 04-24-2007 12:16 AM
mkinitrd problem WARNING: Could not find module fo xaos5 Slackware 2 12-31-2004 05:54 AM
run /sbin/lilo after update IF you use LILO (don't know) jdblick SUSE / openSUSE 3 12-28-2004 03:06 PM

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

All times are GMT -5. The time now is 05:29 AM.

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