You are not logged in.
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
What kernel did you install?
Online
What kernel did you install?
Latest linux-zen
Linux go brrrrrrrrrrr
Offline
And you can see it in /boot when you're generating the grub config?
Online
And you can see it in /boot when you're generating the grub config?
no i can't
Linux go brrrrrrrrrrr
Offline
Did you mount a partition at /boot after you installed the kernel or something? Or unmount a partition?
Online
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
Because the installed grub is looking for it's config elsewhere.
Start at the beginning, how are you laying out your partitions?
Online
nvme0n1p1 is my EFI partition, 260M
nvme0n1p2 is my swap, 4G
nvme0n1p3 is my linux partition, its around 235G
Linux go brrrrrrrrrrr
Offline
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
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
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