[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.

Welcome to the Slackware Documentation Project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
howtos:slackware_admin:grub_on_first_install [2013/09/28 21:29 (UTC)] – [Sources] Moved 'sources' section to the bottom, removed 'template' from the tag list. alienbobhowtos:slackware_admin:grub_on_first_install [2013/10/03 14:04 (UTC)] ryanpcmcquen
Line 2: Line 2:
 ====== Setting up GRUB 2 on install (without rebooting) ====== ====== Setting up GRUB 2 on install (without rebooting) ======
  
-If you want to install GRUB immediately after install (and before restarting), here is a simple way:+There is GRUB in A series of Slackware-14.1. If you want to install GRUB immediately after install (and before restarting), here is a simple way:
  
 After the message: After the message:
 "Installation of Slackware Linux is complete." "Installation of Slackware Linux is complete."
-  $ mkdir /mnt/hd 
-   
-Mount your root partition, for example: 
-  $ mount /dev/sda3 /mnt/hd 
  
-Then chroot in: +chroot in: 
-  chroot /mnt/hd +  chroot /mnt 
-  grub-install /dev/sda +Then install GRUB: 
-  grub-mkconfig -o /boot/grub/grub.cfg+  grub-install /dev/sda 
 +  grub-mkconfig -o /boot/grub/grub.cfg
  
-GRUB will bark a warning at you like:  +  # exit 
-  grep: /proc/mounts: No such file or directory +  reboot
-  Cannot find list of partitions! (Try mounting /sys.) +
-Don't worry though, this is normal, this is just a result of chrooting. +
- +
-  $ exit +
-  reboot+
  
 Enjoy! Enjoy!
 +
 +P.S. Make sure to run:
 +  # grub-mkconfig -o /boot/grub/grub.cfg
 +After every kernel upgrade.
  
 ====== Sources ====== ====== Sources ======
 howtos:slackware_admin:grub_on_first_install ()