You are not logged in.
Hello!!!
I left my laptop with Arch Linux inactive for a few months. When I came back and tried to update the pacman packages it says that are is no space in disk. I already cleared the packges with paccache -rk1. So what should I do now?
[yoncho@arch ~]$pacman -Syu
Total Installed Size: 3797.12 MiB
Net Upgrade Size: 104.94 MiB:: Proceed with installation? [Y/n]
(382/382) checking keys in keyring [----------------------------------------------------------------------] 100%
(382/382) checking package integrity [----------------------------------------------------------------------] 100%
(382/382) loading package files [----------------------------------------------------------------------] 100%
(382/382) checking for file conflicts [----------------------------------------------------------------------] 100%
(382/382) checking available disk space [----------------------------------------------------------------------] 100%
error: Partition /boot too full: 6272 blocks needed, 3 blocks free
error: not enough free disk space
error: failed to commit transaction (not enough free disk space)
Errors occurred, no packages were upgraded.
The error says I have no space left. I check with the df command.
[yoncho@arch ~]$ df -h
Filesystem Size Used Avail Use% Mounted on
dev 5.8G 0 5.8G 0% /dev
run 5.9G 1.2M 5.9G 1% /run
/dev/sda5 115G 57G 53G 53% /
tmpfs 5.9G 286M 5.6G 5% /dev/shm
tmpfs 5.9G 295M 5.6G 5% /tmp
/dev/sda3 265G 136G 130G 52% /windows10
/dev/sda1 96M 96M 3.0K 100% /boot
tmpfs 1.2G 24K 1.2G 1% /run/user/1000
Now I noticed it says on /boot. I dont get it since it should be installing in / , right?
Offline
What does occupy the space under /boot?
ls -la /bootInofficial first vice president of the Rust Evangelism Strike Force
Offline
What does occupy the space under /boot?
ls -la /boot
Thank you for your reply!!
[yoncho@arch ~]$ ls -la /boot
total 71M
drwxr-xr-x 4 root root 1.0K Dec 31 1969 .
drwxr-xr-x 18 root root 4.0K Feb 2 11:13 ..
drwxr-xr-x 6 root root 1.0K Jul 5 2022 EFI
drwxr-xr-x 3 root root 1.0K Apr 28 00:21 loader
-rwxr-xr-x 1 root root 40M Apr 28 00:28 initramfs-linux-fallback.img
-rwxr-xr-x 1 root root 14M Apr 28 00:28 initramfs-linux.img
-rwxr-xr-x 1 root root 5.5M Nov 8 14:02 intel-ucode.img
-rwxr-xr-x 1 root root 12M Apr 28 00:28 vmlinuz-linux
Offline
Well, your fallback initramfs is significantly larger thatn the default image.
Also 100 MB seems pretty small for a boot partition to me.
As you just experienced, it gets filled up rather quickly.
You can try to disable the fallback image and remove it from /boot.
Then reinstall the kernel.
Inofficial first vice president of the Rust Evangelism Strike Force
Offline
what should I do now?
If you're using systemd-boot perhaps try an XBOOTLDR partition to hold the kernel & initramfs: https://wiki.archlinux.org/title/system … g_XBOOTLDR
Or switch to GRUB and move /boot/ back to the root partition.
Jin, Jîyan, Azadî
Offline