TL;DR; I want to use Linux Mint GRUB instead of Kali Linux. Is there a way to disable the GRUB of Kali Linux and used GRUB of Linux Mint?
Linux Mint GRUB is installed on a separate partion (/dev/sdb4) Kali Linux GRUB is installed together in its / directory (/dev/sdb2)
I recently installed Kali Linux on my Laptop with Linux Mint installed. However, after installation, the GRUB used is Kali (determined by the kali background image) and my old GRUB (Linux Mint) was overwritten(?). I also checked the partition where I installed Kali Linux and found a separate boot folder.
During installation of Kali, option to install new boot loader was not given.
I understand there are commands like grub-install or something that I can run on my host system, in this case Linux Mint. However, I also read that during installtion of GRUB it writes something in the master boot record.
$ lsblk
NAME SIZE RO TYPE MOUNTPOINT
sda 698.7G 0 disk # extra disk for files
└─sda1 698.7G 0 part /media/user/Shared #Samba share
sdb 489.1G 0 disk # main disk
├─sdb1 4G 0 part [SWAP] # this is shared between 2 distro
├─sdb2 200G 0 part # Partition for Kali Linux
├─sdb3 200G 0 part / # Partition for Linux Mint
├─sdb4 976M 0 part /boot/efi # EFI partition (from Mint installation)
└─sdb5 84.1G 0 part /media/user/DPartition # partition shared between distro
I want to use the GRUB installed in /dev/sdb4 instead of the GRUB installed in the /dev/sdb2:/boot.
Is there a way to disable or delete the GRUB in Kali Linux? Any help will do. Thanks!!!
P.S. I don't have a live CD right now, I just used a borrowed flash disk to boot and install linux from USB.
-edit- I can boot from Mint and Kali using the GRUB of Kali linux.
I understand since I am using UEFI I can just remove the GRUB from Kali and my laptop will just boot from /dev/sdb4 however I cannot risk it since I don't have a live cd to use right now. Is there a way to do this without using a live cd?
test -d /sys/firmware/efi && echo efi || echo bios
and let me know. – sudodus Jul 13 '18 at 15:24