In my related post about Dracut, it was mentioned that the key kernel_cmdline cannot be used by dracut in EOS. This is because while building the EOS initramfs the command used is /usr/bin/dracut --force --hostonly --no-hostonly-cmdline /boot/initramfs-linux-lts.img
Here the main option is –no-hostonly-cmdline. According to dracut documentation this option implies that
This implies that if I wanted to pass the following parameters rd.luks=0 rd.lvm=0 rd.md=0 rd.dm=0 I cannot do it using a configuration file inside the directory /etc/dracut.conf.d/. So the question is then how do I pass these options to dracut?
I am trying to pass this information so as to speed up the boot time. As per the documentation of dracut, link given above,
I also had a look at the forum post from about 1-2 years ago where this was discussed, but it seems that there have been some changes done which now prevent the key kernel_cmdline from being used.
I would not want to change the existing hooks of EOS present in the directory /usr/lib/dracut/dracut.conf.d/.
All help and clarifications on this would be appreciated.
dracut uses the kernel commandline from here: /etc/kernel/cmdline
Just put your options in that file and do a reinstall-kernels But dont be disappointed. The boot speedup is insignificant.
Will Kernel understand the parameters, rd.luks=0 rd.lvm=0 rd.md=0 rd.dm=0 passed on from GRUB configuration? I was under the impression that these were for the initramfs only.