Glam Prestige Journal

Bright entertainment trends with youth appeal.

Previous situation was a working dual boot Ubuntu/Windows 10.

I decided to install Kali Linux instead of Ubuntu, so during the installation process, I removed and overwrote both ext4 partitions that contained Ubuntu.

During the installation, Kali told me it was unable to install grub.

Rebooting results in a grub prompt. I am only able to get into Windows by pressing F12 when the Dell logo is visible on screen.

I've tried to fix it by running the boot-repair-disk from here. This doesn't work, but provides a boot info summary, which can be found here.

Does anyone know how to fix grubso that I can boot into Windows and Kali?


Update I'm currently booted into Kali by using SuperGRUB2 Disk. When I tried to run grub-install, I got bash: grub-install: command not found.

I fixed that by removing and reinstalling grub. After that:

#sudo fdisk -lu
Disk /dev/nvme0n1: 477 GiB, 512110190592 bytes, 1000215216 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 0F7188DF-BE33-491B-AE57-6E2E6841C9F0
Device Start End Sectors Size Type
/dev/nvme0n1p1 2048 1026047 1024000 500M EFI System
/dev/nvme0n1p2 1026048 1288191 262144 128M Microsoft reserved
/dev/nvme0n1p3 1288192 488976383 487688192 232.6G Microsoft basic data
/dev/nvme0n1p4 488976384 968964095 479987712 228.9G Linux filesystem
/dev/nvme0n1p5 968964096 1000214527 31250432 14.9G Linux swap
#grub-install /dev/nvme0n1
grub-install: error: /usr/local/lib/grub/x86_64-efi/modinfo.sh doesn't exist. Please specify --target or --directory.
2

2 Answers

From your terminal, run the following commands:

$ sudo add-apt-repository ppa:yannubuntu/boot-repair
$ sudo apt-get update
$ sudo apt-get install boot-repair
$ boot-repair

I hope this help fix your GRUB issue

The problem was that I had not installed Kali as EFI. After I recreated the USB drive (using Rufus), the reinstall went smoothly.

1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy