Re: Missing module in initramfs : haw to know which one, and how to add it.
>> I got my modules list, I put the list in /etc/iniramfs-tools/modules, >> update-initramfs -v -u : they are not added to the initrd >> man initramfs-tools says >> Modules listed in /etc/initramfs-tools/modules and >> /usr/share/initramfs-tools/modules.d/* are always included in the >> initramfs, and are loaded early in the boot process. >> So I do not understand what I should do >> > > Ok, solved : there shouldbe no white line in the file... I think you found a bug: either the code should not trip on white lines, or it should emit a warning when it finds one, and/or the doc should clarify the intended syntax. Stefan
Re: Missing module in initramfs : haw to know which one, and how to add it.
On Fri, Oct 14, 2022 at 09:35:21AM +0200, Erwan David wrote: > Le 14/10/2022 à 09:12, Erwan David a écrit : > > > > I got my modules list, I put the list in /etc/iniramfs-tools/modules, > > update-initramfs -v -u : they are not added to the initrd > > > > man initramfs-tools says > > > > Modules listed in /etc/initramfs-tools/modules and > > /usr/share/initramfs-tools/modules.d/* are always included in the > > initramfs, and are loaded early in the boot process. > > > > So I do not understand what I should do > > > > Ok, solved : there shouldbe no white line in the file... > > Thanks for listening this helped me to find the errors debian-user, the collective rubber duck [1] ;-) Now seriously: thanks for articulating your problem so clearly and following up on it later -- some of us learnt something today. Cheers [1] https://en.wikipedia.org/wiki/Rubber_duck_debugging -- t signature.asc Description: PGP signature
Re: Missing module in initramfs : haw to know which one, and how to add it.
Le 14/10/2022 à 09:12, Erwan David a écrit : I got my modules list, I put the list in /etc/iniramfs-tools/modules, update-initramfs -v -u : they are not added to the initrd man initramfs-tools says Modules listed in /etc/initramfs-tools/modules and /usr/share/initramfs-tools/modules.d/* are always included in the initramfs, and are loaded early in the boot process. So I do not understand what I should do Ok, solved : there shouldbe no white line in the file... Thanks for listening this helped me to find the errors
Re: Missing module in initramfs : haw to know which one, and how to add it.
Le 14/10/2022 à 07:30, Erwan David a écrit : Le 14/10/2022 à 07:18, Erwan David a écrit : Hi, Some times ago I went from modules=most to modules=dep in initramfs, because /boot was too small. the machine is a laptop usually standalone but from time to time connected to a dock with external USB keyboard Today at boot : external keyboard worked for grub, did not work for entering LUKS key, and works once system is started. This I deduce I need some supplementary module(s) in the initrd. Is there a way to identify those modules and add them ? Ok, I did an update-initramfs -v -u with and without the dock, now I have a list of modules added for my dock installation. I'll check how to force them being in the initrd even if devices are not detected at generation time. I got my modules list, I put the list in /etc/iniramfs-tools/modules, update-initramfs -v -u : they are not added to the initrd man initramfs-tools says Modules listed in /etc/initramfs-tools/modules and /usr/share/initramfs-tools/modules.d/* are always included in the initramfs, and are loaded early in the boot process. So I do not understand what I should do
Re: Missing module in initramfs : haw to know which one, and how to add it.
Le 14/10/2022 à 07:18, Erwan David a écrit : Hi, Some times ago I went from modules=most to modules=dep in initramfs, because /boot was too small. the machine is a laptop usually standalone but from time to time connected to a dock with external USB keyboard Today at boot : external keyboard worked for grub, did not work for entering LUKS key, and works once system is started. This I deduce I need some supplementary module(s) in the initrd. Is there a way to identify those modules and add them ? Ok, I did an update-initramfs -v -u with and without the dock, now I have a list of modules added for my dock installation. I'll check how to force them being in the initrd even if devices are not detected at generation time.
Missing module in initramfs : haw to know which one, and how to add it.
Hi, Some times ago I went from modules=most to modules=dep in initramfs, because /boot was too small. the machine is a laptop usually standalone but from time to time connected to a dock with external USB keyboard Today at boot : external keyboard worked for grub, did not work for entering LUKS key, and works once system is started. This I deduce I need some supplementary module(s) in the initrd. Is there a way to identify those modules and add them ?