Hide Forgot
Created attachment 1165041 [details] kickstart file Description of problem: Enters dracut emergency shell after installation with autopart encrypted. Version-Release number of selected component (if applicable): rhev-hypervisor7-ng-4.0-20160527.0.x86_64 imgbased-0.7.0-0.1.el7ev.noarch How reproducible: 100% Steps to Reproduce: 1. Install NGN on a machine with kickstart file in attachment. key parameters: autopart --type=thinp --encrypted --passphrase=$1$wHbL1u1G$gqz7IPh.ctaUHFMpQnyKl/ 2. During rebooting , input the passphrase 3. Check system after rebooting process Actual results: Enters dracut emergency shell after rebooting. Expected results: System reboot successfully, and login screen prompt. Additional info:
Created attachment 1165042 [details] resosreport
Does this also happen with RHEL7?
Hi Fabian, I will give the feedback later since I need to debug some problems and future research.
Test Version RHEL-7.2-20151015.0-Server-x86_64-dvd1.iso Test Steps: 1. Get squashfs image from RHEL DVD iso 2. Get passphrase via command #openssl passwd -1 3. Install NGN on a machine with kickstart file key parameters: autopart --type=thinp --encrypted --passphrase=$1$wHbL1u1G$gqz7IPh.ctaUHFMpQnyKl/ 4. Check the process of installation Result: Install fail, since "Could not open X display" More info: Using rhev-hypervisor7-ng-4.0-20160608.0.x86_64 for retesting, and part /boot individually which is not encrypted, also install fail, the "Could not open X display" prompted.
LUKS does not the same crypt algorithm as the system password, and a pre-encrypted passphrase cannot be set in kickstart. The passphrase set for this install is literally "$1$wHbL1u1G$gqz7IPh.ctaUHFMpQnyKl/".