Dracut and /etc/kernel/cmdline

I did a test and installed an EOS in a virtual machine with

  • dracut
  • LUKS and btrfs

and was wondering why I get this line in /etc/kernel/cmdline

nvme_load=YES nowatchdog rw rootflags=subvol=/@ rd.luks.uuid=e11ade54-8881-4082-915b-d8e92729592e root=/dev/mapper/luks-e11ade54-8881-4082-915b-d8e92729592e rw rootflags=subvol=/@ rd.luks.uuid=e11ade54-8881-4082-915b-d8e92729592e root=/dev/mapper/luks-e11ade54-8881-4082-915b-d8e92729592e                                                     

Note, that some entries are occurring two times.

The double entries is a bug in the installer. It has been fixed already and won’t be present in the next release.

1 Like

Aaah, ok. Many thanks for the explanation.

1 Like

I should also note that it won’t hurt anything. But, you might as well remove them.

I had this happening in way where everything there was occurring two times.

I started to wonder why going to sleep was taking so long and after looking up cmdline I removed double entries and after that sleep has been working like a charm.

This of course could be just a coincidence but in the world of Linux, whoever knows.

Yes, I know it doesn’t hurt. But I had already removed things.

1 Like