View previous topic :: View next topic |
Author |
Message |
armstrong360 n00b
Joined: 19 Oct 2007 Posts: 39
|
Posted: Mon Apr 08, 2024 7:41 pm Post subject: uefi / grub problems (SOLVED) |
|
|
Grub version 2.12-r3
when I boot the computer, grub comes up and is waiting for a command.
If I supply a path to the config file, then the boot continues and is successful. configfile (hd0,gpt3)/boot/grub/grub.conf )
the esp partition (hd0,gpt1) is a FAT 32
its contents are: EFI/BOOT/BOOT/BOOTX64.EFI
and EFI/gentoo/grubx64.efi
( I did both a grub install and a grub install --removable)
sda1 is the esp partition
sda3 is the linux root partition
I think that grubx64.efi is being executed. When I do an lsmod from the grub prompt I see the ext2 module is loaded.
I don't understand why grub install doesn't provide the path to the config file in the grubx64.efi file
fstab:
/dev/sda1 /boot/efi vfat umask=0077 0 2
/dev/sda2 none swap sw 0 0
/dev/sda3 / ext4 auto noauto,user 0 0
Last edited by armstrong360 on Tue Apr 09, 2024 6:47 pm; edited 1 time in total |
|
Back to top |
|
|
CooSee Veteran
Joined: 20 Nov 2004 Posts: 1462 Location: Earth
|
Posted: Mon Apr 08, 2024 9:07 pm Post subject: |
|
|
Code: | /efi/EFI/BOOT/BOOTX64.EFI |
the above is mine - you've one BOOT to much.
_________________ " Die Realität ist eine Illusion, die durch Mangel an ehrlicher Kommunikation entsteht "
---
" Der Mensch ist von Natur aus neugierig, was am Ende übrig bleibt ist die Gier " |
|
Back to top |
|
|
armstrong360 n00b
Joined: 19 Oct 2007 Posts: 39
|
Posted: Mon Apr 08, 2024 11:34 pm Post subject: |
|
|
I have deleted BOOT/BOOT64.EFI (That line was as a result of adding the --removable option the grub-install)
AND
It still boots in exactly the same way as before I must specify the location of the config file
grub configfile (hd0,gpt3)/boot/grub/grub.conf
then it boots properly |
|
Back to top |
|
|
rab0171610 Guru
Joined: 24 Dec 2022 Posts: 412
|
Posted: Tue Apr 09, 2024 3:02 pm Post subject: |
|
|
Technically the grub2 configuration file is now named /boot/grub/grub.cfg .
That being said, did you update the grub configuration after running grub install?
Code: | grub-mkconfig -o /boot/grub/grub.cfg |
(or if you insist on using your naming scheme, change grub.cfg to grub.conf.)
It should provide output in the terminal. Pay attention to the part that states it found the grub config file.
Reboot and see if the config file is now found automatically. |
|
Back to top |
|
|
armstrong360 n00b
Joined: 19 Oct 2007 Posts: 39
|
Posted: Tue Apr 09, 2024 6:47 pm Post subject: |
|
|
I am embarrassed, simply renaming grub.conf to grub.cfg fixed the problem!
This can be marked as solved! |
|
Back to top |
|
|
|