You are not logged in.
Pages: 1
After running the lts kernel for many months, I finally decided to upgrade to the mainline kernel. After rebooting, I did not see the mainline kernel in the GRUB menu, so I ran
sudo grub-mkconfig -o /boot/grub/grub.cfg.
Now I can no longer boot into ArchLinux. I am stuck at the BIOS. There is no GRUB prompt even. I don't know what other information I can provide other than this is an AMD Ryzen 7 3700X CPU.
Last edited by goro9922 (2022-12-23 17:05:17)
Offline
I'm guessing you missed this: https://archlinux.org/news/grub-bootloa … ibilities/
If so, you'll have to boot an install disk, mount everything, arch-chroot in, and reinstall grub.
Offline
I tried your suggestion to reinstall grub.
mkdir -p /mnt/boot
mount /dev/nvme0n1p2 /mnt
mount /dev/nvme0n1p1 /mnt/boot
arch-chroot /mnt
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=GRUB
grub-mkconfig -o /boot/grub/grub.cfgAfter a reboot I get this:
error: file `/boot/grub-x86_64-efi/normal.mod` not found.
Entering recue mode…
grub rescue>When I boot from the USB again and search for normal.mod: I find it in the following directories:
./usr/lib/grub/x86_64-efi/normal.mod
./usr/lib/grub/i386—pc/normal.mod
./usr/lib/grub/i386—efi/normal.mod
./boot/grub/x86_64-efi/normal.mod
./boot.bak/grub/x86_64-efi/normal.modThen I rebooted and tried reinstalling the kernel, but the result is the same.
pacstrap /mnt linux
arch-chroot /mnt
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=GRUB
Generate grub.cfg
grub-mkconfig -o /boot/grub/grub.cfgerror: file `/boot/grub-x86_64-efi/normal.mod` not found.
Entering rescue mode…
grub rescue>Offline
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=GRUB
Why have you provided an incorrect location for the EFI system partition? You know where it is mounted because you mounted it yourself in the previous commands ![]()
Jin, Jîyan, Azadî
Offline
Thanks head_on_a_stick, that fixed it! I had a feeling that that path was incorrect.
I'm also removing /boot/efi since it's not needed; I have a dedicated EFI system partition at /boot.
Offline
Pages: 1