You are not logged in.

#1 2023-06-27 00:23:30

MAYBL8
Member
From: Florida USA
Registered: 2022-01-14
Posts: 409
Website

[SOLVED] How to identify which GRUB is being used

I have 3 linux versions and 1 Windows install on my Laptop.

Each linux has grub installed.

How do I identify which grub controls the GRUB menu?

There are times that I might want a different install to control the GRUB menu for menu update. IE a new kernel

What would be the suggested process for doing this.

I've got myself a little confused .
I'll read whatever you tell me to read.

This kind of setup is not referenced that I can find.
Thanks for your help.

Last edited by MAYBL8 (2025-02-15 15:22:46)

Offline

#2 2023-06-27 00:41:57

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

Re: [SOLVED] How to identify which GRUB is being used

They "usually" have a version string at the top, which is possibly vendored.

Otherwise assuming setup properly with EFI

efibootmgr -uv

will list your nvram entries and which of them your active boot is. If you don't want to install GRUB multiple times I strongly suggest you stick to one of them as the "controller" and use os-prober/grub-mkconfig to generate entries for the other distributions, I strongly suggest that the controlling GRUB shouldn't be the one from Arch as Arch's setup is fairly simple and the logical entries needed to boot it will never change on their own

Online

#3 2023-06-27 00:47:45

mpan
Member
Registered: 2012-08-01
Posts: 1,600
Website

Re: [SOLVED] How to identify which GRUB is being used

In Arch Linux this is being generated by an explicit invocation of grub-mkconfig. It is not regenerated during updates.⁽¹⁾

As for the other distributions, you will have to consult their documentation. If anything overwrites grub.cfg, it will be one of the other two distros.

____
⁽¹⁾ Unless you yourself installed something that registers a hook regenerating it. But certainly nothing in basic Arch installation.


Paperclips in avatars? | Sometimes I seem a bit harsh — don’t get offended too easily!

Offline

#4 2023-06-27 01:59:26

MAYBL8
Member
From: Florida USA
Registered: 2022-01-14
Posts: 409
Website

Re: [SOLVED] How to identify which GRUB is being used

Each install was from some iso except for Arch and Windows so I had no control of how grub was installed on some of them.
I can go in change what I want at this point.

Here is the result of the command:

[demo@Manjaro ~]$ efibootmgr -uv
BootCurrent: 000C
Timeout: 0 seconds
BootOrder: 000C,000E,0001,0005,0004,0003,0002,0000,000A,0008,0007,0009,0006,000B,9999
Boot0000* Windows Boot Manager	HD(2,GPT,5758188c-330c-4b9b-a98f-e999cf7ec14e,0x109000,0xf9800)/File(\EFI\Microsoft\Boot\bootmgfw.efi)䥗䑎坏S
      dp: 04 01 2a 00 02 00 00 00 00 90 10 00 00 00 00 00 00 98 0f 00 00 00 00 00 8c 18 58 57 0c 33 9b 4b a9 8f e9 99 cf 7e c1 4e 02 02 / 04 04 46 00 5c 00 45 00 46 00 49 00 5c 00 4d 00 69 00 63 00 72 00 6f 00 73 00 6f 00 66 00 74 00 5c 00 42 00 6f 00 6f 00 74 00 5c 00 62 00 6f 00 6f 00 74 00 6d 00 67 00 66 00 77 00 2e 00 65 00 66 00 69 00 00 00 / 7f ff 04 00
    data: 57 49 4e 44 4f 57 53 00 01 00 00 00 88 00 00 00 78 00 00 00 42 00 43 00 44 00 4f 00 42 00 4a 00 45 00 43 00 54 00 3d 00 7b 00 39 00 64 00 65 00 61 00 38 00 36 00 32 00 63 00 2d 00 35 00 63 00 64 00 64 00 2d 00 34 00 65 00 37 00 30 00 2d 00 61 00 63 00 63 00 31 00 2d 00 66 00 33 00 32 00 62 00 33 00 34 00 34 00 64 00 34 00 37 00 39 00 35 00 7d 00 00 00 f2 ba 01 00 00 00 10 00 00 00 04 00 00 00 7f ff 04 00
