Description of problem: The rescue system fails when system use LUKS (at least when on LVM inside it) Version-Release number of selected component (if applicable): Mga6 iso tested, setting version=6 as we intend to ship 6.1. How reproducible: seem to be LUKS is the culprit? - should be made to ask for password if needed. ___Steps to Reproduce: 1. Have a Mageia system installed as follows, using installer to partition: a separate ext4 /boot, then a large partition LVM, encrypted; and in that /, /home, swap Pretend grub got busted and you want to repair it: 2. Launch Rescue mode, i mean in this menu http://doc.mageia.org/installer/6/en/content/installer.html#d4e219 3. It do not find the correct place to put grub. I tried anyways and it failed of course. (at least it did not wreck anything :) ) I will attach screenshots. I did not understand how to save a log from rescue mode. Should also be tested by developer: Try rescue on a UEFI system set up like described above, formatted drive also have a EFI partition, and a windows partition. It seemed even more confused. If it matters that was a nVME SSD drive, GPT formatted. Related: Bug 22794 - Installer fail to offer upgrade when partitioning use encryption (at least encrypted LVM)
Whiteboard: (none) => (MGA6) MGA6.1TOOAssignee: bugsquad => mageiatoolsCC: (none) => marja11, pterjan
Created attachment 10052 [details] Photo of screen after i answered y anyway and grub.sh failed
See also bug 25466, which might possibly be a duplicate of this one; but I cannot judge. The Description here is rather confused.
Yes sorry. When writiting this bug i did not realise we need to use shell to unlock LUKS partitions, and use LVM tools (without symlinks like vgscan) before it can try to repair. Changing this to an enhancement request: The rescue system could detect and tell if user need to unlock LUKS and/or LVM (and possibly assist)
Priority: Normal => LowSeverity: normal => enhancementWhiteboard: (MGA6) MGA6.1TOO => MGA7TOOSummary: The rescue system fails when system use LUKS (at least when on LVM inside it) => The rescue system could detect and tell if user need to unlock LUKS and/or LVM
Fixed in git
Resolution: (none) => FIXEDStatus: NEW => RESOLVEDCC: (none) => thierry.vignaud
*** Bug 22786 has been marked as a duplicate of this bug. ***