Slackware HowTo

Configure GRUB2 on Slackware (UEFI)

UEFI, ESP, and a clean boot menu setup.

1. Prerequisites

Ensure you have an EFI System Partition mounted and GRUB2 installed.

2. Install

Example (adjust device and mount):

mkdir -p /boot/efi
mount /dev/sdX1 /boot/efi
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=Slackware

3. Generate menu

Create the configuration file:

grub-mkconfig -o /boot/grub/grub.cfg

4. Verify

Check the menu entries:

grep -A3 menuentry /boot/grub/grub.cfg

Quick checklist

[ ] Steps completed
[ ] Config updated
[ ] Service tested
[ ] Restart/rollback ready
[ ] Logs checked

Back to Linux HowTo