# Mount the drive $ mount /dev/sda5 /mnt # Mount all partitions and devs $ for i in /dev /dev/pts /proc /sys /run; do sudo mount -B $i /mnt$i; done chroot /mnt # Update grub sudo grub-install /dev/sda sudo update-grub
# Mount the drive $ mount /dev/sda5 /mnt # Mount all partitions and devs $ for i in /dev /dev/pts /proc /sys /run; do sudo mount -B $i /mnt$i; done chroot /mnt # Update grub sudo grub-install /dev/sda sudo update-grub