François POLASTRON wrote:
> I found a big bug in debian-Installer on a "BIOS Legacy" computer
> When trying to force grub installation in other device than primary disk, in
> graphical mode the menu lets the user choose the device:
> /dev/sda
> /dev/sdb
> ...
> But when we choose one of a device debian-Installer don't install GRUB WITHOUT
> ERROR MESSAGE.
>
> In fact we must enter the device with the keyboard taping "/dev/sda"... to
> contourn the bug.
Good morning!
Just popping in to say that I've run into this exact problem on Debian
12 (Bookworm) as well. I'm installing onto a system with two drives in
a raid1 config, so the installer presents a dialog with these choices
for installing GRUB:
- Enter device manually
- /dev/sda (ata-VBOX_HARDDISK_VBcb2c038a-37db3d41)
- /dev/sdb (ata-VBOX_HARDDISK_VB9084690a-b32386db)
If choose "Enter device manually", and type in "/dev/sda", I get two
statuses shown on the next progress bar:
1. running "grub-install /dev/sda"
2. running "update-grub"
If I instead pick the dropdown entry for "/dev/sda", the installer skips
the "grub-install" step and goes right to "update-grub," which leaves the
freshly-installed OS in an unbootable state.
Interestingly, if I *manually* type in /dev/sda (which installs GRUB
properly) and then go back and re-install GRUB using the dropdown entry,
from that point forward the dropdown selection works and I get the
"grub-install" step properly.
On a system which didn't get the grub-install step (so is unbootable), I
can at least boot into recovery mode and reinstall GRUB from there,
which requires just typing in /dev/sda and fixes things up.
I'm attaching the contents of /var/log from the installer after choosing
the menu item version (which skips grub-install), though I don't see
anything too obviously useful in there myself.
Let me know if I can provide any more info.
Cheers,
CJ
Attachment:
syslog.gz
Description: application/gzip
Attachment:
partman.gz
Description: application/gzip
Attachment:
firmware-summary.gz
Description: application/gzip