View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0017830||CentOS-7||dracut||public||2020-11-03 22:05||2020-11-05 02:06|
|Summary||0017830: System does not recognize LUKS devices in dracut boot process|
|Description||System has two identical SSDs configured as RAID0 and encrypted. After the latest update, system cannot boot and the dracut reports:|
- /dev/xxxx/root does not exist
- /dev/xxxx/swap does not exist
- crypto LUKS UUID xxx not found
where xxxx stands for the machine designation or the actual UUID
- /dev/sdb TYPE="isw_raid_member"
- /dev/sda TYPE="isw_raid_member"
- /dev/md126 PTTYPE="PMBR"
where sda and sdb are the identically sized RAID0 members. There are two additional harddisks recognized but not relevant to the boot process.
Further, the grub2 commandline lists the two LUKS disks as rd.md.uuid=xxx (for each disk) and then rd.luks.uuid=xxx for the LUKS partition which is not recognized in the dracut boot process.
If I remove both of the rd.md.uuid statements and replace with a single rd.md=0 the machine boots, I enter the password and everything seems to work EXCEPT only one of the two disks have been unlocked and clearly they are not in RAID0 mode anymore.
- Can I work around this and boot in RAID0 mode and decrypt both harddisks until a fix has been released?
- Can we get a fix for this very serious bug quickly?
|Tags||No tags attached.|
|It might have helped if you mentioned what kernel version are you using and if a previous version works. If older kernel(s) work(s), you should compare the list of drivers included in the initial ramdisk because I have a strong feeling that a needed kernel module is missing in the new one.|
|This is version 3.10.0-1127.19.1 and none of the other four kernels in grub boots either...|
if no kernel boots any more, I am pretty sure that your initial ramdisks were rebuild without including a kernel module required by LUKS.
you should rebuild them , forcing dracut to include the missing driver. And in the process you might as well upgrade to centos 7.9, kernel 3.10.0-1160.2.2.el7.x86_64 is already available in the CR repository.
|I am not that good - yet... Could you tell me how to rebuild the ramdisks etc.?|
|Also, which kernel module is required by LUKS? Last, I would have thought the problem lies with recognizing the BIOS RAID0 setup since if I bypass the RAID setup in grub menu the computer boots and prompts me for the LUKS password followed by correctly decrypting the disk etc.|
|2020-11-03 22:05||jq325aet||New Issue|
|2020-11-03 23:08||ManuelWolfshant||Note Added: 0037846|
|2020-11-03 23:17||jq325aet||Note Added: 0037847|
|2020-11-03 23:26||ManuelWolfshant||Note Added: 0037848|
|2020-11-03 23:46||jq325aet||Note Added: 0037849|
|2020-11-05 02:06||jq325aet||Note Added: 0037850|