You are not logged in.
I'm setting up my Arch install and rebooted while setting my DE to load to changes I had made. But when I try to boot, this pops up.
Initramfs unpacking failed: ZSTD-compressed data is truncates
Warning: /lib/modules/6.6.8-arch1-1/modules.devname not found - ignoring
systemd-tmpfiles: error while loading shared libraries: libsystemd-shared-255.1-1.so: cannot open shared object file: No such file or directory
udevadm: error while loading shared libraries: libsystemd-shared-255.1-1.so: cannot open shared object file: No such file or directory
udevadm: error while loading shared libraries: libsystemd-shared-255.1-1.so: cannot open shared object file: No such file or directory
udevadm: error while loading shared libraries: libsystemd-shared-255.1-1.so: cannot open shared object file: No such file or directory
ERROR: device 'UUID=b2a9a667-f812-4da3-89a0-ad0dc36736f8' not found. Skipping fsck.
mount: /new_root: can't find UUID=b2a9a667-f812-4da3-89a0-ad0dc36736f8.
ERROR: Failed to mount 'UUID=b2a9a667-f812-4da3-89a0-ad0dc36736f8' on real root
You are now being dropped into an emergency shell.
sh: can't access tty; job control turned off
The only thing I did in the last session that could have caused this was uninstall orphaned packages. I tried chrooting into it and just reinstalling everything, but that didn't work. Any help is appreciated.
Last edited by godlyavenger (2023-12-28 04:58:45)
Offline
I tried chrooting into it and just reinstalling everything, but that didn't work
Please provide the exact, full commands used for that. Is /boot/ on a separate partition?
Load the live ISO, use the `file` command on the kernel image (vmlinuz-linux?) and see if the version matches the content of /lib/modules/. Also check the free space on the /boot/ partition because that "data is truncated" message could be due to mkinitcpio running out of space.
Check your bootloader configuration to see if the correct kernel image is being loaded. Share the full configuration here if you're not sure.
Jin, Jîyan, Azadî
Offline
Boot from arch live usb, arcchroot to your installation and reinstall systemd.
Then you may check if your kernel and modules were installed; mount boot reinstall kernel,, 'mkinitcpio -P', reinstall grub if you use it (grub-install ..., grub-mkconfig -o /boot/grub/grub.cfg) or other boot loader...
Offline
Your initramfs isn't valid, regenerate it. All of the rest is noise, of course it can't find things in the initramfs if it couldn't unpack it.
Last edited by Scimmia (2023-12-24 13:21:41)
Offline
Please provide the exact, full commands used for that.
I just ran
pacman -Qqn | pacman -S -
Is /boot/ on a separate partition?
Yeah it's a seperate EFI partition I reused from my Windows install.
Load the live ISO, use the `file` command on the kernel image (vmlinuz-linux?) and see if the version matches the content of /lib/modules/
Also check the free space on the /boot/ partition because that "data is truncated" message could be due to mkinitcpio running out of space.
df -h shows that it has only 8K of space (100% full). This...might be the problem. How would I resize the EFI partition?
Offline
I just ran
What about mounting the partitions? How did you do that? Was the /boot/ partition correctly mounted before chrooting? Please read https://bbs.archlinux.org/viewtopic.php?id=57855 before posting again and follow the advice therein.
How would I resize the EFI partition?
Don't bother resizing, check the ESP doesn't have unwanted kernel images (remove them if it does) or move /boot/ off the ESP entirely. I wouldn't recommend mounting the ESP under /boot/ at all, that's just asking for trouble IMO.
If you move /boot/, reinstall & reconfigure your super-secret, mystery bootloader and correct /etc/fstab (ie, remove the /boot/ line). If you're using systemd-boot use an XBOOTLDR partition or add some filesystem drivers to the ESP so it can find the kernel on the root partition, as per sd-boot(1):
https://man.archlinux.org/man/sd-boot.7#FILES
The initramfs will have to be regenerated in all those situations, as Scimmia noted.
Jin, Jîyan, Azadî
Offline
Don't bother resizing, check the ESP doesn't have unwanted kernel images (remove them if it does) or move /boot/ off the ESP entirely. I wouldn't recommend mounting the ESP under /boot/ at all, that's just asking for trouble IMO.
Apologies for the late reply. This fixed it. There were some extra images because of some config changes I made and I just deleted some and it works! I just put it under /boot because that's the example the Arch Wiki gave (it said something about not conflicting with filesystem features if I did that). I'll look into that. Thanks for the help!
Offline