Bug#1032374: installation-reports

Holger Wansing hwansing at mailbox.org
Sun Mar 5 14:27:22 GMT 2023


Hi,

Holger Wansing <hwansing at mailbox.org> wrote (Sun, 5 Mar 2023 15:02:28 +0100):
> 
> mindfsck <mindfsck at gmail.com> wrote (Sun, 5 Mar 2023 12:16:48 +0100):
> > Package: installation-reports
> > 
> > Boot method: USB stick
> > Image version: debian-bookworm-DI-alpha2-amd64-netinst.iso
> > Date: 2023/03/05
> [...]
> > Comments/Problems:
> > The PC contained a full-sized Windows 10 partition, so I resized this
> > in Debian installer. After successful Debian installation,
> > the reboots never resulted in landing into GRUB, but rather Windows is
> > loaded :-(
> > 
> > Can I manually solve this?
> 
> This has already been reported several times, sadly. For example
> 
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1031594
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1012865
> 
> Re-assigning both above bugs to grub.
> 
> 
> 
> @mindfsck: you should be able to fix your problem like this:
> - as root, edit /etc/default/grub: find a line like
> 	#GRUB_DISABLE_OS_PROBER=false
>   Change it into
> 	GRUB_DISABLE_OS_PROBER=false
>   (means: remove the # at the beginning of the line.)
> 
> - as root, execute "update-grub"
> 
> This should find your Windows installation and add an entry to the 
> bootloader menu, to boot Windows.


Uups, sorry, I misread your report.
Your problem is, you can only boot Windows, and NOT boot Debian.
I mixed that up with reports, where a start entry for Windows is missing
in the grub menu.



In your case, my best guess would be, to start the debian-installer
again, but from the installer menu choose the "Rescue" entry, to not perform
another installation, but start a recovery environment, where you get the 
possibility to fix such things.

There, mount the corresponding partition (the partition, where you installed
Debian on; I guess this might be /dev/sda2) as /root, and then do similar
as written above:
execute "TERM=bterm nano /etc/default/grub"
to make a line containing "GRUB_DISABLE_OS_PROBER=false" in that file

Then call "update-grub".

Please report, how it goes.


Holger

-- 
Holger Wansing <hwansing at mailbox.org>
PGP-Fingerprint: 496A C6E8 1442 4B34 8508  3529 59F1 87CA 156E B076



More information about the Pkg-grub-devel mailing list