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.
mount -o remount,rw /boot/efi
cp vmlinuz initrd.gz /boot/efi/EFI/Slackware && sync
mount -o remount,ro /boot/efi
Possibly overkill, but it works for me.
As an aside, if using GRUB you would only need to write in the ESP once after OS installation, to put there the OS loader, the kernels and initrds being referred to in /boot/grub/grub.cfg, which can be read by the OS loader as it is able to access many file systems outside of the ESP, including the one used for /boot, which also allows it to load the initrds and kernels stored in /boot.
Then, you won't need to mount the ESP anymore: neither ro nor rw.
Also, if another OS using GRUB is already installed when you install Slackware you won't even need to install a specific OS loader and set up an ESP for Slackware, as running as root from this OS after Slackware installation the command below will add boot entries for Slackware in GRUB's boot menu[1]:
Code:
grub-mkconfig -o /boot/grub/grub.cfg
[1]for the generic kernel, if os-prober is enabled for the other OS and Slackware's initrd is symlinked to or renamed initrd-generic-<kernel version>
Last edited by Didier Spaier; 08-20-2021 at 05:46 AM.
Reason: Typo fix.
All the usb keys that you buy are formatted fat32 so any OS has to be able to read that format. I guess it really is universal.
True but IMHO that just emphasizes how much more important it is to update file systems than such things as BIOS/UEFI with the likes of SecureBoot. That's like turning a firehose on a candle while the rest of the house is in flames.
Like Didier, I'm also using grub, so I don't have to mount ESP on boot.
Fwiw, I use eLilo and I keep the ESP unmounted until I wish to add a kernel. I do this by adding the "noauto" option to fstab.
Haven't figured out how to use grub yet, but I appreciate that it can do things which eLilo can't... That's mainly because I've never been in a situation where eLilo doesn't work. Ain't nobody got time to figure out how to read grub's config files.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.