[SOLVED] -current on laptop with UEFI doesn't prompt for elilo
Slackware - InstallationThis forum is for the discussion of installation issues with Slackware.
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.
-current on laptop with UEFI doesn't prompt for elilo
Actually have somewhat modern hardware now and its throwing me off here.
Turned off secureboot like usual, but here's my issue, bios seems to allow only allow external boot when in legacy and hdd only when in uefi mode.
So to book the slackware installer I have t be in leagcy so I'm prompted to install lilo. But in order to boot the hdd I have to switch back to UEFT as there is no hdd boot in legacy and so then it fails to boot lilo. catch 22 situation
Is there a trick I'm missing here?
-current on laptop with UEFI doesn't prompt for elilo
Put it into UEFI mode, insert your CD or USB stick, reboot and press F12 as soon as the Dell logo appears. You should get a boot menu which shows all bootable media. Then you can boot and install.
So the Slackdock seems to be a bit dated since it talks about creating bootable efi media and there is has been the script in extra to make a bootable usb for a while now but it doesn't give much details on the actual install. My other two systems would just get to the lilo portion and say "hey i see you have uefi, use using elilo instead" or something like that.
the first line in the doc "Slackware setup supports UEFI installs. To get Slackware to boot on UEFI machines, bypass the LILO installation and select ELILO installation when prompted during the install. "
I don't get an elilo prompt it goes straight to lilo
Put it into UEFI mode, insert your CD or USB stick, reboot and press F12 as soon as the Dell logo appears. You should get a boot menu which shows all bootable media. Then you can boot and install.
Leave secure boot off.
Secureboot is off.
If UEFI mode is enabled in bios f12 doesn't allow booting from usb and in the bios when you enable UEFI it tells you that it won't allow booting from USB. So its slightly different than earlier ones.
-current on laptop with UEFI doesn't prompt for elilo
Does it have Windows on it?
If so, you could boot into Windows, assign a drive letter to the EFI partition using DiskPart and mount it. Then copy rEFInd onto it and use that to boot any media.
If so, you could boot into Windows, assign a drive letter to the EFI partition using DiskPart and mount it. Then copy rEFInd onto it and use that to boot any media.
Do you have the option to boot from file in bios/firmware boot menu?
When UEFI is enabled I can specify a file to boot from. The problem I have is getting the Slackware setup script to skip lilo and install elilo while booted with uefi disabled to put the elilo files in the partition
let see if I have this right,
secure boot disabled, uefi enabled, legacy mode disabled, using a 64 bit iso,
able to boot from file the iso /efi/boot/bootx64.efi
drive type gpt, the efi partition formatted fat32, flagged esp, mounted at /boot/efi when setting up partitions
doesn't give the option to install elilo.
let see if I have this right,
secure boot disabled, uefi enabled, legacy mode disabled, using a 64 bit iso,
able to boot from file the iso /efi/boot/bootx64.efi
drive type gpt, the efi partition formatted fat32, flagged esp, mounted at /boot/efi when setting up partitions
doesn't give the option to install elilo.
This laptop, if UEFI us enabled/legacy disabled it will not boot from USB, it doesn't have the option or allow it, no no, it can't boot from /efi/boot/bootx64.efi on the USB flash drive.
To boot from USB flash I have to disable UEFI/enable legacy and then I can boot from USB, partition and flash, run setup but it just wants to install lilo.
Thats where my issue is, it appears UEFI must be enabled for the installer to prompt elilo, but when uefi is enabled I can't boot off the usb to run the installer.
Ok, I guess I can boot legacy from USB, make the EFI partition, then manually copy the bootx64.efi to the EFI partition then go back in the bios and change to UEFI enabled and run setup and just skip lilo since I've alreayd manually put the efi file there.
Will get error about efivars. Exit out go back to setup screen finish configuration and reboot.
Use the boot from file function to boot efi/slackware/grubx64-efi. Reinstall/install grub/elilo
and/or use efibootmgr to register the efi/slackware/grubx64.efi with the bios/firmware
Last edited by colorpurple21859; 01-28-2022 at 10:50 AM.
When I change BIOS to boot EFI I get a README that explains that efi is considered experimental and they do not support it. I have tried every possible thing I have found on the NET (especially this Forum) and nothing works. With a gpt partition table and my BIOS set to boot efi there is an awkward silence followed by my Lilo screen and a normal legacy boot.
Not what I expected at all
I managed to get it
Manually create the efi partition and copied elilo to it.
Then in the bios setup re-enable UEFI and then point it to that file and reboot.
Then it will bring up the elilo boot menu and elilo allows choosing to boot from an external USB (so its after the bios boot selection which does not).
Was a pain, but works now.
Ok, I guess I can boot legacy from USB, make the EFI partition, then manually copy the bootx64.efi to the EFI partition then go back in the bios and change to UEFI enabled and run setup
Yeah, that'll work. Rename elilo-x86_64.efi to bootx64.efi and put it under EFI/Boot on your EFI partition.
You can also copy the kernel and initrd into the same directory on the EFI partition and point eLILO to them. The files you need are 'huge.s' and 'initrd.img' from the EFI directory of the Slackware tree.
This elilo.conf will then boot the Slackware installer:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.