Repair Kali Linux Grub With Live Cd

From RHS Wiki
Jump to navigation Jump to search
  • Boot from a live USB
  • Fix Grub
mount /dev/sda3 /mnt
mount --bind /dev /mnt/dev
mount --bind /dev/pts /mnt/dev/pts
mount --bind /proc /mnt/proc
mount --bind /sys /mnt/sys
chroot /mnt
grub-install /dev/sda
update-grub
exit
umount /mnt/dev/pts
umount /mnt/dev
umount /mnt/proc
umount /mnt/sys
umount /mnt
  • Reboot without the live USB
  • Scan for other OS
os-prober
update-grub