2

Im currently running Debian 12, and I want to be able to have Kali Linux as a second option in GRUB. I've already installed the Kali Linux OS (rolling) using debootstrap (sudo debootstrap kali-rolling /mnt/kali http://http.kali.org/kali) and installed kali-linux-core, linux-image-amd64, systemd-sysv, grub-efi-amd64, and os-prober.

I can use it (kind of) from inside the terminal using the following commands:

sudo mount --bind /dev /mnt/kali/dev

sudo mount --bind /proc /mnt/kali/proc

sudo mount --bind /sys /mnt/kali/sys

sudo chroot /mnt/kali

I've already tried sudo update-grub and os-prober and they didn't work.

What can I do to show it in GRUB as another bootable OS?

4
  • @ChanganAuto I already tried that and os-prober, both didn't detect it. Commented Oct 8 at 17:09
  • 2
    Did the Debian has a separate /boot partition? If so, were you trying to share it with the Kali? Did you run update-grub after exiting the chroot? (And I hope you didn't run grub-install in the chroot?) Commented Oct 8 at 20:27
  • 1
    Using the refind bootloader allows for having many distros available for booting easily. Commented Oct 10 at 5:26
  • 1
    Sorry this doesn't really answer your question, but I recommend that you use Kali inside a VM, see virt-manager. Commented Oct 11 at 9:27

1 Answer 1

-3

Try going into the BIOS and moving the drive with Kali on it to be one of the top ones

Find a list like this in the BIOS

Find a list like this in the BIOS

2
  • 2
    As it’s currently written, your answer is unclear. Please edit to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers in the help center. Commented Oct 8 at 19:40
  • Did you try this suggestion or is it just a guess? It won't do anything to address the question that's been asked Commented Oct 9 at 6:15

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.