User Tools

Site Tools


computer:efi

This is an old revision of the document!


EFI

EFI Shell

# list devices (fs: filesystem-devices)
map
map -r

# list boot entries
bcfg boot dump [-b|-v]

...
Option: 00. Variable: Boot0004
  Desc    - (B24/D0/F0) UEFI PXE IPv4: Intel(R) Ethernet Controller XXV710 for 25GbE SFP28(MAC:3cecef6b2ffa)
  DevPath - PciRoot(0x1)/Pci(0x0,0x0)/Pci(0x0,0x0)/MAC(3CECEF6B2FFA,0x1)/IPv4(0.0.0.0)
  Optional- Y
Option: 01. Variable: Boot0008
  Desc    - UEFI: ATEN Virtual CDROM YS0J
  DevPath - PciRoot(0x0)/Pci(0x14,0x0)/USB(0x6,0x0)/USB(0x1,0x0)/CDROM(0x1)
  Optional- Y
Option: 02. Variable: Boot0009
  Desc    - UEFI: ATEN Virtual CDROM YS0J
  DevPath - PciRoot(0x0)/Pci(0x14,0x0)/USB(0x6,0x0)/USB(0x1,0x0)/CDROM(0x2)
  Optional- Y
Option: 03. Variable: Boot0000
  Desc    - iso
  DevPath - PciRoot(0x0)/Pci(0x14,0x0)/USB(0x6,0x0)/USB(0x1,0x0)/CDROM(0x1)/\EFI\BOOT\bootx64.efi
  Optional- N
...

# remove boot entry
bcfg boot rm <# of Option:>
bcfg boot rm 2

bcfg boot dump
...
Option: 00. Variable: Boot0004
  Desc    - (B24/D0/F0) UEFI PXE IPv4: Intel(R) Ethernet Controller XXV710 for 25GbE SFP28(MAC:3cecef6b2ffa)
  DevPath - PciRoot(0x1)/Pci(0x0,0x0)/Pci(0x0,0x0)/MAC(3CECEF6B2FFA,0x1)/IPv4(0.0.0.0)
  Optional- Y
Option: 01. Variable: Boot0008
  Desc    - UEFI: ATEN Virtual CDROM YS0J
  DevPath - PciRoot(0x0)/Pci(0x14,0x0)/USB(0x6,0x0)/USB(0x1,0x0)/CDROM(0x1)
  Optional- Y
Option: 02. Variable: Boot0000
  Desc    - iso
  DevPath - PciRoot(0x0)/Pci(0x14,0x0)/USB(0x6,0x0)/USB(0x1,0x0)/CDROM(0x1)/\EFI\BOOT\bootx64.efi
  Optional- N
...

# add boot entry #2
bcfg boot add 2 FS0:\EFI\GRUB\grubx64.efi "GRUB"
computer/efi.1747748741.txt.gz · Last modified: 2025/05/20 15:45 by ms

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki