The "draklive-install" program crashed. Drakbug-16.44 caught it. Was installing "Mageia 5 beta1" just after grub configuration. grub2-install failed: Installing for i386-pc platform. File descriptor 4 (/) leaked on vgs invocation. Parent PID 21419: grub2-install File descriptor 4 (/) leaked on vgs invocation. Parent PID 21419: grub2-install 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. Perl's trace: standalone::bug_handler() called from /usr/lib/libDrakX/any.pm:263 any::installBootloader() called from /usr/lib/libDrakX/any.pm:233 any::setupBootloaderUntilInstalled() called from /usr/sbin/draklive-install:327 main::setup_bootloader() called from /usr/sbin/draklive-install:70 main::install_live() called from /usr/sbin/draklive-install:42 Theme name: oxygen-gtk Kernel version = 3.17.2-desktop-3.mga5 Distribution=Mageia release 5 (Cauldron) for x86_64 CPU=Intel(R) Core(TM)2 Quad CPU Q9400 @ 2.66GHz
(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)Assignee: bugsquad => tmb
Summary: draklive-install crashed => draklive-install crashed on failing grub2-install
CC: (none) => thierry.vignaudSummary: draklive-install crashed on failing grub2-install => draklive-install crashed on grub2-install (Set `GRUB_ENABLE_CRYPTODISK=y' in file `/etc/default/grub')
@ 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 => RESOLVEDResolution: (none) => DUPLICATE