Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

UEFI boot-repair not working

Ask for help with issues regarding the Installations of the Debian O/S.
Post Reply
Message
Author
ManfredB
Posts: 3
Joined: 2024-04-14 10:23

UEFI boot-repair not working

#1 Post by ManfredB »

I have installed Debian 12 on a new SSD after my previous Debian 11 disappeared due to bit-rot of a SSD.
Also on the system, on a different drive is Windows 10.
The Debian 12 install did not detect Windows and I ended up using legacy boot.
Now I want the dual boot back again, preferably using UEFI.
I have a Debian 12 live USB stick with boot-repair installed on it.
boot-repair finds Debian and Windows and makes reasonable repair suggestions but then it fails with
Please enable a repository containing the [grub-efi] packages in the software sources do Debian GNU/Linux 12 (bookworm)(/dev/sdb2). Then try again.
The boot-repair log file is in: https://paste.debian.net/hidden/db8df863/

According to Google, several people have encountered this problem but none have received an answer that would allow boot-repair to succeed.
Any ideas?
Last edited by ManfredB on 2024-04-14 13:47, edited 1 time in total.

User avatar
sunrat
Administrator
Administrator
Posts: 6593
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 119 times
Been thanked: 502 times

Re: UEFI boot-repair not working

#2 Post by sunrat »

For Debian GRUB to detect other OSs you need to enable os_prober which is disabled by default. Boot Debian and change it in /etc/default/grub . You don't need boot-repair or a live disk to do this.
There are a number of topics about this already.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

ManfredB
Posts: 3
Joined: 2024-04-14 10:23

Re: UEFI boot-repair not working

#3 Post by ManfredB »

sunrat wrote: 2024-04-14 11:19 For Debian GRUB to detect other OSs you need to enable os_prober which is disabled by default. Boot Debian and change it in /etc/default/grub . You don't need boot-repair or a live disk to do this.
There are a number of topics about this already.
changed /etc/default/grub to:
GRUB_DISABLE_OS_PROBER=false
then ran
update-grub
not the slightest difference, windows not detected.
also tried
update-grub2
no difference either.

I also fail to see how this would allow me to get UEFI boot to work.

Post Reply