You are not logged in.

#1 2016-09-02 17:01:00

jesc516
Member
From: LI,NY
Registered: 2015-01-26
Posts: 72

bootctl update question

Is there a way to prevent bootctl from searching other operating systems?

Arch is the only operating system on this disk. Im not sure if this correlates with one another but I would like to do a "bootctl update" in order to update the menu entry in my motherboard (I hope this makes sense). Basically when I first installed Arch, the menu entry in my motherboard said "Arch". Now it says "Other OS".

I unplugged the disks in my pc to prevent grub from picking up the other operating systems (on the other disks) when I did a graphical install for another linux distro. Last time I did a graphical install (not for Arch) grub added every operating system in my pc and some entries worked, and others didnt. I would rather use the boot options from the motherboard to select the operating system.

If anyone can point me in the right direction, it will be greatly appreciated.
Thanks

Offline

#2 2016-09-02 18:22:46

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,559

Re: bootctl update question

bootctl doesn't search for anything. It will simply add itself to the NVRAM entries, nothing more.

Offline

#3 2016-09-02 18:37:33

jmp186
Member
Registered: 2016-08-13
Posts: 22

Re: bootctl update question

I don't this bootctl is to blame here, the probleme seems more to be from the uefi system itself, not sure though

Offline

#4 2016-09-02 20:38:50

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,732
Website

Re: bootctl update question

jesc516 wrote:

when I first installed Arch, the menu entry in my motherboard said "Arch". Now it says "Other OS".

Please post the output of:

# efibootmgr -v

Offline

#5 2016-09-02 23:49:24

jesc516
Member
From: LI,NY
Registered: 2015-01-26
Posts: 72

Re: bootctl update question

[@ ~]$ efibootmgr -v
BootCurrent: 0002
Timeout: 1 seconds
BootOrder: 0003,0002,0000
Boot0000* kali	HD(1,GPT,16600851-836b-441a-8982-d63cc86446f3,0x800,0x100000)/File(\EFI\kali\grubx64.efi)
Boot0002* UEFI OS	HD(1,GPT,54b7b887-9c51-46a9-bd4b-7224047e67a8,0x800,0x200000)/File(\EFI\BOOT\BOOTX64.EFI)..BO
Boot0003* Windows Boot Manager	HD(2,GPT,f4f7fe97-f1fc-4d4c-b930-d219fec8a555,0xe1800,0x31800)/File(\EFI\MICROSOFT\BOOT\BOOTMGFW.EFI)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...c................

i would like to change that UEFI OS to Arch. It used to say Arch.

Last edited by jesc516 (2016-09-02 23:50:37)

Offline

#6 2016-09-03 04:44:13

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,559

Re: bootctl update question

No, that's the default UEFI loader. You don't have an entry for Arch

Offline

#7 2016-09-03 05:39:43

jmp186
Member
Registered: 2016-08-13
Posts: 22

Re: bootctl update question

you might want to try:

efibootmgr -b 0002 -L "Arch"

Offline

#8 2016-09-05 18:17:24

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,732
Website

Re: bootctl update question

jesc516 wrote:

i would like to change that UEFI OS to Arch. It used to say Arch.

I may be wrong but that looks like a firmware-generated NVRAM entry designed to accommodate removable devices that contain UEFI systems.

To generate a new NVRAM entry for systemd-boot you can use:

# bootctl install

However, it may be that your firmware ("BIOS") will "forget" this new entry -- my motherboard does this and I have given up and just use the autogenerated NVRAM entry now.

Offline

#9 2016-09-06 15:45:41

jesc516
Member
From: LI,NY
Registered: 2015-01-26
Posts: 72

Re: bootctl update question

Just curious, do you know what the data in bold is or where it comes from?

Boot0002* UEFI OS    HD(1,GPT,54b7b887-9c51-46a9-bd4b-7224047e67a8,0x800,0x200000)/File(\EFI\BOOT\BOOTX64.EFI) ..BO

Boot0003* Windows Boot Manager    HD(2,GPT,f4f7fe97-f1fc-4d4c-b930-d219fec8a555,0xe1800,0x31800)/File(\EFI\MICROSOFT\BOOT\BOOTMGFW.EFI) WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...c................



I have to check the motherboard and see if I can add a boot entry manually. I will probably try that. I just know in the past, especially when using graphical installers, they use grub by default so I tend to unplug my other disks to prevent grub from adding them as boot entries. As a result, I end up with the generic UEFI OS entry when I plug back in my disks.

Or, I was thinking about booting to shellx64.efi from "Launch EFI shell from filesystem device" and see if I can remove the UEFI OS and re-add as Arch. Never played with an UEFI shell before.

Offline

#10 2016-09-12 14:08:57

jesc516
Member
From: LI,NY
Registered: 2015-01-26
Posts: 72

Re: bootctl update question

Scimmia wrote:

No, that's the default UEFI loader. You don't have an entry for Arch

can i generate one using bootctl install ?


jmp186 wrote:

you might want to try:

efibootmgr -b 0002 -L "Arch"

should i try this using a live usb? using this command on the os installed on disk did not work. it just listed the nvram entries.

Offline

Board footer

Powered by FluxBB