New initramfs won't stick

54 views
Skip to first unread message

mpatt...@gmail.com

unread,
Jun 8, 2016, 7:39:48 AM6/8/16
to qubes-users
Hi there,

My USB keyboard requires a kernel module that isn't contained within initramfs by default (hid-logitech-hidpp).

I have added a new file to the dracut modules conf directory which contains:

add_drivers+=" hid-logitech-hidpp "

After creating a new initramfs, I have checked the contents with lsinitrd and the kernel module is there.

However after I reboot, the keyboard still doesn't work at the LUKS decrypt prompt.

When I check the initramfs again, the kernel module isn't there?

Do I have to do something else to make the change stick?

M.

Marek Marczykowski-Górecki

unread,
Jun 8, 2016, 9:25:14 AM6/8/16
to mpatt...@gmail.com, qubes-users
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Wed, Jun 08, 2016 at 04:39:47AM -0700, mpatt...@gmail.com wrote:
> Hi there,
>
> My USB keyboard requires a kernel module that isn't contained within initramfs by default (hid-logitech-hidpp).
>
> I have added a new file to the dracut modules conf directory which contains:

Just to make sure: it should be in /etc/dracut.conf.d

> add_drivers+=" hid-logitech-hidpp "
>
> After creating a new initramfs, I have checked the contents with lsinitrd and the kernel module is there.
>
> However after I reboot, the keyboard still doesn't work at the LUKS decrypt prompt.
>
> When I check the initramfs again, the kernel module isn't there?
>
> Do I have to do something else to make the change stick?

Do you boot in UEFI mode? In such a case, initramfs is on ESP, not /boot
directly. The path is /boot/efi/EFI/qubes/initramfs-KERNELVERSION, so
you need to pass this path to dracut when generating it.

- --
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXWByyAAoJENuP0xzK19csg8AH/1VEAuufzi1Rvotaqu5tUSqz
iwoR0yLK293p0OkhNO8MBU9ZVuZB1vuBvf4NctlqpvNV0/fUyrN6CszlXyYYhSLV
S1qzjdoxqJUiHOwnCsG4oQF2DOrNpcLTWn3nYoZw+1V5jDcI0nmCqdSnsF4C4kUX
Jt2koYIMlR8xODP2kZ75Q49MfKfXTm30nD3jkaKHLmGYoa+ax4d7shx5YtkVKwDF
sP9oyO26Si3XhPoW7ng4IFpj3zpdgorGarhuOoVf5FGxaVYcfHY82P1s57I/s11r
K8/+H2/WBhlozVCOh6UO0p+QpM3Fd+B5TXDrv+py6+nXh0L6RIBPuqQzAGLkncs=
=E/cV
-----END PGP SIGNATURE-----

mpatt...@gmail.com

unread,
Jun 8, 2016, 6:34:34 PM6/8/16
to qubes-users
Thanks for the very quick reply! Yes I think you are correct. I will give it a go, passing the correct path for efi.

Mike Patton

unread,
Jun 9, 2016, 6:05:11 AM6/9/16
to qubes-users, mpatt...@gmail.com


On Wednesday, 8 June 2016 23:25:14 UTC+10, Marek Marczykowski-Górecki wrote:
Just to make sure: it should be in /etc/dracut.conf.d

Do you boot in UEFI mode? In such a case, initramfs is on ESP, not /boot
directly. The path is /boot/efi/EFI/qubes/initramfs-KERNELVERSION, so
you need to pass this path to dracut when generating it.

- --
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab


Boom! Headshot!  Yes, that was it.  No issues after running dracut with the correct path.

Thanks again for the great support.

M.
Reply all
Reply to author
Forward
0 new messages