Page 1 of 1

Boot Menu in UEFI system

PostPosted: Mon Dec 11, 2017 5:53 pm
by Brian K
I have multiple bootable partitions on HD1 (a GPT disk) which can be booted with this menu. See screenshot at the bottom of this post. Win10 is on HD0.

Menu.cmd is...

@echo off

CD /d F:\_AUTOrestoreUEFI\Boot_items

cls
echo.
echo Please Select From The Options Below:
echo.

echo 1. Boot Active @
echo 2. Boot EasyUEFI
echo 3. Boot IFL
echo 4. Boot Mint Cinnamon
echo 5. Boot PartWork
echo 6. Boot PESE
echo 7. Boot TBOSDT UEFI
echo 8. Boot TBWinPE
echo 9. Boot TBWinRE
echo A. Boot Windows Boot Manager
echo B. Exit


echo.
choice.exe /c 123456789ab /m "Your choice "
echo.


if errorlevel 11 goto Exit
if errorlevel 10 goto WBM
if errorlevel 9 goto TBWinRE
if errorlevel 8 goto TBWinPE
if errorlevel 7 goto TBOSDT
if errorlevel 6 goto PESE
if errorlevel 5 goto PartWork
if errorlevel 4 goto Mint
if errorlevel 3 goto IFL
if errorlevel 2 goto EasyUEFI
if errorlevel 1 goto Active


:Active
echo This is Active @
echo.
active.cmd

:EasyUEFI
echo This is EasyUEFI
echo.
EasyUEFI.cmd

:IFL
echo This is IFL
echo.
ifl.cmd

:Mint
echo This is Mint Cinnamon
echo.
mint.cmd

:PartWork
echo This is PartWork
echo.
partwork.cmd

:PESE
echo This is PESE
echo.
PESE.cmd

:TBOSDT
echo This is TBOSDT UEFI
echo.
tbosdt.cmd

:TBWinPE
echo This is TBWinPE
echo.
tbwinpe.cmd

:TBWinRE
echo This is TBWinRE
echo.
tbwinre.cmd

:WBM
echo This is Windows Boot Manager
echo.
wbm.cmd

:Exit
echo This is Exit
echo.
goto exitbatch

:exitbatch




tbwinpe.cmd is...

@echo off
CD /d %~dp0
set TBOSDT=C:\Program Files (x86)\TeraByte Drive Image Backup and Restore Suite\TeraByte OSD Tool Suite Pro\win
"%TBOSDT%\tbosdtw.exe" tbwinpe.run
echo.
shutdown -r -t 0



tbwinpe.run is...

set uefi bootnext 0x0008


The remaining scripts are variants of the above two scripts.


.

Re: Boot Menu in UEFI system

PostPosted: Wed Dec 13, 2017 3:26 pm
by Brian K
You can add other items to the menu. Such as IFW backups and IFL auto restores of the OS partition.

Re: Boot Menu in UEFI system

PostPosted: Fri Dec 15, 2017 11:32 pm
by Eric
Why would this be needed? On my computer (if pressing F9) I can choose which partition (and even file) I want to boot.

Re: Boot Menu in UEFI system

PostPosted: Sat Dec 16, 2017 12:23 am
by Brian K
I previously used the UEFI BIOS Boot Menu too. This method does the same thing (boots the partition) but initiated from Windows. I find it's faster.