View Issue Details

IDProjectCategoryView StatusLast Update
0007865Kali LinuxGeneral Bugpublic2023-05-31 14:56
ReporterArszilla Assigned To 
PriorityhighSeveritymajorReproducibilityalways
Status closedResolutionopen 
Summary0007865: GRUB Has GRUB_DISABLE_OS_PROBER Set To False By Default
Description

As the title suggests, /etc/default/grub has no "GRUB_DISABLE_OS_PROBER=false", thus indicating GRUB will not automatically detect any other OS' bootloader (Windows or Linux/*NIX), thus making the individual add the line themselves to /etc/default/grub and then running "sudo update-grub" to detect the bootloaders.

If desired, Kali should fork GRUB and set GRUB_DISABLE_OS_PROBER=false to default to allow OS detection. This will allow every user to have their other OS' be discovered by default.

I am unsure why this change was done in the first place a few months back, but I am raising this ticket to raise awareness regarding the matter as I am unsure why no one has spoken about this.

Activities

kali-bugreport

kali-bugreport

2022-08-15 05:00

reporter   ~0016543

See:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1012865

https://salsa.debian.org/grub-team/grub/-/blob/f844128767f947e18f86ba8a32d745f9d7a60b57/debian/NEWS#L1-L5

https://lists.ubuntu.com/archives/ubuntu-devel/2021-December/041769.html

arnaudr

arnaudr

2022-08-17 04:54

manager   ~0016582

Actually, this change entered Kali only 2 months ago: http://pkg.kali.org/pkg/grub2 (look for grub 2.06.x). And it's been released in Kali 2022.3 only a few days ago. Maybe that's one nobody reported any issue so far.

Did anyone install Kali 2022.3 baremetal? How is it? Dual-boot completely broken? Only Kali appears in the GRUB menu, and they can't boot other OS? Or something else? How does it look like? I'd like to hear more about the issue before doing any change. Thanks!

Arszilla

Arszilla

2022-08-17 06:07

reporter   ~0016583

I just installed Kali on metal this Sunday (2022-08-14). I can confirm that my Windows partition/OS did not appear on GRUB. I had to add GRUB_DISABLE_OS_PROBER=false and then sudo update-grub to make my Windows partition appear on boot.

arnaudr

arnaudr

2022-08-19 08:02

manager   ~0016594

Upstream commits:

Ubuntu patched it:

arnaudr

arnaudr

2022-08-19 09:05

manager   ~0016595

I applied the patch from Ubuntu. Watch out for an update with grub version2.06-3kali2. I'm not 100% certain, but I think that this patch will NOT be enough to bring back the other OSs in the GRUB menu.

If anyone upgrade and get the new version of the grub package, please try to reboot and check if the other OSs appear in the GRUB menu. If it does not, try "sudo rm -f /boot/grub/grub.cfg && sudo update-grub". Check that the file /boot/grub/grub.cfg was re-created, then reboot. This time it should be good.
.

g0tmi1k

g0tmi1k

2023-05-31 14:56

administrator   ~0018096

This report has been filed against an old version of Kali. We will be closing this ticket due to inactivity.

Please could you see if you are able to replicate this issue with the latest version of Kali Linux (https://www.kali.org/get-kali/)?

If you are still facing the same problem, feel free to re-open the ticket. If you choose to do this, could you provide more information to the issue you are facing, and also give information about your setup?
For more information, please read: https://www.kali.org/docs/community/submitting-issues-kali-bug-tracker/

Issue History

Date Modified Username Field Change
2022-08-14 20:09 Arszilla New Issue
2022-08-15 05:00 kali-bugreport Note Added: 0016543
2022-08-17 04:54 arnaudr Note Added: 0016582
2022-08-17 06:07 Arszilla Note Added: 0016583
2022-08-19 08:02 arnaudr Note Added: 0016594
2022-08-19 09:05 arnaudr Note Added: 0016595
2023-05-31 14:56 g0tmi1k Note Added: 0018096
2023-05-31 14:56 g0tmi1k Status new => closed