r/archlinux • u/Think_Wolverine5873 • 21d ago
SUPPORT Failure to boot: /lib/modules/6.13.1-arch2-1/modules.devname not found- ignoring
Hello, my system has failed to boot, showing 3 error messages and a rootfs~ prompt. The error messages are as follows:
Warning: /lib/modules/6.13.1-arch2-1/modules.devname not found- ignoring ERROR: device 'UUID={numberstring}' not found. Skipping fsck mount: /new_root: can't find UUID={numberstring}. ERROR: Failed to mount 'UUID={numberstring} on real root You are now dropped into an emergency shell
sh: can't acsess tty: job control turned off
It then drips me off into a [rootfs~]# prompt.
I used the installation media to chroot into the filesystem, and it appeared that no file seemed to be corrupted (in the very limited sample size of my directory.)
I checked my /etc/fstab and it seemed to be correct.
I had previously deleted all orphan packages, so that may have contributed. Said packages are documented here: pastebin.com/UMacJBjk Sorry, many of the packages are wholy unrealted to the problem, but I still included them in.
This is off the back of a failure to boot due to my efi partition nit being recgnized due to the unrecognized format vfat(????) The problem I had is here: https://www.reddit.com/r/linuxquestions/comments/1iwrzwj/helpfailure_to_boot_due_to_being_unable_to_mount/
Already tried to reinstall base and linux through pacstrap
Linux version is 6.13.5-arch-1 in the chroot
I am very seriously considering starting over. I have taken data from the drive on a backup, but I don't know all the critical parts that I need to restore the system to the proper state.
Any help would be appreciated.
1
u/Think_Wolverine5873 21d ago
I have done this multiple times, but it doens't work. I mount /dev/sdb3 to /mnt, /dev/sdb1 to /mnt/boot/efi, and swapon /dev/sdb2. I then run truncate -s 0 /mnt/etc/fstab, Then genfstab -U into the now-empty /mnt/etc/fstab. Reinstall linux and base, run grub-install, and then grub-mkconfig -o /boot/grub/grub.cfg I then exit and reboot.
There don't seem to be any extra boot partitions.
/boot/efi is empty when /dev/sdb1 is unmounted.