Created
October 31, 2018 18:49
-
-
Save brunoocasali/cf8707c86513486dd4fd1e7df9c1056b to your computer and use it in GitHub Desktop.
grub grub2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo su | |
mkdir /mnt/dir | |
mount /dev/sda6 /mnt/dir | |
for dir in proc dev sys etc bin sbin var usr lib lib64 tmp; do | |
mount -o bind $dir /mnt/dir/$dir | |
done | |
chroot /mnt/dir | |
# nano /etc/default/grub | |
# update-grub2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment