GitopsCentral

how to reinstall grub on kali linux

Filed under: linux — Tags: , , , , — shaik zillani @ 1:42 pm

In this blog post I will show you how to reinstall grub on kali linux.

GRUB (Grand Unified Bootloader)

GRUB provides a choice to select OS from a multi-booted operating systems or select a specific kernel configuration available on a particular operating system’s partitions. Some times if bootloader fails, user will not have a choice of selecting the OS & therefore be booted to regular default operating system ex, windows or mac.
more about bootloaders here

Steps to reinstall GRUB

Live boot kali using bootable usb

fdisk -l

Select your disk, in mycase it was sda6

mount /dev/sda6 /mnt
mount --bind /dev /mnt/dev
mount --bind /dev/pts /mnt/dev/pts
mount --bind /proc /mnt/proc
mount --bind /sys /mnt/sys

mount EFI directory

sudo mount /dev/sda1 /mnt/boot/efi

chroot /mnt
grub-install /dev/sda
update-grub
exit

umount /mnt/dev/pts
umount /mnt/dev
umount /mnt/proc
umount /mnt/sys
umount /mnt

Finally, restart your system and you should have your boot-menu back !

Also, please do check my other blog posts on goacademy

© 2016–2025 GitOpsCentral | All Rights Reserved.