Sujet : Re: update-initramfs and no space left on device.
De : none (at) *nospam* invalid.com (mm0fmf)
Groupes : comp.sys.raspberry-piDate : 14. Jul 2024, 11:49:38
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v70ag3$3uif$1@dont-email.me>
References : 1 2
User-Agent : Mozilla Thunderbird
On 13/07/2024 06:17, Marco Moock wrote:
On 11.07.2024 um 18:37 Uhr mm0fmf wrote:
There was plenty of space on the device so I tried again. No luck.
Please run
df -h
You storage can be split up into multiple partitions and if /boot is on
its own partition, this one might be full while the partition for /
still has enough space left.
Thanks for your comments Marco. I was thinking /boot was full at first. The image is a standard raspbian one with the default partitioning on a 8GB card and there's 4.4GB free. /boot is mounted on / and only /boot/firmware is a separate 512mb partition that's 85% free still.
Changing to MODULES=dep fixed it. I'm not sure where the out of space was occurring as the initrd images are now about 6.5MB and before nearer 10MB. There are 2 kernels and theres a v6, v7, v7l and v8 version which if you tot up all inird and kernel images is only 112MB so even if it was writing temporary files to /boot/firmware there would still be plenty of space.
Anyway I don't believe I'm the only Pi Zero user with an almost off-the-shelf Raspian image who has had this problem, hence the reason for posting.