You are not logged in.

#1 2023-01-04 11:16:24

Trevor_B
Member
Registered: 2019-12-28
Posts: 141

(Solved) Bios F11 shwong two grubs for one system

Hello

I have two 'grub' showing on my bios Arch boot up screen if I do a F11,

The correct and working one is Arch the incorrect and not working is 'Grub' this is a pure Arch installion, no dual boot

I always rename the bootloaders when installing Arch (Install  done by myself) this one to  'Arch' rather than grub, as I have another hard discs with  'Arch2'. So I know what bootloader is what system

grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=ARCH this Pc for instance

In my /etc/default file I can only see , which is correct

# GRUB boot loader configuration
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="Arch"
GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3"
GRUB_CMDLINE_LINUX=""

Although the 'grub' showing is not a real problem, it doesn't work and is not  causing a problem or error  it's untidy, but I havn't a clue where it is on my system so that I can delete it


4OL04TDV_t.jpg

Last edited by Trevor_B (2023-01-04 12:00:54)

Offline

#2 2023-01-04 11:24:12

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,260

Re: (Solved) Bios F11 shwong two grubs for one system

Those are your nvram entries, check efibootmgr -uv and the -B option of efibootmgr to remove entries.

Offline

#3 2023-01-04 11:42:14

Trevor_B
Member
Registered: 2019-12-28
Posts: 141

Re: (Solved) Bios F11 shwong two grubs for one system

Thannks

have ran efibootmgr -uv

am I right in doing #efibootmgr -B --bootnum 0001

Boot0001  grub    HD(1,GPT,5f98b424-4c09-492a-bd70-e69792b43a05,0x800,0x100000)/File(\EFI\grub\grubx64.efi)

Offline

#4 2023-01-04 11:54:14

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,260

Re: (Solved) Bios F11 shwong two grubs for one system

should work

Offline

#5 2023-01-04 12:03:43

Trevor_B
Member
Registered: 2019-12-28
Posts: 141

Re: (Solved) Bios F11 shwong two grubs for one system

Worked perfectly

I cleaned all old Boots that were there as well, some not showing on the F11 screen , strange ...

Now it's perfectly clean as it should be

I did run a mkinitcpio -p linux but  wasn't sure if needed or not

Many thanks as always for your help

Have marked Solved

Offline

Board footer

Powered by FluxBB