uefidump

Firmware Test Suite - uefidump utility

This utility reads the raw UEFI variables from /sys/firmware/efi/vars and will expand and annotate these variables in a human readable format where possible. Typical output is as follows:

00013 uefidump        Dump UEFI variables.
00014 uefidump        -----------------------------------------------------------------------------
00015 uefidump        Test 1 of 1: Dump UEFI Variables.
00016 uefidump        Name: AuthVarKeyDatabase.
00017 uefidump          GUID: aaf32c78-947b-439a-a180-2e144ec37792
00018 uefidump          Attr: 0x17 (NonVolatile,BootServ,RunTime).
00019 uefidump          Size: 1 bytes of data.
00020 uefidump          Data: 0000: 00                                               .
00021 uefidump
00022 uefidump        Name: Boot0000.
00023 uefidump          GUID: 8be4df61-93ca-11d2-aa0d-00e098032b8c
00024 uefidump          Attr: 0x7 (NonVolatile,BootServ,RunTime).
00025 uefidump          Active: Yes
00026 uefidump          Info: Primary Master Harddisk
00027 uefidump          Path: \BIOS(2,0,Primary Master Harddisk).
00028 uefidump
00029 uefidump        Name: Boot0001.
00030 uefidump          GUID: 8be4df61-93ca-11d2-aa0d-00e098032b8c
00031 uefidump          Attr: 0x7 (NonVolatile,BootServ,RunTime).
00032 uefidump          Active: Yes
00033 uefidump          Info: EFI Internal Shell
00034 uefidump          Path: \Unknown-MEDIA-DEV-PATH(0x7)\Unknown-MEDIA-DEV-PATH(0x6).
00035 uefidump
00036 uefidump        Name: Boot0003.
00037 uefidump          GUID: 8be4df61-93ca-11d2-aa0d-00e098032b8c
00038 uefidump          Attr: 0x7 (NonVolatile,BootServ,RunTime).
00039 uefidump          Active: Yes
00040 uefidump          Info: ubuntu
00041 uefidump          Path: \HARDDRIVE(1,22,9897,6bb5433e091b0340,a0,3c)\FILE('\EFI\ubuntu\grubx64.efi').
00042 uefidump
00043 uefidump        Name: Boot0004.
00044 uefidump          GUID: 8be4df61-93ca-11d2-aa0d-00e098032b8c
00045 uefidump          Attr: 0x7 (NonVolatile,BootServ,RunTime).
00046 uefidump          Active: Yes
00047 uefidump          Info: EFI DVD/CDROM
00048 uefidump          Path: \ACPI(0xa0341d0,0x0)\PCI(0x2,0x1f)\ATAPI(0x0,0x1,0x0).
...
...
00208 uefidump
00209 uefidump        Name: SetupMode.
00210 uefidump          GUID: 8be4df61-93ca-11d2-aa0d-00e098032b8c
00211 uefidump          Attr: 0x16 (BootServ,RunTime).
00212 uefidump          Size: 1 bytes of data.
00213 uefidump          Data: 0000: 01                                               .
00214 uefidump
00215 uefidump        Name: SignatureSupport.
00216 uefidump          GUID: 8be4df61-93ca-11d2-aa0d-00e098032b8c
00217 uefidump          Attr: 0x16 (BootServ,RunTime).
00218 uefidump          Size: 32 bytes of data.
00219 uefidump          Data: 0000: 90 61 b3 e2 9b 87 3d 4a ad 8d f2 e7 bb a3 27 84  .a....=J......'.
00220 uefidump          Data: 0010: 4f 44 f8 67 43 87 f1 48 a3 28 1e aa b8 73 60 80  OD.gC..H.(...s`.
00221 uefidump
00222 uefidump

Note that any variables that cannot be decoded are presented as a hex dump.

Examples:

sudo fwts uefidump - 

..runs the uefidump on your machine and dumps the output to stdout.

Kernel/Reference/fwts/uefidump (last edited 2011-08-24 10:21:21 by colin-king)