Open UriHerrera opened 4 years ago
I just recently came across this issue with the standard Calamares installer. It turns out that this is possibly a problem caused by an error of some kind (I don't know how to debug this correctly) caused by a combination of libkpmcore
, dosfstools
, and Calamares that causes Calamares to fail to install GRUB to the target device. Most importantly is that it happened even when selecting Erase disk.
During this most recent occurrence, the version of libkpmcore
was 20.12.3, dosfstools
4.2, and Calamares 3.2.36. Using a previous version of libkpmcore
(20.12.2) and dosfstools
(4.1) with the same version of Calamares, the distribution is installed correctly.
There's no record of what version of libkpmcore
and dosfstools
was being used on this date, but the behavior is exactly the same. With that said, it's possible that this isn't a bug in Calamares-qml but in libkpmcore
itself.
Describe the bug The installer fails to add the EFI bootloader entry for the installed system when the option selected is either Replace or Install alongside. The command executed is
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=ubuntu --force
and the error readsgrub-install: error: cannot find a device for /boot/grub (is /dev mounted?)
.To Reproduce Steps to reproduce the behavior:
Expected behavior Installation succeeds.
Screenshots
Desktop (please complete the following information):
Notes This bug is triggered after the problem described in issue #1 is bypassed. And, just like the problem in #1 this bug is non-existent if the option Erase disk is selected.