Re: Enlarging /boot and swap partitions
On 2025-09-18 17:29:08 +0200, Michel Verdier wrote:
> On 2025-09-18, Vincent Lefevre wrote:
>
> > The Nvidia firmware is not needed at boot time (apparently until
> > X11 comes up). I was just asking whether there was a way to delay
> > its loading at least until the root partition becomes available
> > (in which case it could be loaded from the disk instead of the
> > initrd image). "Put the firmware in the initrd image." is not an
> > answer to this question.
>
> To remove it check if /etc/initramfs-tools/ and /etc/modules-load.d/
> contain something related to nvidia.
Nothing related to nvidia or i915.
In particular, /etc/initramfs-tools/modules contains only comments.
And the only modules listed via /etc/modules-load.d/ are
lp
ppdev
parport_pc
from /etc/modules-load.d/cups-filters.conf (cups-filters package).
> Also in /etc/initramfs-tools/initramfs.conf you should have
> MODULES=dep
I tested that earlier in this thread. This just reduces the kernel
size from 168M to 122M (and I did not even check whether this was
working).
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).
--
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: