this post was submitted on 04 Nov 2023
12 points (100.0% liked)

Arch Linux

7733 readers
3 users here now

The beloved lightweight distro

founded 4 years ago
MODERATORS
 

First time arch installer here. I just installed arch with grub on a uefi laptop. Everything seemed fine until I rebooted and ended up in uefi settings instead of grub. The grub entry shows up in the boot options but the computer doesn't seem to care. What could be wrong?

I dont know what information is useful to narrow the problem down so just tell me what logs are necessary an I'll post them.

Edit: I tried installing using the archinstall script in case I misunderstood the install instructions, but still not booting. Tried both grub and systemd-boot. The laptop is an Asus vivobook S 14 model K3402Z and even though I have been running fedora on it for the last year I believe the issues have something to do with the laptop hardware.

Edit 2: The issue has been resolved. Turns out the step that ruined the install was when I formatted the NVME drive according to this section of the wiki it messed something up, so reverting that fixed everything.

you are viewing a single comment's thread
view the rest of the comments
[–] CalicoJack@lemmy.dbzer0.com 4 points 1 year ago (4 children)

My first guess would be either messing up the paths for grub-install and/or grub-mkconfig, or just forgetting grub-mkconfig altogether. Grub should "just work" as long as those commands were run properly and you aren't using Secure Boot.

[–] Cralder@feddit.nu 2 points 1 year ago (3 children)

I have mounted my EFI partition to /mnt/boot and after chrooting into the root directory I ran grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=UEFI-GRUB. Then I ran grub-mkconfig -o /boot/grub/grub.cfg. Is there anything wrong with any of these commands? I got no errors when I ran them.

[–] user134450@feddit.de 1 points 1 year ago* (last edited 1 year ago)

instead of putting a grub config in /boot/grub you could also try embedding it directly with grub-mkimage. you would need to point to the grub config that you have with -c and add all the needed modules as extra arguments at the end.

it is possible that the grub image you installed is just not looking for the config file at the right place.

or maybe try putting the grub.cfg in the same directory as the grubx64.efi

load more comments (2 replies)
load more comments (2 replies)