No space left on /boot when updating to 6.31.2 Topic is solved

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
InfluentialSanction
Posts: 13
Joined: Tue May 15, 2018 5:05 pm

No space left on /boot when updating to 6.31.2

Post by InfluentialSanction »

The updater is running into a no space left error when copying a file during

Code: Select all

│  - Command: cp -Rf DietPi-master/dietpi /boot/                               │
It says:

Code: Select all

│ cp: error writing '/boot/dietpi/patch_file': No space left on device         │
I'm stumped by this. I've used the log uploader. It said it uploaded something via ssh.dietpi.com

Can you see my log upload somwhere?
InfluentialSanction
Posts: 13
Joined: Tue May 15, 2018 5:05 pm

Re: No space left on /boot when updating to 6.31.2

Post by InfluentialSanction »

Sorry just noticed it gives me instructions on how to do that after I exit the updater. I'll do it via Github.
User avatar
Joulinar
Posts: 2277
Joined: Sat Nov 16, 2019 12:49 am

Re: No space left on /boot when updating to 6.31.2

Post by Joulinar »

Hi,

Many thanks for your report. Pls can you run df -h on your device and post the output.

Duplicate post created on GitHub https://github.com/MichaIng/DietPi/issues/3758
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
InfluentialSanction
Posts: 13
Joined: Tue May 15, 2018 5:05 pm

Re: No space left on /boot when updating to 6.31.2

Post by InfluentialSanction »

Code: Select all

Filesystem      Size  Used Avail Use% Mounted on
udev            931M     0  931M   0% /dev
tmpfs           200M   12M  189M   6% /run
/dev/mmcblk1p2   15G  1.3G   13G  10% /
tmpfs           998M  2.1M  996M   1% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           998M     0  998M   0% /sys/fs/cgroup
/dev/sda1       2.7T  1.6T  1.1T  60% /mnt/sata
tmpfs          1023M  8.0K 1023M   1% /tmp
tmpfs            50M  556K   50M   2% /var/log
/dev/mmcblk1p1   71M   71M  2.0K 100% /boot
User avatar
Joulinar
Posts: 2277
Joined: Sat Nov 16, 2019 12:49 am

Re: No space left on /boot when updating to 6.31.2

Post by Joulinar »

your boot partition is completely full

Code: Select all

/dev/mmcblk1p1   71M   71M  2.0K 100% /boot
And it's extremely small, just 71 MB. I would recommend to extend the BootFS to at least 250 MB. This could be archived by using tools like
GParted https://gparted.org/ . This would allow you to resize partitions.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
InfluentialSanction
Posts: 13
Joined: Tue May 15, 2018 5:05 pm

Re: No space left on /boot when updating to 6.31.2

Post by InfluentialSanction »

Thanks you can close this. I've resolved it via the help over on Github.
Post Reply