Boot0001* grub	HD(1,GPT,6c4f73c4-d793-47f3-a984-39b4a553c406,0x800,0xff800)/File(\EFI\grub\grubx64.efi)
      dp: 04 01 2a 00 01 00 00 00 00 08 00 00 00 00 00 00 00 f8 0f 00 00 00 00 00 c4 73 4f 6c 93 d7 f3 47 a9 84 39 b4 a5 53 c4 06 02 02 / 04 04 30 00 5c 00 45 00 46 00 49 00 5c 00 67 00 72 00 75 00 62 00 5c 00 67 00 72 00 75 00 62 00 78 00 36 00 34 00 2e 00 65 00 66 00 69 00 00 00 / 7f ff 04 00
Boot0002* Linux Boot Manager	HD(1,GPT,71ed0d93-b739-4638-b788-9e0dea48840d,0x800,0xff800)/File(\EFI\systemd\systemd-bootx64.efi)
      dp: 04 01 2a 00 01 00 00 00 00 08 00 00 00 00 00 00 00 f8 0f 00 00 00 00 00 93 0d ed 71 39 b7 38 46 b7 88 9e 0d ea 48 84 0d 02 02 / 04 04 46 00 5c 00 45 00 46 00 49 00 5c 00 73 00 79 00 73 00 74 00 65 00 6d 00 64 00 5c 00 73 00 79 00 73 00 74 00 65 00 6d 00 64 00 2d 00 62 00 6f 00 6f 00 74 00 78 00 36 00 34 00 2e 00 65 00 66 00 69 00 00 00 / 7f ff 04 00
Boot0003* Linux Boot Manager	HD(1,GPT,e620e909-4824-4c7a-a8d5-c53f644f45fd,0x800,0xff800)/File(\EFI\systemd\systemd-bootx64.efi)
      dp: 04 01 2a 00 01 00 00 00 00 08 00 00 00 00 00 00 00 f8 0f 00 00 00 00 00 09 e9 20 e6 24 48 7a 4c a8 d5 c5 3f 64 4f 45 fd 02 02 / 04 04 46 00 5c 00 45 00 46 00 49 00 5c 00 73 00 79 00 73 00 74 00 65 00 6d 00 64 00 5c 00 73 00 79 00 73 00 74 00 65 00 6d 00 64 00 2d 00 62 00 6f 00 6f 00 74 00 78 00 36 00 34 00 2e 00 65 00 66 00 69 00 00 00 / 7f ff 04 00
Boot0004* Linux Boot Manager	HD(1,GPT,6f725228-8fce-418f-ab25-83d3ec029665,0x800,0xff800)/File(\EFI\systemd\systemd-bootx64.efi)
      dp: 04 01 2a 00 01 00 00 00 00 08 00 00 00 00 00 00 00 f8 0f 00 00 00 00 00 28 52 72 6f ce 8f 8f 41 ab 25 83 d3 ec 02 96 65 02 02 / 04 04 46 00 5c 00 45 00 46 00 49 00 5c 00 73 00 79 00 73 00 74 00 65 00 6d 00 64 00 5c 00 73 00 79 00 73 00 74 00 65 00 6d 00 64 00 2d 00 62 00 6f 00 6f 00 74 00 78 00 36 00 34 00 2e 00 65 00 66 00 69 00 00 00 / 7f ff 04 00
Boot0005* Linux Boot Manager	HD(1,GPT,c1d89512-3229-4e44-98c0-149dd51e70e4,0x800,0xff800)/File(\EFI\systemd\systemd-bootx64.efi)
      dp: 04 01 2a 00 01 00 00 00 00 08 00 00 00 00 00 00 00 f8 0f 00 00 00 00 00 12 95 d8 c1 29 32 44 4e 98 c0 14 9d d5 1e 70 e4 02 02 / 04 04 46 00 5c 00 45 00 46 00 49 00 5c 00 73 00 79 00 73 00 74 00 65 00 6d 00 64 00 5c 00 73 00 79 00 73 00 74 00 65 00 6d 00 64 00 2d 00 62 00 6f 00 6f 00 74 00 78 00 36 00 34 00 2e 00 65 00 66 00 69 00 00 00 / 7f ff 04 00
