PDA

View Full Version : Grub-Dummy Installation fail , Follow several instruction not Working



lxcon
2019-11-15, 05:52
Hi, i'd been tryin to install kali linux 2019.3 i came across to this issues Execution grub-dummy installation : fatal error - something like that
I look it up on internet , and i skip without the boot loader and go live kali , so that i can follow the instruction from the threads.
But i'm very confuse with the commands and partition since my setup paths arent the same with the one posting the thread.

I'd got a Razer Blade 15 2018 Base Model
i have 128GB of SSD and 1TB of HDD
Windows is in SSD of course
I partition my HDD like this
800GB NTFS for general usage.
140GB for kali linux

I further modified them in installation stage as follow:
123GB - for ext4
16GB - for swap area
1GB - for EFI system
so you see i'm already very confuse at this point (I'm noob)

but later i found out there's another EFI partition in the SSD

so it's like one EFI partition on SSD and one EFI partition on the HDD that i created.

My goal is to DUAL BOOT KALI LINUX and WINS 10

aaronouthier
2019-11-15, 20:26
Since you are booting two different operating systems, each from a different HDD, you should be able to accomplish this by installing just like you did. However, when you want to boot Kali, go to your computer's boot menu - there should be a hotkey (often an F-key, like F10 or F12) mentioned on the screen when you boot up. If you press the key listed, it should take you to a list of bootable drives. Select your HDD instead of your SSD. See if that helps.

If you are having trouble, try temporarily disconnecting the Sata cable from your SSD, and then run the Kali Installer again. This will prevent it from touching your Windows drive.

If you are still having trouble with Grub-Dummy, then try the work-around I mentioned in my other thread.

_defalt
2019-11-16, 06:15
Don't partition your 140GB space for kali yourself. Installer will do it automatically. You can't have 2 EFI partition in one system. UEFI only registers one EFI partition as active which is the one in your SSD. You don't have to create separate EFI partition for kali. Grub will be installed in the EFI partition of Kali.

To install grub, follow these instructions:

Boot into kali live USB and follow the instructions:

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

/dev/sda* is your linux filesystem. Like mine is /dev/sda6
/dev/sda+ is your EFI partition which is most likely /dev/sda1.
Use fdisk -l to list all partitions.

Note that, /dev/sda is the name given to storage unit and the number associated with it represents partition. This name can be different for your storage. Always use fdisk -l to check name and partition to mount.

Source thread: UEFI: How to repair kali-linux grub dual boot with Windows 10 (https://forums.kali.org/editpost.php?p=71989&do=editpost)