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.
I'm having a problem with Slackware 15 booting after an install is performed on this box. For reference these thin clients have emmc storage so the partitions are:
Code:
mmcblk0p1 efi partition
mmcblk0p2 /
When booting the bios complains it can't find anything and the boot entry is always set for using
Code:
\EFI\BOOT\BOOTX64.EFI
Manually adding an entry to point towards anything else fails to boot and it reverts back to the above.
Now I can successfully boot from the Slackware usb installer by picking the grub option to boot installed operating systems and choosing:
Code:
(hd1,gpt1)/efi/Slackware/elilo.efi
I don't understand how to name or structure the files on the efi partition to appease the bios.
You can use efibootmgr (as root) to modify the UEFI's internal menu. The command without any arguments shows the current menu. With arguments, you can reorder the entries, deactivate what you don't want, or delete entries completely.
Now I can successfully boot from the Slackware usb installer by picking the grub option to boot installed operating systems and choosing:
Code:
(hd1,gpt1)/efi/Slackware/elilo.efi
I don't understand how to name or structure the files on the efi partition to appease the bios.
I guess if your usb is hd1 then the internal thing must be hd0. What does BIOS say, how many are there?
Loader expects (hd0,gpt1)/.. for GPT, or (hd0,msdos1)/.. for MBR. This is first partition on drive 0 (first drive).
hd0,msdos1 = first dos partition on first drive (if formatted with mbr and not gpt).
You can check in GRUB by hitting E on the line and writing (hd0,msdos1)/<TAB> and see if <TAB> auto-completes to (hd0,msdos1)/efi/..
If not, maybe it's hd2,msdos1 or hd2,gpt1 or even hd0,gpt1...
Last edited by elcore; 03-08-2024 at 10:57 AM.
Reason: typo
If you boot the USB Slackware installer and mount the efi partition (/dev/mmcblk0p1) , you should see a Slackware directory under /boot/efi/EFI with the efi boot files. Did you check that? Did you install Slackware in EFI mode? Did you select to install elilo? Is Slackware the only OS installed?
If you boot the USB Slackware installer and mount the efi partition (/dev/mmcblk0p1) , you should see a Slackware directory under /boot/efi/EFI with the efi boot files. Did you check that? Did you install Slackware in EFI mode? Did you select to install elilo? Is Slackware the only OS installed?
I figure it's all installed fine, but the loader expects it on hd1 because that's what it was configured to do when usb was plugged in.
And yeah installing grub will most certainly fix it since grub's detecting drives differently than elilo which uses the old ways.
If you boot the USB Slackware installer and mount the efi partition (/dev/mmcblk0p1) , you should see a Slackware directory under /boot/efi/EFI with the efi boot files. Did you check that? Did you install Slackware in EFI mode? Did you select to install elilo? Is Slackware the only OS installed?
Yes to all your questions. /boot/efi/EFI/Slackware had the elilo files and kernel.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.