I was installing an update today using pacman -Syu and my ssd completely ran out of space and it failed miserably. I think it had to do install a new linux-cachyos-lts or the regular linux-cachyos kernel. I couldn’t reboot after that.
Loaded into a snapshot but didn’t know how to fix it from there. Then went into arch-chroot using a new arch linux iso and mounted btrfs subvolumes as it said on the wiki.
Tried reinstalling said kernels and it said modules already exist.
Tried manually removing that folder and installing the kernels which worked.
Tried also running mkinitcpio and grub-mkconfig and it seemed successful but it wouldn’t boot.
Now I’m on a recent snapshot but I’m clueless as to what I can do from here on. Any advice?
Found somewhere someone asking for output of this command btrfs filesystem df / for the metadata volume. Could it be the problem?
Data, single: total=113.22GiB, used=100.51GiB
System, DUP: total=8.00MiB, used=16.00KiB
Metadata, DUP: total=3.00GiB, used=2.73GiB
GlobalReserve, single: total=276.59MiB, used=0.00B
Output of df -h
Filesystem Size Used Avail Use% Mounted on
dev 7,8G 0 7,8G 0% /dev
run 7,8G 9,9M 7,8G 1% /run
/dev/sdb1 120G 107G 13G 90% /
tmpfs 7,8G 0 7,8G 0% /dev/shm
none 1,0M 0 1,0M 0% /run/credentials/systemd-journald.service
none 1,0M 0 1,0M 0% /run/credentials/systemd-resolved.service
/dev/sdb1 120G 107G 13G 90% /srv
tmpfs 7,8G 20K 7,8G 1% /tmp
/dev/sdb1 120G 107G 13G 90% /root
/dev/sdb1 120G 107G 13G 90% /var/cache
/dev/sdb1 120G 107G 13G 90% /home
/dev/sdb1 120G 107G 13G 90% /var/log
/dev/sdb1 120G 107G 13G 90% /var/tmp
tmpfs 1,6G 84K 1,6G 1% /run/user/1000
/dev/sde1 466G 70G 397G 15% /run/media/<user>/51F658CA3FBC6C07
Hope this helps.
EDIT: forgot to mention why it won’t boot:
Loading Linux linux-cachyos ...
error: file `/@/boot/vmlinuz-linux-cachyos` not found
Loading initial ramdisk ...
error: you need to load the kernel first.
Press any key to continue...
Then it goes back to selection between cachy/windows.