Boot0006* rEFInd Boot Manager	HD(1,MBR,0x8a94c949,0x2000,0xcc000)/File(\EFI\refind\refind_x64.efi)
      dp: 04 01 2a 00 01 00 00 00 00 20 00 00 00 00 00 00 00 c0 0c 00 00 00 00 00 49 c9 94 8a 00 00 00 00 00 00 00 00 00 00 00 00 01 01 / 04 04 3a 00 5c 00 45 00 46 00 49 00 5c 00 72 00 65 00 66 00 69 00 6e 00 64 00 5c 00 72 00 65 00 66 00 69 00 6e 00 64 00 5f 00 78 00 36 00 34 00 2e 00 65 00 66 00 69 00 00 00 / 7f ff 04 00
Boot0007* Linux Boot Manager	HD(1,GPT,bf7c18bd-549d-4dda-820b-ede76c8bad64,0x800,0xff800)/File(\EFI\systemd\systemd-bootx64.efi)
      dp: 04 01 2a 00 01 00 00 00 00 08 00 00 00 00 00 00 00 f8 0f 00 00 00 00 00 bd 18 7c bf 9d 54 da 4d 82 0b ed e7 6c 8b ad 64 02 02 / 04 04 46 00 5c 00 45 00 46 00 49 00 5c 00 73 00 79 00 73 00 74 00 65 00 6d 00 64 00 5c 00 73 00 79 00 73 00 74 00 65 00 6d 00 64 00 2d 00 62 00 6f 00 6f 00 74 00 78 00 36 00 34 00 2e 00 65 00 66 00 69 00 00 00 / 7f ff 04 00
Boot0008* Linux Boot Manager	HD(1,GPT,6476e95f-f688-4739-83f1-b76219f80145,0x800,0xff800)/File(\EFI\systemd\systemd-bootx64.efi)
      dp: 04 01 2a 00 01 00 00 00 00 08 00 00 00 00 00 00 00 f8 0f 00 00 00 00 00 5f e9 76 64 88 f6 39 47 83 f1 b7 62 19 f8 01 45 02 02 / 04 04 46 00 5c 00 45 00 46 00 49 00 5c 00 73 00 79 00 73 00 74 00 65 00 6d 00 64 00 5c 00 73 00 79 00 73 00 74 00 65 00 6d 00 64 00 2d 00 62 00 6f 00 6f 00 74 00 78 00 36 00 34 00 2e 00 65 00 66 00 69 00 00 00 / 7f ff 04 00
Boot0009* Linux Boot Manager	HD(1,GPT,3a2e32a1-679d-491a-b1cc-4b0a68090bf0,0x800,0xff800)/File(\EFI\systemd\systemd-bootx64.efi)
      dp: 04 01 2a 00 01 00 00 00 00 08 00 00 00 00 00 00 00 f8 0f 00 00 00 00 00 a1 32 2e 3a 9d 67 1a 49 b1 cc 4b 0a 68 09 0b f0 02 02 / 04 04 46 00 5c 00 45 00 46 00 49 00 5c 00 73 00 79 00 73 00 74 00 65 00 6d 00 64 00 5c 00 73 00 79 00 73 00 74 00 65 00 6d 00 64 00 2d 00 62 00 6f 00 6f 00 74 00 78 00 36 00 34 00 2e 00 65 00 66 00 69 00 00 00 / 7f ff 04 00
