Dual boot Kali and Mint. Want to use Grub of Mint

Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
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?
linux-mint kali-linux grub2 dual-boot
 |Â
show 2 more comments
up vote
0
down vote
favorite
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?
linux-mint kali-linux grub2 dual-boot
Can you boot into Mint via Kali's grub menu?
â sudodus
Jul 13 at 14:54
I can but I prefer to have the grub controlled by Mint rather than Kali.
â waaaw
Jul 13 at 15:01
OK, that makes is fairly simple to replace grub.
â sudodus
Jul 13 at 15:08
Is there way to replace it?
â waaaw
Jul 13 at 15:22
I am working on an answer. Please boot into Mint and run the following command to check if it is booted in UEFI or BIOS mode:test -d /sys/firmware/efi && echo efi || echo biosand let me know.
â sudodus
Jul 13 at 15:24
 |Â
show 2 more comments
up vote
0
down vote
favorite
up vote
0
down vote
favorite
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?
linux-mint kali-linux grub2 dual-boot
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?
linux-mint kali-linux grub2 dual-boot
linux-mint kali-linux grub2 dual-boot
edited 6 mins ago
Rui F Ribeiro
37.6k1475119
37.6k1475119
asked Jul 13 at 14:38
waaaw
195
195
Can you boot into Mint via Kali's grub menu?
â sudodus
Jul 13 at 14:54
I can but I prefer to have the grub controlled by Mint rather than Kali.
â waaaw
Jul 13 at 15:01
OK, that makes is fairly simple to replace grub.
â sudodus
Jul 13 at 15:08
Is there way to replace it?
â waaaw
Jul 13 at 15:22
I am working on an answer. Please boot into Mint and run the following command to check if it is booted in UEFI or BIOS mode:test -d /sys/firmware/efi && echo efi || echo biosand let me know.
â sudodus
Jul 13 at 15:24
 |Â
show 2 more comments
Can you boot into Mint via Kali's grub menu?
â sudodus
Jul 13 at 14:54
I can but I prefer to have the grub controlled by Mint rather than Kali.
â waaaw
Jul 13 at 15:01
OK, that makes is fairly simple to replace grub.
â sudodus
Jul 13 at 15:08
Is there way to replace it?
â waaaw
Jul 13 at 15:22
I am working on an answer. Please boot into Mint and run the following command to check if it is booted in UEFI or BIOS mode:test -d /sys/firmware/efi && echo efi || echo biosand let me know.
â sudodus
Jul 13 at 15:24
Can you boot into Mint via Kali's grub menu?
â sudodus
Jul 13 at 14:54
Can you boot into Mint via Kali's grub menu?
â sudodus
Jul 13 at 14:54
I can but I prefer to have the grub controlled by Mint rather than Kali.
â waaaw
Jul 13 at 15:01
I can but I prefer to have the grub controlled by Mint rather than Kali.
â waaaw
Jul 13 at 15:01
OK, that makes is fairly simple to replace grub.
â sudodus
Jul 13 at 15:08
OK, that makes is fairly simple to replace grub.
â sudodus
Jul 13 at 15:08
Is there way to replace it?
â waaaw
Jul 13 at 15:22
Is there way to replace it?
â waaaw
Jul 13 at 15:22
I am working on an answer. Please boot into Mint and run the following command to check if it is booted in UEFI or BIOS mode:
test -d /sys/firmware/efi && echo efi || echo bios and let me know.â sudodus
Jul 13 at 15:24
I am working on an answer. Please boot into Mint and run the following command to check if it is booted in UEFI or BIOS mode:
test -d /sys/firmware/efi && echo efi || echo bios and let me know.â sudodus
Jul 13 at 15:24
 |Â
