This is what should have worked.
- install Windows 10 on the SATA and make sure all is good.
- remove Windows 10 SATA and install PCIe M.2 and install Kali and make sure all is good.
- Put Windows 10 back in and check fur dual boot.
End result, Windows works but Kali does not boot.
Boot with Kali Live USB and fix GRUB
The below are the steps I followed to get it back working.
mount /dev/sda* /mnt
mount --bind /dev /mnt/dev
mount --bind /proc /mnt/proc
mount --bind /sys /mnt/sys
mkdir /mnt/sys/firmware/efi/efivars
mount --bind /sys/firmware/efi/efivars /mnt/sys/firmware/efi/efivars
mkdir /mnt/boot/efi
mount /dev/sda+ /mnt/boot/efi
mount -o remount,rw /dev/sda+ /mnt/boot/efi
mkdir /mnt/hostrun
mount --bind /run /mnt/hostrun
chroot /mnt
mkdir /run/lvm
mount --bind /hostrun/lvm /run/lvm
grub-install /dev/sda
update-grub
exit
umount /mnt/dev
umount /mnt/proc
umount /mnt/sys/firmware/efi/efivars
umount /mnt/sys
umount /mnt/boot/efi
umount /mnt/hostrun
umount /mnt/run/lvm
umount /mnt
REBOOT
Now Kali works but Windows 10 no longer boots.
Removed PCIe M.2 and fix Windows10 boot loader
Boot with Windows 10 USB installer
Choose repair my computer
Select command prompt
type -> Bootsect /nt60 driveletter: /mbr
Put PCIe M.2 back in
Check dual boot with F9
WORKING
No comments:
Post a Comment