Advertisement
Guest User

dexan mika mendes

a guest
Aug 25th, 2018
301
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
4CS 1.66 KB | None | 0 0
  1.  
  2.  
  3.     If you have dual booted kali with Windows 10 then most probably you are running PC with UEFI firmware. The booting process of UEFI is completely different from BIOS. Right after installation or after updating your UEFI you find that kali is not present in boot menu options. You can see the entry of Windows boot manager but there is no entry of kali in boot menu.
  4.  
  5.     The reason can be failed grub installation or Windows major updates.
  6.     If you update UEFI it deletes the entry of kali from NVRAM.
  7.  
  8.     If you update UEFI from 1.x to 2.x then entry of Grub is removed from the boot-menu. Follow next post if you did this
  9.     If you update UEFI from 1.x to 1.y then it remains there.
  10.  
  11.     Boot into kali live USB and follow the instructions:
  12.  
  13.     mount /dev/sda* /mnt
  14.     mount --bind /dev /mnt/dev
  15.     mount --bind /proc /mnt/proc
  16.     mount --bind /sys /mnt/sys
  17.     mkdir /mnt/sys/firmware/efi/efivars
  18.     mount --bind /sys/firmware/efi/efivars /mnt/sys/firmware/efi/efivars
  19.     mkdir /mnt/boot/efi
  20.     mount /dev/sda+ /mnt/boot/efi
  21.     mount -o remount,rw /dev/sda+ /mnt/boot/efi
  22.     mkdir /mnt/hostrun
  23.     mount --bind /run /mnt/hostrun
  24.     chroot /mnt
  25.     mkdir /run/lvm
  26.     mount --bind /hostrun/lvm /run/lvm
  27.     grub-install /dev/sda
  28.     update-grub
  29.     exit
  30.     umount /mnt/dev
  31.     umount /mnt/proc
  32.     umount /mnt/sys/firmware/efi/efivars
  33.     umount /mnt/sys
  34.     umount /mnt/boot/efi
  35.     umount /mnt/hostrun
  36.     umount /mnt/run/lvm
  37.     umount /mnt
  38.     REBOOT
  39.  
  40.     /dev/sda* is your linux filesystem. Like mine is /dev/sda6
  41.     /dev/sda+ is your EFI partition which is most likely /dev/sda1.
  42.     Use fdisk -l to list all partitions.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement