You are not logged in.

#1 2022-01-14 11:57:37

vda
Member
From: Italy
Registered: 2015-04-10
Posts: 19

[Solved] Editing EFI boot variables

Hi all,

just a question: I know efibootmgr, but is there a tool to edit the efi boot variables? I mean: not to add or remove, but read and possibly modify the content of the variables.

Thanks in advance.

Last edited by vda (2022-01-14 20:26:35)


I'm sorry for my english: I'm still learning...

Offline

#2 2022-01-14 16:32:11

tucuxi
Member
From: Switzerland
Registered: 2020-03-08
Posts: 291

Re: [Solved] Editing EFI boot variables

There is efivar.

Offline

#3 2022-01-14 20:25:53

vda
Member
From: Italy
Registered: 2015-04-10
Posts: 19

Re: [Solved] Editing EFI boot variables

Thank you very much tucuxi.

Here is an example for those interested.

$ efivar --print --name 8be4df61-93ca-11d2-aa0d-00e098032b8c-Boot0000
GUID: 8be4df61-93ca-11d2-aa0d-00e098032b8c
Name: "Boot0000"
Attributes:
	Non-Volatile
	Boot Service Access
	Runtime Service Access
Value:
00000000  01 00 00 00 74 00 4c 00  69 00 6e 00 75 00 78 00  |....t.L.i.n.u.x.|
00000010  20 00 42 00 6f 00 6f 00  74 00 20 00 4d 00 61 00  | .B.o.o.t. .M.a.|
00000020  6e 00 61 00 67 00 65 00  72 00 00 00 04 01 2a 00  |n.a.g.e.r.....*.|
00000030  01 00 00 00 00 08 00 00  00 00 00 00 00 00 20 00  |.............. .|
00000040  00 00 00 00 c2 29 f5 d5  5f 37 21 48 a8 92 4d 3d  |.....).._7!H..M=|
00000050  ef 6a 0a e5 02 02 04 04  46 00 5c 00 45 00 46 00  |.j......F.\.E.F.|
00000060  49 00 5c 00 73 00 79 00  73 00 74 00 65 00 6d 00  |I.\.s.y.s.t.e.m.|
00000070  64 00 5c 00 73 00 79 00  73 00 74 00 65 00 6d 00  |d.\.s.y.s.t.e.m.|
00000080  64 00 2d 00 62 00 6f 00  6f 00 74 00 78 00 36 00  |d.-.b.o.o.t.x.6.|
00000090  34 00 2e 00 65 00 66 00  69 00 00 00 7f ff 04 00  |4...e.f.i.......|

I'm sorry for my english: I'm still learning...

Offline

Board footer

Powered by FluxBB