Skip to content

Instantly share code, notes, and snippets.

Created October 31, 2018 18:49
What would you like to do?
grub grub2
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
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