Applications UEFI diverses

Mise à jour : Debian 10.9 / Buster

Ce document indique comment obtenir des applications uefi telles que Sommaire

1 - Shell UEFI

Plusieurs sources sont disponibles

https://github.com/tianocore
https://github.com/tianocore/edk2
https://github.com/tianocore/edk2/releases/
$ wget https://github.com/tianocore/edk2/releases/download/edk2-stable202002/ShellBinPkg.zip
$ unzip ShellBinPkg.zip
$ find ./ -iname Shell.efi
./ShellBinPkg/MinUefiShell/Arm/Shell.efi
./ShellBinPkg/MinUefiShell/Ia32/Shell.efi
./ShellBinPkg/MinUefiShell/AArch64/Shell.efi
./ShellBinPkg/MinUefiShell/X64/Shell.efi
./ShellBinPkg/UefiShell/Arm/Shell.efi
./ShellBinPkg/UefiShell/Ia32/Shell.efi
./ShellBinPkg/UefiShell/AArch64/Shell.efi
./ShellBinPkg/UefiShell/X64/Shell.efi
$ find ./ -iname Shell.efi |grep -i Min |grep X64
./ShellBinPkg/UefiShell/X64/Shell.efi
$ ls /opt/suze/ovmf/UefiShell.iso 
/opt/suze/ovmf/UefiShell.iso

2 - Tetris

$ wget https://github.com/tsani/tetrefis/releases/download/v1.0/tetris.efi

3 - Memdisk

$ mkdir memtest86
$ cd memtest86
$ wget https://www.memtest86.com/downloads/memtest86-usb.zip
$ unzip memtest86-usb.zip
$ ls |grep img
memtest86-usb.imgq
$ sudo parted memtest86-usb.img unit b print
...
Number Start End Size File system Name Flags
1 1048576B 262144511B 261095936B fat16 MemTest86 legacy_boot, msftdata
2 263192576B 524271103B 261078528B fat16 EFI System Partition boot, esp
$ sudo mount -o loop,offset=263192576 memtest86-usb.img /mnt
$ sudo losetup --show -P -f memtest86-usb.img
/dev/loop13

$ sudo parted memtest86-usb.img print
....

Number Start End Size File system Name Flags
1 1049kB 262MB 261MB fat16 MemTest86 legacy_boot, msftdata
2 263MB 524MB 261MB fat16 EFI System Partition boot, esp

$ sudo mount /dev/loop13p2 /mnt
$ tree /mnt
mnt
├── EFI
│ └── BOOT
│ ├── Benchmark
│ ├── blacklist.cfg
│ ├── BOOTIA32.efi
│ ├── BOOTX64.efi
│ ├── mt86.png
│ └── unifont.bin
├── help
│ └── MemTest86_User_Guide_UEFI.pdf
└── license.rtf
$ sudo mkdir MEMTEST
$ sudo cp -r /mnt/EFI/BOOT/* MEMTEST
$ sudo umount /mnt
$ sudo losetup -d /dev/loop13

4 - grub uefi

Voir Clé autonome Grub - Amorçage UEFI

5 - gdisk

https://sourceforge.net/projects/gptfdisk/
https://sourceforge.net/projects/gptfdisk/files/gptfdisk
https://sourceforge.net/projects/gptfdisk/files/gptfdisk/1.0.4/gdisk-binaries/
$ wget -O gdisk-efi.zip https://sourceforge.net/projects/gptfdisk/files/gptfdisk/1.0.4/gdisk-binaries/gdisk-efi-1.0.4.zip/download
$ unzip gdisk-efi.zip
$ du -h gdisk-efi/gdisk_x64.efi 
784K gdisk-efi/gdisk_x64.efi

6 - fdisk (en cours)

https://sourceforge.net/projects/uefi-fdisk/
https://sourceforge.net/projects/uefi-fdisk/files/uefifdisk-0.6.tar.gz/
$ wget -O uefifdisk.tar.gz https://sourceforge.net/projects/uefi-fdisk/files/uefifdisk-0.6.tar.gz/downloaduef