You are not logged in.

#1 2016-08-12 17:02:06

kabads
Member
Registered: 2012-09-22
Posts: 271
Website

pacman -Syu is giving "not enough free disk space" on /boot

error: Partition /boot too full: 5093 blocks needed, 4766 blocks free
error: not enough free disk space
error: failed to commit transaction (not enough free disk space)
Errors occurred, no packages were upgraded.

This is including a kernel update, so I'm guessing that's what is causing the error?

[adam@hark ~]$ df 
Filesystem     1K-blocks      Used Available Use% Mounted on
dev              8153204         0   8153204   0% /dev
run              8158852       928   8157924   1% /run
/dev/sda4      468180328 376850160  67524220  85% /
tmpfs            8158852     66968   8091884   1% /dev/shm
tmpfs            8158852         0   8158852   0% /sys/fs/cgroup
tmpfs            8158852        32   8158820   1% /tmp
/dev/sdb1          98304     93538      4766  96% /boot
/dev/sda1      477888508 354848704 123039804  75% /mnt/windows
tmpfs            1631768        12   1631756   1% /run/user/1000

Any tips on how to proceed? This is a machine that also has Win8.1 on /dev/sda1. I really would like to be careful here as I don't want to b0rk things up badly (and I know that messing around with /boot in a careless manner can cause this).

TIA

Offline

#2 2016-08-12 17:57:44

Starfish
Member
From: Germany
Registered: 2015-10-21
Posts: 134

Re: pacman -Syu is giving "not enough free disk space" on /boot

Could you post the size of your boot partition in bytes?
Do you use
a) BIOS or UEFI?
b) GRUB or syslinux?

When I created my partition, I followed the recommendation to use 512MB. (https://wiki.archlinux.org/index.php/EF … _partition)
Other threads in the web say that something between 100-500MB is appropriate.
If you are significantly below that, I fear you have to reinstall Arch. To my knowledge, you can't change the size of an existing partition without destroying the data on it.

EDIT: OK, now I see the label "1K blocks", so your boot partition is slightly below 100MB. Apparently that's not big enough...

Last edited by Starfish (2016-08-12 18:01:02)


"Yesterday is history, tomorrow is a mystery, but today is a gift. That is why it is called the present." - Master Oogway

Offline

#3 2016-08-12 18:32:30

kabads
Member
Registered: 2012-09-22
Posts: 271
Website

Re: pacman -Syu is giving "not enough free disk space" on /boot

@Starfish - thanks. That's what I was worried about. Hmmm - there's no way to resize this? Could I create an image of /boot and then resize it and then burn that image back on to it (using a live distro disk gparted and clonezilla)? Has anyone tried this before?

Offline

#4 2016-08-12 19:15:04

onslow77
Member
Registered: 2014-09-21
Posts: 279

Re: pacman -Syu is giving "not enough free disk space" on /boot

Hello!

kabads - you can resize the "boot" partition with gparted live. Please remember to backup your important data before you resize your partitions.

Regards
Martin

Last edited by onslow77 (2016-08-12 19:19:47)


It is advised to follow the How to post guide when posting on the Arch forum. If one consciously jumps over these elementary steps like reading the wiki and providing necessary information about the problem, one can be regarded as a Help Vampire.

Offline

#5 2016-08-12 19:17:07

torors
Member
Registered: 2012-09-28
Posts: 106

Re: pacman -Syu is giving "not enough free disk space" on /boot

I think you can use a live CD with GParted to resize the partitions. That worked for me. Back up all important data before you try this!

Offline

#6 2016-08-12 19:58:22

kabads
Member
Registered: 2012-09-22
Posts: 271
Website

Re: pacman -Syu is giving "not enough free disk space" on /boot

@onslow77 and @torors - I thought so - many thanks. As a quick workaround, I've just deleted the linux-lts package - never needed it and hopefully never will. My next partition on the drive is a Windows Recovery one (about 20GB), so it is a bit of a pain to resize them, but it's now on the todo list. Thanks for your time again.

Offline

Board footer

Powered by FluxBB