Source: grub-installer
Version: 1.194
Severity: normal
Tags: d-i
X-Debbugs-Cc: [email protected]
Dear Maintainer,
On bookworm, i386, the installer menu that asks which drive to use for GRUB
installation is misbehaving. This was happening on 12.13; I've downloaded a
fresh DVD image of 12.14 yesterday to test and it's still an issue.
1) Go through the installation as usual. In all of my test cases, I've
created a new partition table with a single ext4 root partition. It doesn't
seem to matter whether you check "bootable flag", or use network mirrors or not.
2) When the installer asks whether you want to install GRUB to your
primary drive, select No.
3) Select the desired disk in the list presented.
4) It will run "grub-install " (without any drive argument),
effectively installing it nowhere. The resulting system is unbootable.
If you do agree to install on your primary drive, it shows the drive list
anyway, even if you only have one drive, even if it only has one partition, but
this time selecting a drive will actually install GRUB.
If, instead of choosing the disk from the list, you select "Enter drive
manually", that will work correctly too.
I've tested this on real hardware (Intel D865GLC) with several USB pen drives,
a SATA hard disk drive, as well on VirtualBox with one virtual SATA DVD drive
and one virtual SATA HDD.
-- System Information:
Debian Release: 12.14
APT prefers oldstable-updates
APT policy: (500, 'oldstable-updates'), (500, 'oldstable-security'), (500,
'oldstable')
Architecture: i386 (i686)
Kernel: Linux 6.1.0-48-686-pae (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled