Bug#1093820: grub-efi: boot ends in grub command prompt after fresh debian install
M. Dietrich
mdt at emdete.de
Wed Jan 22 23:07:54 GMT 2025
Package: grub-efi
Severity: important
Tags: d-i
X-Debbugs-Cc: mdt at emdete.de
(system information below doesnt relate to the system where this bug
encountered but i assume this isnt relevant) after installing a debian
from recently downloaded iso the system boots fine into grub but gets
stuck in the grub command prompt.
i installed debian in the same partition where previously ubuntu was
installed but did not know about additional files for efi in partition
1.
after some investigations i found that there was a leftover from the
ubuntu installation in directory /boot/efi/EFI/ubuntu
containing some files. very similar to the directory
/boot/efi/EFI/debian which comes with the debian installation.
efibootmgr showed values that seemed to be fine (while there was an
ubuntu entry) and BootOrder pointed to the debian Boot entry. the uuid
in grub.cfg was correct and pointed to the debian partition.
after removing that ubuntu directory grub works fine.
i dont know if it was just my mistake not to delete that dir when wiping
ubuntu from the system or the debian installer should notice that or
grub should not screw up when its not configured to take that dir into
account.
just checked: grub-efi version is 2.12-5
-- System Information:
Debian Release: 12.5
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.1.0-21-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages grub-efi depends on:
ii grub-common 2.06-13+deb12u1
ii grub-efi-amd64 2.06-13+deb12u1
grub-efi recommends no packages.
grub-efi suggests no packages.
More information about the Pkg-grub-devel
mailing list