show 2 more comments
2 Answers
2
active
oldest
votes
up vote
1
down vote
accepted
When you can boot Mint via Kali's grub menu, you can replace grub to make it point to Mint.
Boot into Linux Mint and run the following commands
Check if you are running in BIOS mode or UEFI mode. It seems that Mint was installed in UEFI mode, but you can check with
test -d /sys/firmware/efi && echo efi || echo biosCheck where you have
grub.cfg. It is usually in/boot/grub, which is the default.find /boot -name 'grub.cfg'If it is somewhere else you need an option to point to the correct location. See
man grub-installfor the details.Install the grub bootloader. See the following link,
help.ubuntu.com/community/Grub2/Installing#Reinstalling_GRUB_2_from_a_Working_System
sudo grub-install /dev/sdX # Example: sudo grub-install /dev/sdaThis command works in BIOS mode and I checked now that it works in UEFI mode too (tested with Lubuntu 18.04 LTS and Ubuntu 16.04.1 LTS in a NUC).
Then run the following command to make Mint see Kali (there should be at least one menu item for Kali in Mint's grub menu),
sudo update-grub
Solution (after comments and a chat)
Running those commands from Mint could not overwrite/remove the file grubx64.efi, that points to Kali. But the OP saw it and did it manually.
Thanks man, I have question regarding grub-install. I have a separate partition for boot (/dev/sdb4) and I want to have the boot files on that partition alone. Will grub-install /dev/sdb do the trick then?
â waaaw
Jul 13 at 17:27
Maybe not, so please check more before going ahead. 1. At least in Ubuntu, a separate boot partition will be mounted as/bootand you should use it like that (check withfind /boot ...as described; 2. Furthermore, UEFI boot will usually point to/dev/sda(the first drive), but I notice your output oflsblkin the question. Please boot into Mint and runlsblkand check where you have the EFI system partition.
â sudodus
Jul 13 at 17:39
If you want more specific help with Mint, please tell me which version it is.
â sudodus
Jul 13 at 17:42
Im sorry. I am booted on linux mint. Version is 19. Also the EFI partition is /dev/sdb4 (I remember Mint dont want to install without this EFI partition). Also, I followed the instructions above (used /dev/sdb for grub-install) but Kali grub is still used.
â waaaw
Jul 13 at 17:46
If you can boot into Mint when the extra disk for files is disconnected, it will be easier to get things correct. If it is mounted via/etc/fstabyou can comment that out (with a#in the beginning of the line).
â sudodus
Jul 13 at 17:48
 |Â
show 4 more comments
up vote
1
down vote
If the commands by sudodus does not work to you and you are also on UEFI mode, you can try a quick solution:
In /boot/efi/EFI/ there will be directories of all the OS with grub bootloader in your system.
What I did is removed the file grubx64.efi inside kali directory and reboot my system.
Note: Take precautions in removing this file as it can make your system not bootable.
add a comment |Â
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
accepted
When you can boot Mint via Kali's grub menu, you can replace grub to make it point to Mint.
Boot into Linux Mint and run the following commands
Check if you are running in BIOS mode or UEFI mode. It seems that Mint was installed in UEFI mode, but you can check with
test -d /sys/firmware/efi && echo efi || echo biosCheck where you have
grub.cfg. It is usually in/boot/grub, which is the default.find /boot -name 'grub.cfg'If it is somewhere else you need an option to point to the correct location. See
man grub-installfor the details.Install the grub bootloader. See the following link,
help.ubuntu.com/community/Grub2/Installing#Reinstalling_GRUB_2_from_a_Working_System
sudo grub-install /dev/sdX # Example: sudo grub-install /dev/sdaThis command works in BIOS mode and I checked now that it works in UEFI mode too (tested with Lubuntu 18.04 LTS and Ubuntu 16.04.1 LTS in a NUC).
Then run the following command to make Mint see Kali (there should be at least one menu item for Kali in Mint's grub menu),
sudo update-grub
Solution (after comments and a chat)
Running those commands from Mint could not overwrite/remove the file grubx64.efi, that points to Kali. But the OP saw it and did it manually.
Thanks man, I have question regarding grub-install. I have a separate partition for boot (/dev/sdb4) and I want to have the boot files on that partition alone. Will grub-install /dev/sdb do the trick then?
â waaaw
Jul 13 at 17:27
Maybe not, so please check more before going ahead. 1. At least in Ubuntu, a separate boot partition will be mounted as/bootand you should use it like that (check withfind /boot ...as described; 2. Furthermore, UEFI boot will usually point to/dev/sda(the first drive), but I notice your output oflsblkin the question. Please boot into Mint and runlsblkand check where you have the EFI system partition.
â sudodus
Jul 13 at 17:39
If you want more specific help with Mint, please tell me which version it is.
â sudodus
Jul 13 at 17:42
Im sorry. I am booted on linux mint. Version is 19. Also the EFI partition is /dev/sdb4 (I remember Mint dont want to install without this EFI partition). Also, I followed the instructions above (used /dev/sdb for grub-install) but Kali grub is still used.
â waaaw
Jul 13 at 17:46
If you can boot into Mint when the extra disk for files is disconnected, it will be easier to get things correct. If it is mounted via/etc/fstabyou can comment that out (with a#in the beginning of the line).
â sudodus
Jul 13 at 17:48
 |Â
show 4 more comments
up vote
1
down vote
accepted
When you can boot Mint via Kali's grub menu, you can replace grub to make it point to Mint.
Boot into Linux Mint and run the following commands
Check if you are running in BIOS mode or UEFI mode. It seems that Mint was installed in UEFI mode, but you can check with
test -d /sys/firmware/efi && echo efi || echo biosCheck where you have
grub.cfg. It is usually in/boot/grub, which is the default.find /boot -name 'grub.cfg'If it is somewhere else you need an option to point to the correct location. See
man grub-installfor the details.Install the grub bootloader. See the following link,
help.ubuntu.com/community/Grub2/Installing#Reinstalling_GRUB_2_from_a_Working_System
sudo grub-install /dev/sdX # Example: sudo grub-install /dev/sdaThis command works in BIOS mode and I checked now that it works in UEFI mode too (tested with Lubuntu 18.04 LTS and Ubuntu 16.04.1 LTS in a NUC).
Then run the following command to make Mint see Kali (there should be at least one menu item for Kali in Mint's grub menu),
sudo update-grub
Solution (after comments and a chat)
Running those commands from Mint could not overwrite/remove the file grubx64.efi, that points to Kali. But the OP saw it and did it manually.
Thanks man, I have question regarding grub-install. I have a separate partition for boot (/dev/sdb4) and I want to have the boot files on that partition alone. Will grub-install /dev/sdb do the trick then?
â waaaw
Jul 13 at 17:27
Maybe not, so please check more before going ahead. 1. At least in Ubuntu, a separate boot partition will be mounted as/bootand you should use it like that (check withfind /boot ...as described; 2. Furthermore, UEFI boot will usually point to/dev/sda(the first drive), but I notice your output oflsblkin the question. Please boot into Mint and runlsblkand check where you have the EFI system partition.
â sudodus
Jul 13 at 17:39
If you want more specific help with Mint, please tell me which version it is.
â sudodus
Jul 13 at 17:42
Im sorry. I am booted on linux mint. Version is 19. Also the EFI partition is /dev/sdb4 (I remember Mint dont want to install without this EFI partition). Also, I followed the instructions above (used /dev/sdb for grub-install) but Kali grub is still used.
â waaaw
Jul 13 at 17:46
If you can boot into Mint when the extra disk for files is disconnected, it will be easier to get things correct. If it is mounted via/etc/fstabyou can comment that out (with a#in the beginning of the line).
â sudodus
Jul 13 at 17:48
 |Â
show 4 more comments
up vote
1
down vote
accepted
up vote
1
down vote
accepted
When you can boot Mint via Kali's grub menu, you can replace grub to make it point to Mint.
Boot into Linux Mint and run the following commands
Check if you are running in BIOS mode or UEFI mode. It seems that Mint was installed in UEFI mode, but you can check with
test -d /sys/firmware/efi && echo efi || echo biosCheck where you have
grub.cfg. It is usually in/boot/grub, which is the default.find /boot -name 'grub.cfg'If it is somewhere else you need an option to point to the correct location. See
man grub-installfor the details.Install the grub bootloader. See the following link,
help.ubuntu.com/community/Grub2/Installing#Reinstalling_GRUB_2_from_a_Working_System
sudo grub-install /dev/sdX # Example: sudo grub-install /dev/sdaThis command works in BIOS mode and I checked now that it works in UEFI mode too (tested with Lubuntu 18.04 LTS and Ubuntu 16.04.1 LTS in a NUC).
Then run the following command to make Mint see Kali (there should be at least one menu item for Kali in Mint's grub menu),
sudo update-grub
Solution (after comments and a chat)
Running those commands from Mint could not overwrite/remove the file grubx64.efi, that points to Kali. But the OP saw it and did it manually.
When you can boot Mint via Kali's grub menu, you can replace grub to make it point to Mint.
Boot into Linux Mint and run the following commands
Check if you are running in BIOS mode or UEFI mode. It seems that Mint was installed in UEFI mode, but you can check with
test -d /sys/firmware/efi && echo efi || echo biosCheck where you have
grub.cfg. It is usually in/boot/grub, which is the default.find /boot -name 'grub.cfg'If it is somewhere else you need an option to point to the correct location. See
man grub-installfor the details.Install the grub bootloader. See the following link,
help.ubuntu.com/community/Grub2/Installing#Reinstalling_GRUB_2_from_a_Working_System
sudo grub-install /dev/sdX # Example: sudo grub-install /dev/sdaThis command works in BIOS mode and I checked now that it works in UEFI mode too (tested with Lubuntu 18.04 LTS and Ubuntu 16.04.1 LTS in a NUC).
Then run the following command to make Mint see Kali (there should be at least one menu item for Kali in Mint's grub menu),
sudo update-grub
Solution (after comments and a chat)
Running those commands from Mint could not overwrite/remove the file grubx64.efi, that points to Kali. But the OP saw it and did it manually.
edited Jul 13 at 18:50
answered Jul 13 at 17:04
sudodus
49115
49115
Thanks man, I have question regarding grub-install. I have a separate partition for boot (/dev/sdb4) and I want to have the boot files on that partition alone. Will grub-install /dev/sdb do the trick then?
â waaaw
Jul 13 at 17:27
Maybe not, so please check more before going ahead. 1. At least in Ubuntu, a separate boot partition will be mounted as/bootand you should use it like that (check withfind /boot ...as described; 2. Furthermore, UEFI boot will usually point to/dev/sda(the first drive), but I notice your output oflsblkin the question. Please boot into Mint and runlsblkand check where you have the EFI system partition.
â sudodus
Jul 13 at 17:39
If you want more specific help with Mint, please tell me which version it is.
â sudodus
Jul 13 at 17:42
Im sorry. I am booted on linux mint. Version is 19. Also the EFI partition is /dev/sdb4 (I remember Mint dont want to install without this EFI partition). Also, I followed the instructions above (used /dev/sdb for grub-install) but Kali grub is still used.
â waaaw
Jul 13 at 17:46
If you can boot into Mint when the extra disk for files is disconnected, it will be easier to get things correct. If it is mounted via/etc/fstabyou can comment that out (with a#in the beginning of the line).
â sudodus
Jul 13 at 17:48
 |Â
show 4 more comments
Thanks man, I have question regarding grub-install. I have a separate partition for boot (/dev/sdb4) and I want to have the boot files on that partition alone. Will grub-install /dev/sdb do the trick then?
â waaaw
Jul 13 at 17:27
Maybe not, so please check more before going ahead. 1. At least in Ubuntu, a separate boot partition will be mounted as/bootand you should use it like that (check withfind /boot ...as described; 2. Furthermore, UEFI boot will usually point to/dev/sda(the first drive), but I notice your output oflsblkin the question. Please boot into Mint and runlsblkand check where you have the EFI system partition.
â sudodus
Jul 13 at 17:39
If you want more specific help with Mint, please tell me which version it is.
â sudodus
Jul 13 at 17:42
Im sorry. I am booted on linux mint. Version is 19. Also the EFI partition is /dev/sdb4 (I remember Mint dont want to install without this EFI partition). Also, I followed the instructions above (used /dev/sdb for grub-install) but Kali grub is still used.
â waaaw
Jul 13 at 17:46
If you can boot into Mint when the extra disk for files is disconnected, it will be easier to get things correct. If it is mounted via/etc/fstabyou can comment that out (with a#in the beginning of the line).
â sudodus
Jul 13 at 17:48
Thanks man, I have question regarding grub-install. I have a separate partition for boot (/dev/sdb4) and I want to have the boot files on that partition alone. Will grub-install /dev/sdb do the trick then?
â waaaw
Jul 13 at 17:27
Thanks man, I have question regarding grub-install. I have a separate partition for boot (/dev/sdb4) and I want to have the boot files on that partition alone. Will grub-install /dev/sdb do the trick then?
â waaaw
Jul 13 at 17:27
Maybe not, so please check more before going ahead. 1. At least in Ubuntu, a separate boot partition will be mounted as
/boot and you should use it like that (check with find /boot ... as described; 2. Furthermore, UEFI boot will usually point to /dev/sda (the first drive), but I notice your output of lsblk in the question. Please boot into Mint and run lsblk and check where you have the EFI system partition.â sudodus
Jul 13 at 17:39
Maybe not, so please check more before going ahead. 1. At least in Ubuntu, a separate boot partition will be mounted as
/boot and you should use it like that (check with find /boot ... as described; 2. Furthermore, UEFI boot will usually point to /dev/sda (the first drive), but I notice your output of lsblk in the question. Please boot into Mint and run lsblk and check where you have the EFI system partition.â sudodus
Jul 13 at 17:39
If you want more specific help with Mint, please tell me which version it is.
â sudodus
Jul 13 at 17:42
If you want more specific help with Mint, please tell me which version it is.
â sudodus
Jul 13 at 17:42
Im sorry. I am booted on linux mint. Version is 19. Also the EFI partition is /dev/sdb4 (I remember Mint dont want to install without this EFI partition). Also, I followed the instructions above (used /dev/sdb for grub-install) but Kali grub is still used.
â waaaw
Jul 13 at 17:46
Im sorry. I am booted on linux mint. Version is 19. Also the EFI partition is /dev/sdb4 (I remember Mint dont want to install without this EFI partition). Also, I followed the instructions above (used /dev/sdb for grub-install) but Kali grub is still used.
â waaaw
Jul 13 at 17:46
If you can boot into Mint when the extra disk for files is disconnected, it will be easier to get things correct. If it is mounted via
/etc/fstab you can comment that out (with a # in the beginning of the line).â sudodus
Jul 13 at 17:48
If you can boot into Mint when the extra disk for files is disconnected, it will be easier to get things correct. If it is mounted via
/etc/fstab you can comment that out (with a # in the beginning of the line).â sudodus
Jul 13 at 17:48
 |Â
show 4 more comments
up vote
1
down vote
If the commands by sudodus does not work to you and you are also on UEFI mode, you can try a quick solution:
In /boot/efi/EFI/ there will be directories of all the OS with grub bootloader in your system.
What I did is removed the file grubx64.efi inside kali directory and reboot my system.
Note: Take precautions in removing this file as it can make your system not bootable.
add a comment |Â
up vote
1
down vote
If the commands by sudodus does not work to you and you are also on UEFI mode, you can try a quick solution:
In /boot/efi/EFI/ there will be directories of all the OS with grub bootloader in your system.
What I did is removed the file grubx64.efi inside kali directory and reboot my system.
Note: Take precautions in removing this file as it can make your system not bootable.
add a comment |Â
up vote
1
down vote
up vote
1
down vote
If the commands by sudodus does not work to you and you are also on UEFI mode, you can try a quick solution:
In /boot/efi/EFI/ there will be directories of all the OS with grub bootloader in your system.
What I did is removed the file grubx64.efi inside kali directory and reboot my system.
Note: Take precautions in removing this file as it can make your system not bootable.
If the commands by sudodus does not work to you and you are also on UEFI mode, you can try a quick solution:
In /boot/efi/EFI/ there will be directories of all the OS with grub bootloader in your system.
What I did is removed the file grubx64.efi inside kali directory and reboot my system.
Note: Take precautions in removing this file as it can make your system not bootable.
answered Jul 13 at 18:37
waaaw
195
195
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f455129%2fdual-boot-kali-and-mint-want-to-use-grub-of-mint%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Can you boot into Mint via Kali's grub menu?
â sudodus
Jul 13 at 14:54
I can but I prefer to have the grub controlled by Mint rather than Kali.
â waaaw
Jul 13 at 15:01
OK, that makes is fairly simple to replace grub.
â sudodus
Jul 13 at 15:08
Is there way to replace it?
â waaaw
Jul 13 at 15:22
I am working on an answer. Please boot into Mint and run the following command to check if it is booted in UEFI or BIOS mode:
test -d /sys/firmware/efi && echo efi || echo biosand let me know.â sudodus
Jul 13 at 15:24