Subject: bug#485: grub-pc bootloader does not work in some cases

From: fsmithred <[email-masked]>
Date: Sat, 20 Jun 2020 09:04:32 -0400

Package: refractainstaller-gui
Version: All recent versions. 9.5.x, probably 9.4.x
grub-pc version: 2.02+dfsg1-20

grub-pc package no longer runs the configure dialog when installed with
'dpkg -i'. System fails to boot when root partition is encrypted and /boot
is not encrypted.

With unencrypted system, single virtual hard disk with single partition,
grub installs the bootloader in mbr of /dev/sda without asking. System
then boots normally.

Solution:
Uncomment line 1762 of /usr/bin/refractainstaller-yad to activate the
choose_grub function after installing the grub-pc package.

This may result in some users choosing the location for the bootloader
more than once. That's why the line was previously commented.

Note: There is no choose_grub function in the cli version of
refractainstaller, and it does not seem to be a problem there.

fsmithred