[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 19:32 (UTC)] ryanpcmcquenhowtos:slackware_admin:grub_on_first_install [2013/09/29 02:30 (UTC)] ryanpcmcquen
Line 1: Line 1:
 <!-- Add your text below. We strongly advise to start with a Headline (see button bar above). --> <!-- Add your text below. We strongly advise to start with a Headline (see button bar above). -->
 ====== Setting up GRUB 2 on install (without rebooting) ====== ====== Setting up GRUB 2 on install (without rebooting) ======
- 
-====== Sources ====== 
-<!-- If you are copying information from another source, then specify that source --> 
-<!-- * Original source: [[http://some.website.org/some/page.html]] --> 
-<!-- Authors are allowed to give credit to themselves! --> 
-<Originally written by [[wiki:user:ryanpcmcquen | ryanpcmcquen]]> 
-<!-- * Contributions by [[wiki:user:yyy | User Y]] --> 
  
 If you want to install GRUB immediately after install (and before restarting), here is a simple way: If you want to install GRUB immediately after install (and before restarting), here is a simple way:
Line 13: Line 6:
 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!
 +
 +====== Sources ======
 +
 +  * Originally written by [[wiki:user:ryanpcmcquen | ryanpcmcquen]]
  
 <!-- Please do not modify anything below, except adding new tags.--> <!-- Please do not modify anything below, except adding new tags.-->
-<!-- You must remove the tag-word "template" below before saving your new page --> +{{tag>howtos grub author_ryanpcmcquen}}
-{{tag>howtos template}}+
 howtos:slackware_admin:grub_on_first_install ()