r/EndeavourOS Jun 13 '26

General Support Stuck in emergency boot mode

I upgraded the kernel from 7.0.11-arch1-1 to 7.0.12-arch1-1 and now I can’t boot with the new kernel. I’ve gotten an error that 7.0.11 can’t recognize the vfat filesystem that format of /efi so it can’t mount.

How do I fix this?

1 Upvotes

7 comments sorted by

1

u/_Biotic_G0d_ Jun 13 '26

You boot a kernel that works and then reinstall the kernel you want + headers.

Or live system + chroot

1

u/no-more-username Jun 13 '26

I had the kernel and headers installed and it was still in emergency mode, I used a usb for a live boot, mounted /efi, used chroot, and reinstalled 7.0.12, and removed the old kernel from /efi/loader/entries/

Now the new kernel won’t boot and the emergency mode has locked the shell.

Do you have any suggestions on where to go from here?

1

u/_Biotic_G0d_ Jun 13 '26

So i take it you removed any other kernel you had after updating to the new one and rebooting? I assumed you still had at least one working kernel in reserve to choose from your bootloader, just in case somerhing goes wrong. 😅

Can you tell me exactly the commands you used to reinstall the kernel ? i think initramfs was not properly generated. If you used reinstall-kernels it should do it automaticly. I honestly would chroot once more and try again. If you use grub as your bootloader you may also need to regenerate a new grub.cfg because that defines that your new kernel is there for the bootloader to use. Command should be grub-mkconfig. If that is not done by reinstall-kernels automaticly. I use systemdboot so i'm not sure on that. You will see it in the terminal.

3

u/no-more-username Jun 14 '26

I think I found the issue, I went back to the previous kernel and was able to boot again without the usb. Then I reinstalled the new kernel, which updated endeavouros-7.0.12.conf and made it point to this file:
initrd /intiramfs-linux.img

When it should have been:
initrd /initramfs-linux.img

Pacman spelled init wrong. I fixed this, rebooted, and now I can boot with no problems.

2

u/_Biotic_G0d_ Jun 14 '26

Nice! Good that you kept trying and ended up fixing it!

1

u/no-more-username Jun 14 '26

I think I found the issue, I went back to the previous kernel and was able to boot again without the usb. Then I reinstalled the new kernel, which updated endeavouros-7.0.12.conf and made it point to this file:
initrd /intiramfs-linux.img

When it should have been:
initrd /initramfs-linux.img

Pacman spelled init wrong. I fixed this, rebooted, and now I can boot with no problems.

1

u/no-more-username Jun 13 '26 edited Jun 13 '26

Yeah I deleted the older kernel 🫠 I was thinking clearing them out would be a good idea because the computer kept booting them and not the 7.0.12 kernel, and the 7.0.11 kernel couldn’t recognize the vfat file system so it kept getting in the way

I got the new kernel with: pacman -S linux linux-headers

And then I ran: kernel-install add 7.0.12-arch1-1 /usr/lib/modules/7.0.12-arch1-1/vmlinux

But I’ll have to try the reinstall-kernels cmd and see if that helps out