New
#41
It is easy to create your own pre-os provided you create an iso. You create a small fat32 partition say 1 GB, assign it a drive letter, mount iso as a drive, then copy iso files to partition.
Then you create a boot entry for the pre-os. You can use following batch file (admin), or use easybcd for example
Code:title Wimboot Menu creator Rem - change Wimname to what ever you want boot entry to be shown as e.g. Macrium Reflect Rem - Set Wimname=Macrium Reflect Set Wimname=AOMEI PRE-OS rem ================================ YY.MM.DD color 17 :start cls echo. echo =============================================================================== echo. YOU HAVE CHOOSEN TO ADD A WINPESE BOOTABLE PARTITION TO YOUR HOST echo =============================================================================== echo. set /p drvlttr= ^> ENTER THE DRIVE LETTER ASSIGNED TO THE WINPESE PARTITION: if [%drvlttr%]==[] echo.&echo Invalid User Input&echo.&echo The Partition Drive Letter Can Not Be Blank&echo.&pause&goto :start if not exist %drvlttr%:\sources\boot.wim echo.&echo Invalid User Input&echo.&echo The %drvlttr%:\sources\boot.wim Was Not Found&echo.&pause&goto :start cls echo. echo Configuring UEFI Boot Option for WinPESE Recovery Tools echo -------------------------------------------------------------------------- for /f "tokens=2 delims={}" %%g in ('bcdedit.exe /create /d "%Wimname" /Device') do (set deviceid={%%g}) echo -------------------------------------------------------------------------- echo DEVICE ID = %device echo -------------------------------------------------------------------------- bcdedit /set %deviceid% ramdisksdidevice partition=%drvlttr%: bcdedit /set %deviceid% ramdisksdipath \boot\boot.sdi for /f "tokens=2 delims={}" %%g in ('bcdedit.exe /create /d "%Wimname" /application osloader') do (set guid={%%g}) echo -------------------------------------------------------------------------- echo GUID = %guid% echo -------------------------------------------------------------------------- bcdedit /set %guid% device ramdisk=[%drvlttr%:]\sources\boot.wim,%deviceid% bcdedit /set %guid% osdevice ramdisk=[%drvlttr%:]\sources\boot.wim,%deviceid% bcdedit /set %guid% systemroot \windows bcdedit /set %guid% path \Windows\system32\boot\winload.efi bcdedit /set %guid% winpe yes bcdedit /set %guid% detecthal yes bcdedit /displayorder %guid% /addlast bcdedit /set {bootmgr} displaybootmenu False bcdedit /set {bootmgr} timeout 10 echo. echo DONE... Reboot your PC timeout /t 5 >nul