/mnt
. (Misal: Linux ditemukan terinstall pada sda1
)sudo mount /dev/sda1 /mnt
sudo mount --bind /dev /mnt/dev
sudo mount --bind /dev/pts /mnt/dev/pts
sudo mount --bind /proc /mnt/proc
sudo mount --bind /sys /mnt/sys
chroot
sudo chroot
grub-install /dev/sda
grub-install --recheck /dev/sda
update-grub
umount
semuanya dan poweroff
exit
sudo umount /mnt/sys
sudo umount /mnt/proc
sudo umount /mnt/dev/pts
sudo umount /mnt/dev
sudo umount /mnt/
sudo poweroff