Boot000A* Linux Boot Manager	HD(1,GPT,b4e02b1a-fe87-4f7a-84d3-e59498f25ec4,0x800,0xff800)/File(\EFI\systemd\systemd-bootx64.efi)
      dp: 04 01 2a 00 01 00 00 00 00 08 00 00 00 00 00 00 00 f8 0f 00 00 00 00 00 1a 2b e0 b4 87 fe 7a 4f 84 d3 e5 94 98 f2 5e c4 02 02 / 04 04 46 00 5c 00 45 00 46 00 49 00 5c 00 73 00 79 00 73 00 74 00 65 00 6d 00 64 00 5c 00 73 00 79 00 73 00 74 00 65 00 6d 00 64 00 2d 00 62 00 6f 00 6f 00 74 00 78 00 36 00 34 00 2e 00 65 00 66 00 69 00 00 00 / 7f ff 04 00
Boot000B* Solid State Disk	PciRoot(0x0)/Pci(0x1d,0x4)/Pci(0x0,0x0)/NVMe(0x1,00-25-38-58-01-40-F1-74)/HD(2,GPT,5758188c-330c-4b9b-a98f-e999cf7ec14e,0x109000,0xf9800)
      dp: 02 01 0c 00 d0 41 03 0a 00 00 00 00 / 01 01 06 00 04 1d / 01 01 06 00 00 00 / 03 17 10 00 01 00 00 00 00 25 38 58 01 40 f1 74 / 04 01 2a 00 02 00 00 00 00 90 10 00 00 00 00 00 00 98 0f 00 00 00 00 00 8c 18 58 57 0c 33 9b 4b a9 8f e9 99 cf 7e c1 4e 02 02 / 7f ff 04 00
    data: 00 00 42 4f
Boot000C* manjaro	HD(2,GPT,5758188c-330c-4b9b-a98f-e999cf7ec14e,0x109000,0xf9800)/File(\EFI\manjaro\grubx64.efi)
      dp: 04 01 2a 00 02 00 00 00 00 90 10 00 00 00 00 00 00 98 0f 00 00 00 00 00 8c 18 58 57 0c 33 9b 4b a9 8f e9 99 cf 7e c1 4e 02 02 / 04 04 36 00 5c 00 45 00 46 00 49 00 5c 00 6d 00 61 00 6e 00 6a 00 61 00 72 00 6f 00 5c 00 67 00 72 00 75 00 62 00 78 00 36 00 34 00 2e 00 65 00 66 00 69 00 00 00 / 7f ff 04 00
Boot000E* arcolinux	HD(2,GPT,5758188c-330c-4b9b-a98f-e999cf7ec14e,0x109000,0xf9800)/File(\EFI\arcolinux\grubx64.efi)
      dp: 04 01 2a 00 02 00 00 00 00 90 10 00 00 00 00 00 00 98 0f 00 00 00 00 00 8c 18 58 57 0c 33 9b 4b a9 8f e9 99 cf 7e c1 4e 02 02 / 04 04 3a 00 5c 00 45 00 46 00 49 00 5c 00 61 00 72 00 63 00 6f 00 6c 00 69 00 6e 00 75 00 78 00 5c 00 67 00 72 00 75 00 62 00 78 00 36 00 34 00 2e 00 65 00 66 00 69 00 00 00 / 7f ff 04 00
Boot9999* USB Drive (UEFI)	PciRoot(0x0)/Pci(0x1d,0x0)/USB(16,0)
      dp: 02 01 0c 00 d0 41 03 0a 00 00 00 00 / 01 01 06 00 00 1d / 03 05 06 00 10 00 / 7f ff 04 00
    data: 00 00 42 4f

Offline

#5 2023-06-27 07:03:55

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

Re: [SOLVED] How to identify which GRUB is being used

You have a bunch of systemd-boot entries and at least three GRUBs, currently you're booting (... and thus is "controlling the menu") the grub from manjaro

Online

#6 2023-06-27 13:51:37

MAYBL8
Member
From: Florida USA
Registered: 2022-01-14
Posts: 409
Website

Re: [SOLVED] How to identify which GRUB is being used

Is there any changes you would recommend or is this ok?

Offline

#7 2023-06-27 14:04:36

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

Re: [SOLVED] How to identify which GRUB is being used

It's your system, you need to know what you want and need to do. I personally would only keep a single GRUB if possible, but not sure how or what of this setup you are currently actively using and relying on.

Online

Board footer

Powered by FluxBB