Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to flash UEFI BIOS with iPXE?
2019-03-11, 22:56
Post: #8
RE: How to flash UEFI BIOS with iPXE?
I am using various shell binaries that I have collected. I am curious if you get it working, is it is possible to pass an argument to the shell in order to automatically execute your 'flash.nsh' file?

Code:
################################# uefishell
:uefishell
menu UEFI Shells Menu

item 10     UEFI Shell 1.0
item 20     UEFI Shell 2.0
item 21a    UEFI Shell 2.1.a
item 21b    UEFI Shell 2.1.b

item back Back to top menu...
iseq ${menu-default} menu-recovery && isset ${submenu-default} && goto menu-recovery-timed ||
choose selected && goto ${selected} || goto start
:menu-recovery-timed
choose --timeout ${submenu-timeout} --default ${submenu-default} selected && goto ${selected} || goto start


:10
  kernel ${boot-url}/uefi-shell/1.0/Shell_Full.efi
  boot || goto failed
  goto start
  
:20    
  kernel ${boot-url}/uefi-shell/2.0/Shell.efi
  boot || goto failed
  goto start
  
:21a
  kernel ${boot-url}/uefi-shell/2.1.a/Shell.efi
  boot || goto failed
  goto start

:21b
  kernel ${boot-url}/uefi-shell/2.1b/Shell.efi
  boot || goto failed
  goto start
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: How to flash UEFI BIOS with iPXE? - ndog - 2019-03-11 22:56



User(s) browsing this thread: 2 Guest(s)