You are not logged in.
Hi, I've followed Installation_guide for first time (several times) and can't make a grub menu with entries but "UEFI firmware".
The structure of boot partition "/dev/nvme0n1p1" mounted on "/boot", result of many attempts with bootctl, grub-install, grub-mkconfig, is:
EFI
10_linux
BOOT
EFI
Linux
arch
grub.cfg
systemd
grub
fonts
grub.cfg
grubenv
locale
themes
x86_64-efi
grub.cfg
intel-ucode.img
loader
entries
entries.srel
loader.conf
random-seed
The content of "/boot/loader/entries/arch.conf":
title Arch Linux
linux EFI/arch/vmlinuz
initrd /intel-ucode.img
initrd EFI/arch/initramfs.img
option root=UUID=myuuid rwThe output of "bootctl" contains:
Available boot loaders on ESP:
ESP: /boot
File: /EFI/systemd/systemd-bootx64.efi, /EFI/BOOT/BOOTX64.efi
Bootloaders listed in EFI var:
10_linux, arch, Linux Boot Manager,UEFI OS
Boot loader entries:
$BOOT: /boot, token:arch
Default boot loader entry: title: "Arch Linux", id: arch.confAny Suggestion?
Best Regards
Last edited by AlexBeer (2023-08-26 01:57:08)
Offline
Did you not install a kernel?
Offline
I've installed base linux linux-firmware(?) in installation phase. Thought linux was default kernel.
Offline
it is, so why is it not listed when you listed everything in /boot?
Offline
Well, I've copied /usr/lib/modules/6.4.11-arch2-1/vmlinuz into EFI/arch, but being inside modules make me doubt now that it may not be the kernel.. .
Offline
It is, but why in the world would you do that? Did you not have the /boot partition mounted when you installed the kernel? Have something else mounted there? Something has gone very wrong.
Very little on your ESP makes sense. Tell us what you actually did.
Offline
Ok, reinstalling linux pkg I have vmlinuz-linux and initramfs images in /boot, so I just have to adjust the content of /boot/loader/entries/arch.conf to the right kernel and initramfs? And the run grub-mkconf -o /boot7grub.cfg?
Offline
It is, but why in the world would you do that? Did you not have the /boot partition mounted when you installed the kernel? Have something else mounted there? Something has gone very wrong.
Very little on your ESP makes sense. Tell us what you actually did.
I've forgotten I have run mkfs.fat -F 32 on EFI partition after Arch installation since at first boot after installation I only get a count down to reboot to UEFI Firmware, now I have I grub menu, empty but forone entry which is reboot to UEFI firmware
Offline
well that explains that part of it, at least. When you formatted it, you lost the kernel/initramfs.
Now, why do you have systemd-boot and grub? Why do you have 3 grub.cfg files? What, exactly, is EFI/10_linux, EFI/Linux, and EFI/arch? What are you actually booting?
Last edited by Scimmia (2023-08-24 03:12:01)
Offline
Those files and directories are result of my attempts with bootctl install, grub-install and grub-mkconfig, probably also with systemd-boot(?) Maybe just missing intel-ucode.img (and/or initramfs-vmlinuz) during Arch installation.
I'll try delete everything except initramfs-linux-fallback.img, initramfs-linux.img intel-ucode.img, vmlinuz-linux, and then grub-install, and grub-mkconfig (well, this may be not needed): it's the right direction?
Offline
Finally I got my grub menu; grub.cfg goes into grub dir!
Offline