You are not logged in.

#1 2023-03-22 22:27:42

odror
Member
Registered: 2015-03-17
Posts: 153

/boot out of space because of large initramfs-linux-fallback.img

After upgrading to a new kernel I am now low on disk in /boot

$ df /boot
Filesystem                     1K-blocks  Used Available Use% Mounted on
bpool_g1oxbk/arch/BOOT/default     89344 87168      2176  98% /boot
$ ls -ls /boot
total 87000
   41 -rw-r--r-- 1 root root    51200 Feb 16 07:55 amd-ucode.img
    4 drwxr-xr-x 4 root root     4096 Dec 31  1969 efi/
    1 drwxr-xr-x 3 root root        3 May 15  2022 efis/
    1 drwxr-xr-x 2 root root        4 May 18  2022 grub/
52213 -rw------- 1 root root 41872507 Mar 22 13:00 initramfs-linux-fallback.img
14781 -rw------- 1 root root 13824159 Mar 22 13:00 initramfs-linux.img
 6757 -rw-r--r-- 1 root root  7066624 Feb 14 16:22 intel-ucode.img
13205 -rw-r--r-- 1 root root 12501472 Mar 22 07:12 vmlinuz-linux

It seems that the size of initramfs-linux-fallback.img is the issue. Is it possible to move it to /boot/efi (which is a different  fs) and symlink to /boot

Offline

#2 2023-03-23 06:59:59

seth
Member
Registered: 2012-09-03
Posts: 63,438

Re: /boot out of space because of large initramfs-linux-fallback.img

The problem is your tiny boot partition.
https://wiki.archlinux.org/title/Mkinit … odule_XXXX
The tail of that segment explains how to skip fallback images along a warning to then have a live system around at all times.

Is it possible to move it to /boot/efi (which is a different  fs) and symlink to /boot

You can move that pretty much anywhere, but your bootloader needs to be aware of the location.
Rather forget about the symlinking part.

Offline

Board footer

Powered by FluxBB