| Summary: | draklive-install crashed on grub2-install (Set `GRUB_ENABLE_CRYPTODISK=y' in file `/etc/default/grub') | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | PC LX <mageia> |
| Component: | Installer | Assignee: | Thomas Backlund <tmb> |
| Status: | RESOLVED DUPLICATE | QA Contact: | |
| Severity: | critical | ||
| Priority: | Normal | CC: | marja11, thierry.vignaud, zen25000 |
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | draklive-install-2.1-3.mga5 | CVE: | |
| Status comment: | |||
|
Description
PC LX
2014-11-20 23:46:04 CET
(In reply to PC LX from comment #0) > grub2-install: error: attempt to install to encrypted disk without > cryptodisk enabled. Set `GRUB_ENABLE_CRYPTODISK=y' in file > `/etc/default/grub'.. > ...propagated at /usr/lib/libDrakX/any.pm line 263. IIUC, you tried to install the bootloader to an encrypted partition? AFAIK Mageia still doesn't support that, but I'll cc our GRUB2 maintainer and our Lives builder, they'll know better than me. CC:
(none) =>
marja11, tmb, zen25000 Not exactly. I tried to install the boot loader, GRUB2, to the MBR but /boot was in a LUKS encrypted partition. Still, draklive-install should not crash just because grub2-install fails, and that is the bug I reported. On a side note, after this, I was able to install GRUB2 correctly just by adding "GRUB_ENABLE_CRYPTODISK=y" to /etc/default/grub and running "grub2-install /dev/sda". The system boots correctly as well. The only issue is having to enter the LUKS password twice. I will do some more testing on this. Adding "GRUB_ENABLE_CRYPTODISK=y" to /etc/default/grub before the actual install and see if anything break when /boot is in a LUKS encrypted partition. Obviously, I didn't have coffee today. I should have said that so far we did not support the root partition being encrypted, _unless_ /boot is on a separate, _unencrypted_ partition. It is nice to know you managed to do this, though. Assigning to tmb, for the request to *not* let draklive installer crash when grub2-install fails CC:
tmb =>
(none)
Marja Van Waes
2014-12-03 20:21:09 CET
Summary:
draklive-install crashed =>
draklive-install crashed on failing grub2-install
Thierry Vignaud
2015-04-16 21:30:26 CEST
CC:
(none) =>
thierry.vignaud @ tv In cauldron GRUB_ENABLE_CRYPTODISK=y is default since 4 months: http://svnweb.mageia.org/packages?view=revision&revision=802632 - added GRUB_CRYPTODISK_ENABLE=y to default config mga#14741 - patch to fix regression when GRUB_CRYPTODISK_ENABLE=y with no encrypted partitions This is a duplicate of 14741 which is fixed, so closing. *** This bug has been marked as a duplicate of bug 14741 *** Status:
NEW =>
RESOLVED |