If I have a LUKS partition, CentOS 7 won't boot up. Without LUKS it boots up fine.
LUKS setup during installation process.
VM has no errors or logs.
Tested setup (minimal installation from network):
1. LVM, /boot, /, /home (encrypted)
2. LVM, / (encrypted)
3. standard partitions, /boot, /, /home (encrypted)
4. standard partition, / (encrypted)
Tested on these virtualization platforms: KVM, VMware ESXi 5.5 U2.
See attached screenshots.
[Solved] VM with LUKS won't boot
[Solved] VM with LUKS won't boot
- Attachments
-
- KVM
- kvm.png (2.58 KiB) Viewed 4321 times
-
- VMware
- vmware.png (15.41 KiB) Viewed 4321 times
Last edited by marosh on 2014/12/26 07:48:17, edited 1 time in total.
Re: VM with LUKS won't boot
It's a known bug. It's asking for the password for the luks partition but you can't see it. Reboot and remove rhgb quiet from the kernel command line at the grub prompt and then it will work.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: VM with LUKS won't boot
Thanks, it helped.TrevorH wrote:Reboot and remove rhgb quiet from the kernel command line
Re: VM with LUKS won't boot
To make it permanent through reboots and kernel upgrades:TrevorH wrote:Reboot and remove rhgb quiet from the kernel command line at the grub prompt and then it will work.
1. edit /etc/default/grub and remove rhgb quiet from GRUB_CMDLINE_LINUX variable
2. run grub2-mkconfig -o /boot/grub2/grub.cfg.