Re: Enlarging /boot and swap partitions
On 2025-09-19 10:19:58 +0200, Michel Verdier wrote:
> On 2025-09-18, Vincent Lefevre wrote:
>
> >> To remove it check if /etc/initramfs-tools/ and /etc/modules-load.d/
> >> contain something related to nvidia.
> >
> > Nothing related to nvidia or i915.
>
> Ok now search the same in /usr/share/initramfs-tools/
Nothing related to nvidia or i915 either. But as I've already said,
this is due to the firmware (in particular the Nvidia one, which has
huge files). And mkinitramfs includes all installed firmware via
"/usr/share/initramfs-tools/hook-functions".
/usr/share/initramfs-tools/hooks/intel_microcode also includes
Intel microcode (the total size is reasonable: 19 MB, but I don't
know whether all the files are taken into account).
> Also give us
> dpkg -l | grep initramfs
ii cryptsetup-initramfs 2:2.8.1-1 all disk encryption support - initramfs integration
ii dracut-install 108-3 amd64 dracut is an event driven initramfs infrastructure (dracut-install)
ii initramfs-tools 0.150 all generic modular initramfs generator (automation)
ii initramfs-tools-bin 0.150 amd64 generic modular initramfs generator (binary tools)
ii initramfs-tools-core 0.150 all generic modular initramfs generator (core tools)
ii libklibc:amd64 2.0.14-1 amd64 minimal libc subset for use with initramfs
> > The initrd.img-* size increase is mainly due to Nvidia firmware,
> > which is needed by Xorg (without this firmware, everything is fine
> > until Xorg starts, which makes the kernel crash).
>
> Do you compile your own kernel or do you use the debian standard one?
The Debian standard one.
--
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon)
Reply to: