On Mon, Oct 11, 2021 at 08:16:40AM +0200, Gijs Hillenius wrote: > On 10 October 2021 20:32 Martijn van de Streek, wrote: > > Winfried Tilanus schreef op zo 10-10-2021 om 15:19 [+0200]: > >> On 10-10-2021 10:41, Gijs Hillenius wrote: > >> > >> > Even gegrepd in de term.log van apt... sinds Maart heb ik bij > >> > iedere nieuwe kernel: > >> > >> Het is mij wel eens opgevallen dat mkinitramfs tijdens het proces > >> meer ruimte gebruikt dan er uiteindelijk nodig is. Heb het nooit > >> verder onderzocht, maar na een tijdje klooien /boot vergroot... > > > > In /etc/initramfs-tools/initramfs.conf kun je in plaats van de > > standaard "MODULES=most", "MODULES=dep" opgeven. Standaard is de > > initramfs-image bij mij zo'n 38 MiB, met "MODULES=dep" is daar nog maar > > 9 MiB van over > > > > Let op dat omdat niet alle modules in initramfs zitten, sommige > > bootproblemen lastiger te debuggen zijn omdat je niet al je hardware > > kunt aanspreken vanuit een shell in initramfs. Ook kán het zijn dat je > > installatie niet gelijk werkt als je de schijf in een andere machine > > stopt (maar AHCI en NVMe zijn zo standaard dat de modules hiervoor > > altijd wel aanwezig zullen zijn; ik denk niet dat dat een heel groot > > probleem is?) > > en inderdaad! > > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=929424
Uit dat bugreport: | |> Please make sure that uncompressed images, temporary files, etc. are stored on |> a volume that does not have dire size constraints, such as /tmp or similar. | |initramfs-tools doesn't store temporary files on /boot. | |In case it is replacing an initramfs for a kernel version that already |has one, it will create the new image before deleting the old one. |This is intentional and will not be changed as it could make the system |unbootable. | |It might make sense for you to put "MODULES=dep" in initramfs.conf, to |reduce the size of each initramfs. | |Ben. | |-- |Ben Hutchings |To err is human; to really foul things up requires a computer. | > Ik ga dat vandaag proberen En hoe ging het? > Dank! > > G Groeten Geert Stappers -- No hard feelings