I'm switching to Dracut and I've numerous problems. In order to eliminate them one by one, first I want my system to boot correctly. So my Grub2 entry looks like this:
menuentry 'dracut' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd1,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 829c0201-9b6d-4e18-8464-9d2551311ea6
else
search --no-floppy --fs-uuid --set=root 829c0201-9b6d-4e18-8464-9d2551311ea6
fi
echo 'Loading Linux 4.9.0-2-amd64 ...'
linux /vmlinuz-4.9.0-2-amd64 rd.shell rd.debug log_buf_len=1M
echo 'Loading dracut initial ramdisk ...'
initrd /initramfs-4.9.0-2-amd64.img
}
I expect to be dropped into the rescue shell and then manually assemble the root file system, and continue booting; but there is no
cryptsetup
binary in the rescue shell.
Dracut configuration file /etc/dracut.conf.d/*
looks like this:
do_prelink=no
add_dracutmodule+="cryptsetup"
Relevant list of modules are as follows:
# dracut --list-modules | grep crypt
dracut: Executing: /usr/bin/dracut --list-modules
crypt
crypt-gpg
crypt-loop
ecryptfs
How can I add cryptsetup
so I could manually unlock the encrypted partition manually (via rescue shell)?
Asked by ceremcem
(2451 rep)
Aug 6, 2017, 01:21 PM
Last activity: Dec 16, 2020, 01:05 PM
Last activity: Dec 16, 2020, 01:05 PM