Advertisement
Guest User

dexan mika mendes tuquepo

a guest
Aug 25th, 2018
255
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2.     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.
  3.  
  4.     The reason can be failed grub installation or Windows major updates.
  5.     If you update UEFI it deletes the entry of kali from NVRAM.
  6.  
  7.     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
  8.     If you update UEFI from 1.x to 1.y then it remains there.
  9.  
  10.     Boot into kali live USB and follow the instructions:
  11.  
  12.     mount /dev/sda* /mnt
  13.     mount --bind /dev /mnt/dev
  14.     mount --bind /proc /mnt/proc
  15.     mount --bind /sys /mnt/sys
  16.     mkdir /mnt/sys/firmware/efi/efivars
  17.     mount --bind /sys/firmware/efi/efivars /mnt/sys/firmware/efi/efivars
  18.     mkdir /mnt/boot/efi
  19.     mount /dev/sda+ /mnt/boot/efi
  20.     mount -o remount,rw /dev/sda+ /mnt/boot/efi
  21.     mkdir /mnt/hostrun
  22.     mount --bind /run /mnt/hostrun
  23.     chroot /mnt
  24.     mkdir /run/lvm
  25.     mount --bind /hostrun/lvm /run/lvm
  26.     grub-install /dev/sda
  27.     update-grub
  28.     exit
  29.     umount /mnt/dev
  30.     umount /mnt/proc
  31.     umount /mnt/sys/firmware/efi/efivars
  32.     umount /mnt/sys
  33.     umount /mnt/boot/efi
  34.     umount /mnt/hostrun
  35.     umount /mnt/run/lvm
  36.     umount /mnt
  37.     REBOOT
  38.  
  39.     /dev/sda* is your linux filesystem. Like mine is /dev/sda6
  40.     /dev/sda+ is your EFI partition which is most likely /dev/sda1.
  41.     Use fdisk -l to list all partitions.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement