rhboot / efibootmgr

efibootmgr development tree
GNU General Public License v2.0
519 stars 98 forks source link

18 version shows hex data and detail information of efi entries without verbose #168

Closed onenowy closed 2 years ago

onenowy commented 2 years ago

After updating to 18, efibootmgr shows boot entries with hex data.

In 17

BootCurrent: 0001
Timeout: 0 seconds
BootOrder: 0001,0000,0004
Boot0000* Windows Boot Manager
Boot0001* Arch Linux
Boot0004* UEFI: IP4 Realtek PCIe GBE Family Controller

In 18, it shows detail information and hex value without verbose option

BootCurrent: 0001
Timeout: 0 seconds
BootOrder: 0001,0000,0004
Boot0000* Windows Boot Manager  HD(1,GPT,88b98094-c959-7c46-8c3f-acc951d55266,0x800,0x4b000)/File(\EFI\MICROSOFT\BOOT\BOOTMGFW.EFI)57494e444f5753000100000088000000780000004200430044004f0042004a004500430054003d007b00390064006500610038003600320063002d0035006300640064002d0034006500370030002d0061006300630031002d006600330032006200330034003400640034003700390035007d00000000000100000010000000040000007fff0400
Boot0001* Arch Linux    HD(1,GPT,88b98094-c959-7c46-8c3f-acc951d55266,0x800,0x4b000)/File(\VMLINUZ-LINUX)72006f006f0074003d0055005500490044003d00360037003100320033003900330034002d0035003300330032002d0034003700310038002d0061003200350061002d00390039003600650061003400330032003700630039006500200072007700200069006e0069007400720064003d005c0069006e0069007400720061006d00660073002d006c0069006e00750078002e0069006d00670020006c006f0067006c006500760065006c003d00330020007a0073007700610070002e0065006e00610062006c00650064003d003000
Boot0004* UEFI: IP4 Realtek PCIe GBE Family Controller  PciRoot(0x0)/Pci(0x1d,0x4)/Pci(0x0,0x0)/MAC(80fa5b3e4715,0)/IPv4(0.0.0.00.0.0.0,0,0)0000424f

And extra args are human readable with verbose in 17, but not in 18.

In 17

BootCurrent: 0001
Timeout: 0 seconds
BootOrder: 0001,0000,0004
Boot0000* Windows Boot Manager  HD(1,GPT,88b98094-c959-7c46-8c3f-acc951d55266,0x800,0x4b000)/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.}....................
Boot0001* Arch Linux    HD(1,GPT,88b98094-c959-7c46-8c3f-acc951d55266,0x800,0x4b000)/File(\VMLINUZ-LINUX)r.o.o.t.=.U.U.I.D.=.6.7.1.2.3.9.3.4.-.5.3.3.2.-.4.7.1.8.-.a.2.5.a.-.9.9.6.e.a.4.3.2.7.c.9.e. .r.w. .i.n.i.t.r.d.=.\.i.n.i.t.r.a.m.f.s.-.l.i.n.u.x...i.m.g. .l.o.g.l.e.v.e.l.=.3. .z.s.w.a.p...e.n.a.b.l.e.d.=.0.
Boot0004* UEFI: IP4 Realtek PCIe GBE Family Controller  PciRoot(0x0)/Pci(0x1d,0x4)/Pci(0x0,0x0)/MAC(80fa5b3e4715,0)/IPv4(0.0.0.00.0.0.0,0,0)..BO

In 18

BootCurrent: 0001
Timeout: 0 seconds
BootOrder: 0001,0000,0004
Boot0000* Windows Boot Manager  HD(1,GPT,88b98094-c959-7c46-8c3f-acc951d55266,0x800,0x4b000)/File(\EFI\MICROSOFT\BOOT\BOOTMGFW.EFI)57494e444f5753000100000088000000780000004200430044004f0042004a004500430054003d007b00390064006500610038003600320063002d0035006300640064002d0034006500370030002d0061006300630031002d006600330032006200330034003400640034003700390035007d00000000000100000010000000040000007fff0400
      dp: 04 01 2a 00 01 00 00 00 00 08 00 00 00 00 00 00 00 b0 04 00 00 00 00 00 94 80 b9 88 59 c9 46 7c 8c 3f ac c9 51 d5 52 66 02 02 / 04 04 46 00 5c 00 45 00 46 00 49 00 5c 00 4d 00 49 00 43 00 52 00 4f 00 53 00 4f 00 46 00 54 00 5c 00 42 00 4f 00 4f 00 54 00 5c 00 42 00 4f 00 4f 00 54 00 4d 00 47 00 46 00 57 00 2e 00 45 00 46 00 49 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 00 00 01 00 00 00 10 00 00 00 04 00 00 00 7f ff 04 00
Boot0001* Arch Linux    HD(1,GPT,88b98094-c959-7c46-8c3f-acc951d55266,0x800,0x4b000)/File(\VMLINUZ-LINUX)72006f006f0074003d0055005500490044003d00360037003100320033003900330034002d0035003300330032002d0034003700310038002d0061003200350061002d00390039003600650061003400330032003700630039006500200072007700200069006e0069007400720064003d005c0069006e0069007400720061006d00660073002d006c0069006e00750078002e0069006d00670020006c006f0067006c006500760065006c003d00330020007a0073007700610070002e0065006e00610062006c00650064003d003000
      dp: 04 01 2a 00 01 00 00 00 00 08 00 00 00 00 00 00 00 b0 04 00 00 00 00 00 94 80 b9 88 59 c9 46 7c 8c 3f ac c9 51 d5 52 66 02 02 / 04 04 22 00 5c 00 56 00 4d 00 4c 00 49 00 4e 00 55 00 5a 00 2d 00 4c 00 49 00 4e 00 55 00 58 00 00 00 / 7f ff 04 00
    data: 72 00 6f 00 6f 00 74 00 3d 00 55 00 55 00 49 00 44 00 3d 00 36 00 37 00 31 00 32 00 33 00 39 00 33 00 34 00 2d 00 35 00 33 00 33 00 32 00 2d 00 34 00 37 00 31 00 38 00 2d 00 61 00 32 00 35 00 61 00 2d 00 39 00 39 00 36 00 65 00 61 00 34 00 33 00 32 00 37 00 63 00 39 00 65 00 20 00 72 00 77 00 20 00 69 00 6e 00 69 00 74 00 72 00 64 00 3d 00 5c 00 69 00 6e 00 69 00 74 00 72 00 61 00 6d 00 66 00 73 00 2d 00 6c 00 69 00 6e 00 75 00 78 00 2e 00 69 00 6d 00 67 00 20 00 6c 00 6f 00 67 00 6c 00 65 00 76 00 65 00 6c 00 3d 00 33 00 20 00 7a 00 73 00 77 00 61 00 70 00 2e 00 65 00 6e 00 61 00 62 00 6c 00 65 00 64 00 3d 00 30 00
Boot0004* UEFI: IP4 Realtek PCIe GBE Family Controller  PciRoot(0x0)/Pci(0x1d,0x4)/Pci(0x0,0x0)/MAC(80fa5b3e4715,0)/IPv4(0.0.0.00.0.0.0,0,0)0000424f
      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 0b 25 00 80 fa 5b 3e 47 15 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 / 03 0c 1b 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 / 7f ff 04 00
    data: 00 00 42 4f

Additional info os : archlinux efivar : 38-2

frozencemetery commented 2 years ago

8ec3e9dedb3cb62f19847794012420b90f475398