Bug 7807

Summary: Installation in encrypted root partion failed
Product: Mageia Reporter: Frank M. <Frank.Muchitsch>
Component: InstallerAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED OLD QA Contact:
Severity: critical    
Priority: High CC: fri, nelg
Version: CauldronKeywords: NEEDINFO
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: CVE:
Status comment:

Description Frank M. 2012-10-15 21:54:42 CEST
I use since about a year Mageia 1 (64bit) with encrypted root.
Now I want to switch to Mageia 2.

So I try to make a Mageia 2 (64bit) installation in a encrypted partion.
The configuration is:
/boot in a not enncrypted Ext4 partion (200MB)
/ in a encrypted Ext4 partion (500GB)

The installation works fine except  the network will not start at the summary point.
The first reboot failed. No password request no reaction.
I try several different configurations/packages but ever the same.
First reboot stops after grubs.

So I installed Mageia 1 again with 
/boot not encrypted and
/ encrypted

It works all fine and I make all updates for Mageia 1.
After the system is up to date I made a distib upgrade via urpmi.addmedia --distrib ..etc.
as in the forum discribed. The upgade works and after I got requsted for a reeboot.
After reboot the same behaviour as at the new insatllation.
The first reboot failed. No password request no reaction.

So I decide to stay with Mageia 1.
But when this problem further exist I have to choose a different distribution.

 
I am really happy with Mageia but I need encryption.

I hope anybody can help.
Feel free to contact me for more information.
Frank M. 2012-10-15 21:58:12 CEST

Priority: Normal => High
Target Milestone: --- => Mageia 2

Frank M. 2012-10-16 20:50:31 CEST

Summary: Installation in ncrypted root partion failed => Installation in encrypted root partion failed

Comment 1 Manuel Hiebel 2012-10-27 23:44:22 CEST
>The first reboot failed. No password request no reaction.
is the first dependent of the second ?

more info in failsafe mode ? 

we have some bugs about encryption but I'm don't remember the cause.
Comment 2 Frank M. 2012-10-29 23:07:20 CET
With first reboot I mean the reboot after the installation.
The system hangs after grub menue, but don't reboot on itself.

Can you provide more information about what you mean with failsafe mode.

I try meanwhile to install Mageia2 in a vmware machine.
It is the same behaviour. Encryption is not working.


I would be really happy if I can help the Mageia community to solve this problem, and may more problems. So please advise how to proceed further.
I am experience in c and python and I ask to take part of the community.

best
FM
Glen Ogilvie 2013-04-03 11:33:29 CEST

CC: (none) => nelg

Comment 3 Morgan Leijström 2013-04-16 08:57:31 CEST
Hi Frank

I hope you have been able to join and help.  Else have a look here https://wiki.mageia.org/en/Contributing and post your offer or questions in the forum or where you find suitable.  Thank you :)

Have you tried if this problem still applies in mga3 cauldron?

If it does maybe assign Pascal or Thierry

As Manuel wrote there are some bugs in diskdrake regarding encrypted disk, and they are being worked upon now.  See bug 5666, #5811, #9741


That said, encrypted disk is working for me this way on mga2:
1) in installer clear existing patitionning,
2) create /boot ext4 120 MB,
3) rest of drive LVM, check mark encrypted, enter key, add to new lvm group vg-mga
4) in that lvm create and name your /, /home, swap, whatever

I have also tested that it works to on a running system expand the / and home, so you can create small partitions and expand later.  Good anyhow to make backups first...

But there are issues i have not traced yet, such as it fouled up when i deleted and recreated swap...

CC: (none) => fri

Comment 4 Samuel Verschelde 2013-08-27 12:32:48 CEST
This bug being about Mageia 2 installer, which will not change in the future, the only way to move forward is to make sure the bug doesn't reach Mageia 4, if it's still valid in cauldron today. To do that, please try with Mageia 4 alpha 1 that has already been released (or any more recent version of the installer, depending on the moment when you read this)

Keywords: (none) => NEEDINFO
Version: 2 => Cauldron
Target Milestone: Mageia 2 => ---

Comment 5 Dick Gevers 2014-11-16 08:49:12 CET
Unanswered for 15, so closing as old. Anyone seeing it in Cauldron can reopen it with good cause.

Status: NEW => RESOLVED
Resolution: (none) => OLD