User Tools

Site Tools


bios:notes:umaf

This is an old revision of the document!


Information

  • Boot to unlocked/advanced BIOS settings menu
  • This installs to internal HDD and adds to UEFI boot menu
  • :!: UMAF should be added before the OS when re-creating boot entries from scratch with efibootmgr (like remove shim) 1)

UMAF

Windows

  • /S specifies system EFI partition for MOUNTVOL and assigns unused drive letter Y for Y:\EFI (source)
  • Add to boot menu in firmware settings after copying 2)
DEL /Q "%UserProfile%\Downloads\UMAF_BETA.zip" & "%SystemRoot%\System32\curl.exe" --output "%UserProfile%\Downloads\UMAF_BETA.zip" --location "https://github.com/DavidS95/Smokeless_UMAF/raw/e2de2e2853e2cc8dd4cf3fdfb17131b6b6f663df/UMAF_BETA.zip" && RMDIR /S /Q "%UserProfile%\Downloads\UMAF_BETA" & MKDIR "%UserProfile%\Downloads\UMAF_BETA" && "%SystemRoot%\System32\tar.exe" xf "%UserProfile%\Downloads\UMAF_BETA.zip" -C "%UserProfile%\Downloads\UMAF_BETA" && MOVE /Y "%UserProfile%\Downloads\UMAF_BETA\EFI\Boot\BOOTX64.efi" "%UserProfile%\Downloads\UMAF_BETA\EFI\Boot\umaf.efi" && "%SystemRoot%\System32\mountvol.exe" Y:\ /S && MOVE /Y "%UserProfile%\Downloads\UMAF_BETA\*.efi" "Y:\" && MOVE /Y "%UserProfile%\Downloads\UMAF_BETA\SREP_Config.cfg" "Y:\" && MOVE /Y "%UserProfile%\Downloads\UMAF_BETA\EFI\Boot\umaf.efi" "Y:\EFI\Boot" && "%SystemRoot%\System32\mountvol.exe" Y:\ /D && DEL /Q "%UserProfile%\Downloads\UMAF_BETA.zip" & RMDIR /S /Q "%UserProfile%\Downloads\UMAF_BETA"

FreeBSD

rm -Rf ~/'Downloads/UMAF_BETA.zip' ~/'Downloads/UMAF_BETA' && wget -O ~/'Downloads/UMAF_BETA.zip' 'https://github.com/DavidS95/Smokeless_UMAF/raw/e2de2e2853e2cc8dd4cf3fdfb17131b6b6f663df/UMAF_BETA.zip' && unzip ~/'Downloads/UMAF_BETA.zip' -d ~/'Downloads/UMAF_BETA'
mkdir -p ~/'Downloads/UMAF_BETA/efi/boot' && mv -f ~/'Downloads/UMAF_BETA/EFI/Boot/BOOTX64.efi' ~/'Downloads/UMAF_BETA/efi/boot/umaf.efi' && rm -Rf ~/'Downloads/UMAF_BETA/EFI'
su
cp -Rfv '/home/'$USER/'Downloads/UMAF_BETA/'* '/boot/efi'
efibootmgr
efibootmgr --delete --bootnum 0005
efibootmgr -B -b '0005' & efibootmgr -B -b '0004' & efibootmgr -B -b '0003' & efibootmgr -B -b '0002' & efibootmgr -B -b '0001' & efibootmgr -B -b '0000' && efibootmgr
efibootmgr --create --activate --loader '/boot/efi/efi/boot/umaf.efi' --label 'UMAF' --set-timeout '0'
efibootmgr --create --activate --loader '/boot/efi/efi/freebsd/loader.efi' --label 'FreeBSD' --set-timeout '0'
exit
rm -Rf ~/'Downloads/UMAF_BETA.zip' ~/'Downloads/UMAF_BETA'

openSUSE

wget -O ~/'Downloads/UMAF_BETA.zip' 'https://github.com/DavidS95/Smokeless_UMAF/raw/e2de2e2853e2cc8dd4cf3fdfb17131b6b6f663df/UMAF_BETA.zip' && unzip ~/'Downloads/UMAF_BETA.zip' -d ~/'Downloads/UMAF_BETA'
sudo cp -Rfv ~/'Downloads/UMAF_BETA/'* '/boot/efi'
sudo efibootmgr --create --disk '/dev/nvme0n1p1' --gpt --loader '\EFI\Boot\BOOTX64.efi' --full-dev-path --label 'UMAF' --timeout '0'
sudo efibootmgr --create --disk '/dev/nvme0n1p1' --gpt --loader '\EFI\opensuse\grubx64.efi' --full-dev-path --label 'openSUSE' --timeout '0'
sudo umount '/boot/efi' && sudo dosfsck -a -t -w -v '/dev/nvme0n1p1' && sudo mount '/boot/efi'
rm -Rf ~/'Downloads/UMAF_BETA.zip' ~/'Downloads/UMAF_BETA'
1)
last-added entry is set to primary boot
2)
:?: bcdedit might not be able to add EFI entries to NVRAM
/usr/local/www/wiki/data/attic/bios/notes/umaf.1772265961.txt.gz · Last modified: by Sean Rhone