LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-20-2023, 11:59 AM   #1
AlleyTrotter
Member
 
Registered: Jun 2002
Location: Coal Township PA
Distribution: Slackware64-15.0
Posts: 783

Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
Glitch in eliloconfig for current


The eliloconfig script in current is looking for
Code:
 sys/firmware/efi/vars
I believe it should be
Code:
 /sys/firmware/efi/efivars
my last several attempts at installing current in a qemu virtual machine failed untill I made the change

Hope I'm Not Wrong because it's working for me
j
 
Old 03-20-2023, 12:54 PM   #2
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,504

Rep: Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461
It looks like depending on the kernel and/or kernel options, we need to look for both (and also try loading the efivarfs module).

Thanks
 
3 members found this post helpful.
Old 03-20-2023, 01:24 PM   #3
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,683

Rep: Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375
I can't help it but my head immediately went to Office Space reading this thread .
https://www.youtube.com/watch?v=BUE0PPQI3is
 
Old 03-20-2023, 03:11 PM   #4
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,355

Rep: Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067
Quote:
Originally Posted by AlleyTrotter View Post
The eliloconfig script in current is looking for
Code:
 sys/firmware/efi/vars
I believe it should be
Code:
 /sys/firmware/efi/efivars
my last several attempts at installing current in a qemu virtual machine failed untill I made the change

Hope I'm Not Wrong because it's working for me
j
Fixed
Code:
Mon Mar 20 18:26:23 UTC 2023
a/elilo-3.16-x86_64-14.txz:  Rebuilt.
  eliloconfig: check first for /sys/firmware/efi/efivars, and then check for
  the older /sys/firmware/efi/vars directory. We should be able to install an
  EFI menu entry if either one is present. Thanks to AlleyTrotter.
 
Old 03-20-2023, 03:25 PM   #5
AlleyTrotter
Member
 
Registered: Jun 2002
Location: Coal Township PA
Distribution: Slackware64-15.0
Posts: 783

Original Poster
Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
Quote:
Originally Posted by volkerdi View Post
It looks like depending on the kernel and/or kernel options, we need to look for both (and also try loading the efivarfs module).

Thanks
Sorry to report but the install is still failing at installing a efi boot entry It jumps right to GPM install

I guess I jumped the gun on the [SOLVED]

The error I'm getting is :
efivars not supported on this?
When I say yes install a boot entry

j

Last edited by AlleyTrotter; 03-20-2023 at 04:12 PM. Reason: add error message
 
Old 03-20-2023, 04:11 PM   #6
RadicalDreamer
Senior Member
 
Registered: Jul 2016
Location: USA
Distribution: Slackware64-Current
Posts: 1,816

Rep: Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981
That bug occurs occasionally. It is best to register elilo once with eliloconfig and then copy the new vmlinuz and initrd.gz to the Slackware folder on the efi partition manually after each update after that.
 
1 members found this post helpful.
Old 03-20-2023, 04:54 PM   #7
gauchao
Member
 
Registered: Dec 2009
Location: Veneto
Distribution: Slackware64
Posts: 366

Rep: Reputation: 143Reputation: 143
Quote:
It is best to register elilo once with eliloconfig and then copy the new vmlinuz and initrd.gz to the Slackware folder on the efi partition manually after each update after that.
This is what I always do after every kernel update + mkinitrd and never failed.
 
1 members found this post helpful.
Old 03-20-2023, 05:13 PM   #8
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,504

Rep: Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461
Quote:
Originally Posted by AlleyTrotter View Post
Sorry to report but the install is still failing at installing a efi boot entry It jumps right to GPM install

I guess I jumped the gun on the [SOLVED]

The error I'm getting is :
efivars not supported on this?
When I say yes install a boot entry

j
Ahh, I think I see. It was tested to work on a running system, but to work from the installer we'll need the efivarfs.ko module there.
 
2 members found this post helpful.
Old 03-20-2023, 05:37 PM   #9
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,504

Rep: Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461
Quote:
Originally Posted by volkerdi View Post
Ahh, I think I see. It was tested to work on a running system, but to work from the installer we'll need the efivarfs.ko module there.
Ready for testing.
 
3 members found this post helpful.
Old 03-20-2023, 05:39 PM   #10
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,355

Rep: Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067
Quote:
Originally Posted by volkerdi View Post
Ready for testing.
https://www.linuxquestions.org/quest...0/#post6419065

 
1 members found this post helpful.
Old 03-20-2023, 06:16 PM   #11
AlleyTrotter
Member
 
Registered: Jun 2002
Location: Coal Township PA
Distribution: Slackware64-15.0
Posts: 783

Original Poster
Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
Quote:
Originally Posted by volkerdi View Post
Ready for testing.
mirrored and created a new dvd iso image
still the same issue when i say yes to
install a efi boot record

"""
efivars not supported on this system
something I can't catch, goes by too fast
efivars not supported on this system
"""

jumps to gmp installer question

sorry that is all i have for now
j
 
1 members found this post helpful.
Old 03-20-2023, 08:01 PM   #12
RadicalDreamer
Senior Member
 
Registered: Jul 2016
Location: USA
Distribution: Slackware64-Current
Posts: 1,816

Rep: Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981
What kernel version are you using? Obviously you are using the latest with your last post, but how about your first post?

Last edited by RadicalDreamer; 03-20-2023 at 08:06 PM.
 
Old 03-20-2023, 08:51 PM   #13
AlleyTrotter
Member
 
Registered: Jun 2002
Location: Coal Township PA
Distribution: Slackware64-15.0
Posts: 783

Original Poster
Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
Quote:
Originally Posted by RadicalDreamer View Post
What kernel version are you using? Obviously you are using the latest with your last post, but how about your first post?
I am using the current kernel 6.1.20 which is on the current iso. Building slackware64-current in a qemu virtual machine using slackware64-15.0 in all the posts. This has built without flaw up to a few days ago. The same qemu incantation builds 15.0 without error. It only fails with current
The problem appears to be in liloconfig for current
j

Last edited by AlleyTrotter; 03-20-2023 at 08:53 PM.
 
Old 03-21-2023, 04:32 PM   #14
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,504

Rep: Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461
Third time's the charm?
 
Old 03-21-2023, 04:44 PM   #15
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Quote:
Originally Posted by volkerdi View Post
Third time's the charm?
Maybe while you are at it you could add guefi from George Vlahavas: https://github.com/gapan/guefi. It's not heavy (< 300K), and easy to build.

Q. Why do I not suggest to replace LilO and eLILO by GRUB in the Slackware installer?
A1. I already did.
A2. I am not LuckyCyborg

PS If you insist, function bootingsetup in this file.

Last edited by Didier Spaier; 03-21-2023 at 04:47 PM.
 
1 members found this post helpful.
  


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
Can I safely omit eliloconfig step in setup and do some changes related to eliloconfig script? gustav3000 Slackware 7 09-08-2021 10:29 PM
eliloconfig and cryptsetup issues on -current install with full disk encryption sebre Slackware 2 09-07-2020 01:47 PM
Current-64 eliloconfig on nvme broke grub on ssd with ubuntu slkrover Slackware 2 04-06-2019 07:10 PM
Slackware64-14.2(current) 03FEB2016 eliloconfig and PXE boot installation kingbeowulf Slackware - Installation 1 02-21-2016 05:21 AM

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

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