• DefederateLemmyMl
    link
    fedilink
    English
    arrow-up
    33
    ·
    edit-2
    1 month ago
    • Boot to usb
    • Mount your root filesystem
    • arch-chroot your mounted root filesystem
    • mount /boot
    • mkinitcpio -p linux

    Steps 1,2 and 3 are the entry way to solve all “unbootable Arch” problems by the way, presuming you know what needs to be changed to fix it of course.

    • Lightfire228@pawb.social
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      1 month ago

      For a while, I had to do this after every kernel update

      Turns out, i accidentally had two /boot folders. One was is own partition, and the other was on the rootfs partition. When Arch booted, the separate partition was mounted over the rootfs /boot dir, “shadowing” it

      Except, UEFI / GRUB was still pointing to the rootfs partition. So when pacman installed a kernel update, it wasn’t able to update the kernel that UEFI was booting, but it was able to update the kernel modules

      Kernel no likey when kernel modules are newer than the kernel itself