Kali Linux restore grub

Pavlex4

Reputable
Jul 12, 2015
55
0
4,630
I am trying to restore grub on kali linux.I booted live cd and when I run command chroot /mnt I get error: exec format error

#sudo fdisk -l
#mount /dev/sda# /mnt
#mount --bind /dev /mnt/dev
#mount --bind /proc /mnt/proc
#mount --bind /sys /mnt/sys
#chroot /mnt
/#grub-install /dev/sda
/#grub-mkconfig -o boot/grub/grub.cfg
(ctrl+D)
/#exit
#umount /mnt/dev
#umount /mnt/proc
#umount /mnt/sys
#umount /mnt
#reboot
 
Solution
Kali Linux is intended for experts. It says so quite clearly on the Kali web site. If you have to blindly follow instructions without understanding what they mean it is not the distribution for you.

I'm so passionate about the misuse of Kali that I'm afraid I'm not prepared to say any more.

McHenryB

Admirable
Kali Linux is intended for experts. It says so quite clearly on the Kali web site. If you have to blindly follow instructions without understanding what they mean it is not the distribution for you.

I'm so passionate about the misuse of Kali that I'm afraid I'm not prepared to say any more.
 
Solution