[2025-jun-17] The SlackDocs mailing lists at https://lists.alienbase.nl/mailman/listinfo have been retired. No one has been using these lists for years and it's time to say goodbye. The list archives remain available at https://scalzi.slackware.nl/mailman/listinfo/slackdocs
[2025-jun-17] The SlackDocs Wiki has moved to a new server, in order to make it more performant.
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
- Originally written by ryanpcmcquen
- Link to GPT article by ruario