SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
From the many posts on this forum that I've seen about UEFI, I will say that based on some of the results of those posts, there are just some buggy UEFI implementations out there. The first thing I would check is to see is if there is a "BIOS" update (not sure if they still call them that or moved to UEFI update) for the motherboard. That could fix some issues. Others ended up using rEFInd to work around some of those bugs.
On my NVMe system, I was able to use the eliloconfig from -current to set up everything and then I modified elilo.conf to my particular taste. Unfortunately, I didn't run into any of the issues you had, so I have not played with efibootmgr at all.
Thanks for the clear description of the problem, and yes it looks weird. Refind could be a try although it appears to use the efibootmgr that is on the system to edit the bootloader-menu, just as you would do manually. It might do something with 'signed' keys, ubuntu does as well I think, that could be needed to get things changed; but best to look at the refind install script and its documentation.
However since I guess we have a degree of agreement about this matter, I think it's sufficient to close this subject at this time. (And I have a working system now).
Again, thank your for the help you gave. I learned a lot. I really appreciate them.
Best regards,
sungjin
ps. BTW, for the completeness, unfortunately, this mainboard's firmware is up-to-date (released 2017-07-03).
Let me just add that as a fallback you can include in the main directory of the ESP a small EFI shell script named startup.nsh with just this line: (assuming that EFI is the ESP itself and it contains a partition named Slacwkare including the elilo.efi boot loader):
Code:
EFI\Slackware\elilo
Then if your firmware includes an EFI shell (I assume that most recent ones do) as last resort it will execute startup.nsh if found in an ESP, hence in this case start elilo. That's what we do in Slint and that works. The advantage is that even if there is no boot entry for your system in the firmware's boot menu it will be picked up.
Your last post makes me be in agony. On one hand, I have now a working system, but on the other hand, I know I have the responsibility to report anything about this subject.
OK. I'll try it, since I have a few free hours, finished my daily work.
Let's go step-by-step.
I ssh to the machine at my lab. This is current configuration.
Code:
root@1080ti:~# efibootmgr
BootCurrent: 0003
Timeout: 1 seconds
BootOrder: 0003,0001
Boot0001 Hard Drive
Boot0003* UEFI OS
And the ESP directory.
Code:
root@1080ti:~# ls /boot/efi/EFI/
BOOT/
root@1080ti:~# ls /boot/efi/EFI/BOOT/
bootx64.efi* elilo.conf* vmlinuz*
Then what we will do are;
Remove ./EFI/BOOT/
Create ./EFI/Slackware/
create a startup.nsh
I'll merge the first and second step into one.
Code:
root@1080ti:/boot/efi/EFI# ls
BOOT/
root@1080ti:/boot/efi/EFI# mv BOOT/ Slackware
root@1080ti:/boot/efi/EFI# cd Slackware/
root@1080ti:/boot/efi/EFI/Slackware# ls
bootx64.efi* elilo.conf* vmlinuz*
root@1080ti:/boot/efi/EFI/Slackware# mv bootx64.efi elilo.efi
root@1080ti:/boot/efi/EFI/Slackware# ls
elilo.conf* elilo.efi* vmlinuz*
And finally make a startup.nsh to the root of ESP.
I don't know. Maybr you don't have an EFI shell, or your firmware doesn't implement the specification properly
Thank you for you concern. Sorry to bother you. I think next time I'll buy a mainboard, I would rather skip the MSI mainboard, so that to get rid of this weird BIOS phenomenon.
However, I really want to tell you helped me a lot. Thank you for your kind help.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.