You are not logged in.
Pages: 1
I've made a mistake when I decided on the partition sizes some years ago: The partition mounted on `/boot` is too small. Occasionally, when updating (`pacman -Syu`), I get an error message that there is not enough disk sapace, and the entire update is cancelled. Removing `/boot/initramfs-linux-fallback.img` before updating helps.
$ df -h
Filesystem Size Used Avail Use% Mounted on
dev 488M 0 488M 0% /dev
run 493M 660K 493M 1% /run
/dev/mapper/root 233G 59G 174G 26% /
tmpfs 493M 48K 493M 1% /dev/shm
tmpfs 493M 0 493M 0% /sys/fs/cgroup
tmpfs 493M 8.0K 493M 1% /tmp
/dev/sda1 58M 42M 14M 76% /boot
tmpfs 99M 4.0K 99M 1% /run/user/1000
$ ls -l /boot
total 40M
-rw-r--r-- 1 root root 25M Aug 20 10:07 initramfs-linux-fallback.img
-rw-r--r-- 1 root root 9.4M Aug 20 10:07 initramfs-linux.img
drwx------ 2 root root 13k Jan 5 2016 lost+found
drwxr-xr-x 2 root root 3.1k Mar 4 00:22 syslinux
-rw-r--r-- 1 root root 5.5M Aug 18 16:09 vmlinuz-linux
What are my options, other than the obvious new installation from scratch? I have an encrypted partition on `/` and AFAIK tools that change partition sizes cannot handle that. Even if they did, I would not feel very comfortable doing that.
Thanks
Offline
I had a similar issue with a / partition that was running low on space.
I used Gparted from a live CD to resize the partitions without needing to re-install.
As always when juggling partitions - backup first.
Offline
Mod note: not an installation issue, moving to NC.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Just move the contents of /boot to a temp dir, then unmount /boot and finally move the temp dir to /boot on the mounted root filesystem. Update your boot loader and problem solved. There isn't a requirement for a separate /boot partition.
Also, I find no use for the fallback image so why generate it? Edit /etc/mkinitcpio.conf and remove fallback.
Offline
Pages: 1