You are not logged in.
I've installed linux-zen package and wanted to change the boot order through grub-customizer. I dragged linux-zen from Advanced boot options to the top and rebooted the machine. After that it stopped opening the grub menu but boots into BIOS.
Also I found a new boot option inside boot order menu called "boot (P1: Samsung SSD ...)" which wasn't there before changes in grub-customizer.
My system uses efi boot if that matters.
How can I restore grub menu?
Thanks
Last edited by neocat (2022-10-04 17:21:36)
Offline
first regenerate the config:
grub-mkconfig -o /boot/grub/grub.cfgthen if you want to change the order open the generated file and manually move the blocks around to your liking:
### BEGIN /etc/grub.d/10_linux ###
[BLOCK]
menuentry 'Arch Linux' --class arch ..... {
.....
.../initramfs-linux.img
}
[/BLOCK]
submenu 'Advanced options for Arch Linux' ..... {
[BLOCK]
menuentry 'Arch Linux, with Linux linux' --class arch ... {
.......
..../initramfs-linux.img
}
[/BLOCK]
[BLOCK]
menuentry 'Arch Linux, with Linux linux (fallback initramfs)' --class arch ...... {
.........
..../initramfs-linux-fallback.img
}
[/BLOCK]
}
### END /etc/grub.d/10_linux ###i hope that makes sense, ive simplified the blocks using "....." and added block quotes around the blocks, dont actually put [BLOCK] and [/BLOCK] in your config
Offline
I've fixed it. Grub-customizer removed the original grubx64.efi file and created a new one that don't work.
Running grub-install with no arguments solves the problem by recreating /boot/efi/EFI/arch/grubx64.efi
Offline