[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.
Action unknown: addtobook

Welcome to the Slackware Documentation Project

Setting up GRUB 2 on install (without rebooting)

There is GRUB in A series of Slackware-14.1. If you want to install GRUB immediately after install (and before restarting), below is a simple method that assumes you use traditional BIOS and MBR partitioning (if you plan to use GPT instead of MBR partitioning, refer to Grub 2 with GPT and a BIOS motherboard instead):

After the message: “Installation of Slackware Linux is complete.”

chroot in:

# chroot /mnt

Then install GRUB:

# grub-install /dev/sda
# grub-mkconfig -o /boot/grub/grub.cfg
This assumes you are using the disk /dev/sda, adjust if this is not the case.
# exit
# reboot

Enjoy!

P.S. Make sure to run:

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

After every kernel upgrade.

Sources

 howtos:slackware_admin:grub_on_first_install ()