Enjoy Slackware 15.0!

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


P.S. Make sure to run:

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

After every kernel upgrade.


In Other Languages
Translations of this page?:
QR Code
QR Code howtos:slackware_admin:grub_on_first_install (generated for current page)