You are not logged in.

#1 2022-08-08 16:00:12

the_gremlin
Member
Registered: 2022-08-08
Posts: 18

[SOLVED] Arch installation isn't shown on grub boot menu, EFI

I have installed arch on a model 15s eq2021sv laptop on an nvme drive, I followed the wiki instructions exactly as it was the first time I installed arch on an EFI system. The installation itself was without problems, however when I rebooted the laptop and removed the installation USB, instead of being shown the option to start Arch linux in the grub menu, the only option i was shown was to go to the efi settings. I would appreciate any help you could give me.

efibootmgr -v output
grub.cfg contents
fdisk -l output

Last edited by the_gremlin (2022-08-08 21:27:58)


Linux go brrrrrrrrrrr

Offline

#2 2022-08-08 16:22:58

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,465

Re: [SOLVED] Arch installation isn't shown on grub boot menu, EFI

What kernel did you install?

Online

#3 2022-08-08 16:36:25

the_gremlin
Member
Registered: 2022-08-08
Posts: 18

Re: [SOLVED] Arch installation isn't shown on grub boot menu, EFI

Scimmia wrote:

What kernel did you install?

Latest linux-zen


Linux go brrrrrrrrrrr

Offline

#4 2022-08-08 16:44:20

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,465

Re: [SOLVED] Arch installation isn't shown on grub boot menu, EFI

And you can see it in /boot when you're generating the grub config?

Online

#5 2022-08-08 16:56:55

the_gremlin
Member
Registered: 2022-08-08
Posts: 18

Re: [SOLVED] Arch installation isn't shown on grub boot menu, EFI

Scimmia wrote:

And you can see it in /boot when you're generating the grub config?

no i can't


Linux go brrrrrrrrrrr

Offline

#6 2022-08-08 16:58:57

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,465

Re: [SOLVED] Arch installation isn't shown on grub boot menu, EFI

Did you mount a partition at /boot after you installed the kernel or something? Or unmount a partition?

Online

#7 2022-08-08 17:02:37

the_gremlin
Member
Registered: 2022-08-08
Posts: 18

Re: [SOLVED] Arch installation isn't shown on grub boot menu, EFI

i mounted the efi partition as per the installation guide, i also re-downloaded the kernel and updated the grub config, arch linux now does show up on the config, but its still not showing on the grub menu


Linux go brrrrrrrrrrr

Offline

#8 2022-08-08 17:04:05

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,465

Re: [SOLVED] Arch installation isn't shown on grub boot menu, EFI

Because the installed grub is looking for it's config elsewhere.

Start at the beginning, how are you laying out your partitions?

Online

#9 2022-08-08 17:11:49

the_gremlin
Member
Registered: 2022-08-08
Posts: 18

Re: [SOLVED] Arch installation isn't shown on grub boot menu, EFI

nvme0n1p1 is my EFI partition, 260M
nvme0n1p2 is my swap, 4G
nvme0n1p3 is my linux partition, its around 235G


Linux go brrrrrrrrrrr

Offline

#10 2022-08-08 21:29:47

the_gremlin
Member
Registered: 2022-08-08
Posts: 18

Re: [SOLVED] Arch installation isn't shown on grub boot menu, EFI

I did a reinstall in case i messed something up and it works now, although for anyone who encounters the same problem, i have a suspicion that i mistyped the grub config filename when generating it and didn't notice, becase i cannot think of anything else that could have gone wrong

Last edited by the_gremlin (2022-08-08 21:30:05)


Linux go brrrrrrrrrrr

Offline

#11 2022-08-09 00:04:44

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,465

Re: [SOLVED] Arch installation isn't shown on grub boot menu, EFI

Well I had to leave, but I was really figuring someone else would pick this up.

Your solution might or might not be a full solution. You could end up with problems on the next kernel update if you don't figure out exactly how you want your partitions mounted, because this is what caused your problems. You had a blank config giving you a menu, no config would have dropped you to a grub prompt. Do you want to use your ESP as /boot with your kernel and initramfs, or do you want to mount it elsewhere and keep your kernel and initramfs on the root partition?

Online

#12 2022-08-09 14:34:58

the_gremlin
Member
Registered: 2022-08-08
Posts: 18

Re: [SOLVED] Arch installation isn't shown on grub boot menu, EFI

I spent some time thinking about it and my initial problem was that I wiped my EFI partition and reinstalled grub, without reinstalling the kernel so there was no kernel image for grub to detect when generating the config.
I then proceeded to reinstall the kernel and re-generate the config, but i wrote something like grub-mkconfig -o /boot/grub/grub.conf, in essence keeping the old grub config in place, so the problem persisted. By reinstalling everything, I had a fresh installation with no fuckups so that meant the generated grub config would work. There was no issue with my partitioning or with anything else as far as i can tell so this is my best bet at explaining this.


Linux go brrrrrrrrrrr

Offline

Board footer

Powered by FluxBB