Repair Kali Linux Grub With Live Cd

From RHS Wiki
Revision as of 09:32, 29 January 2019 by Rafahsolis (talk | contribs) (Created page with "* Boot from a live USB * Fix Grub <nowiki>mount /dev/sda3 /mnt mount --bind /dev /mnt/dev mount --bind /dev/pts /mnt/dev/pts mount --bind /proc /mnt/proc mount --bind /sys /m...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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