Last active
August 19, 2016 21:35
-
-
Save WillSams/19244399e5c11da3c50e9fcc01554fea to your computer and use it in GitHub Desktop.
Fix GRUB2 on Debian
This file contains hidden or 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 mount /dev/sda1 /mnt | |
for i in /dev /dev/pts /proc /sys; do sudo mount -B $i /mnt$i; done | |
sudo grub-install --root-directory=/mnt/ /dev/sda | |
sudo chroot /mnt | |
apt-get re-install 'linux-image-4.4*' | |
updateinitrams -u -k all | |
update-grub | |
exit | |
reboot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment