| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| bios:notes:umaf [2026/02/17 04:02] – [Windows] In-case that unexpectedly changes Sean Rhone | bios:notes:umaf [2026/04/23 01:52] (current) – Sean Rhone |
|---|
| |
| * https://github.com/DavidS95/Smokeless_UMAF | * https://github.com/DavidS95/Smokeless_UMAF |
| * ''UMAF_BETA.zip'' | * ''UMAF_BETA.zip'' ([[https://github.com/DavidS95/Smokeless_UMAF/commits/e2de2e2853e2cc8dd4cf3fdfb17131b6b6f663df/UMAF_BETA.zip|e2de2e2]]) |
| |
| ====== Windows ====== | ====== Windows ====== |
| * Add to boot menu in firmware settings after copying ((:?: ''bcdedit'' might not be able to add EFI entries to NVRAM)) | * Add to boot menu in firmware settings after copying ((:?: ''bcdedit'' might not be able to add EFI entries to NVRAM)) |
| |
| "%SystemRoot%\System32\notepad.exe" "%UserProfile%\Downloads\Install UMAF to EFI.bat" | 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" |
| |
| <code> | ====== FreeBSD ====== |
| @echo off | |
| |
| TITLE Install UMAF to EFI | * [[bsd:freebsd_15.0_xfce|FreeBSD 15.0 (Xfce)]] |
| CD "%Temp%" | |
| |
| DEL /Q "%UserProfile%\Downloads\UMAF_BETA.zip" | 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' |
| "%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 -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' |
| 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" | su |
| |
| "%SystemRoot%\System32\mountvol.exe" Y:\ /S | cp -Rfv '/home/'$USER/'Downloads/UMAF_BETA/'* '/boot/efi' |
| |
| MOVE /Y "%UserProfile%\Downloads\UMAF_BETA\*.efi" "Y:\" | efibootmgr -v |
| 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 | efibootmgr --delete --bootnum 0001 |
| |
| DEL /Q "%UserProfile%\Downloads\UMAF_BETA.zip" | 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 |
| RMDIR /S /Q "%UserProfile%\Downloads\UMAF_BETA" | |
| |
| :: End</code> | efibootmgr --create --activate --loader '/boot/efi/efi/boot/umaf.efi' --label 'UMAF' --set-timeout '0' |
| |
| "%UserProfile%\Downloads\Install UMAF to EFI.bat" | efibootmgr --create --activate --loader '/boot/efi/efi/freebsd/loader.efi' --label 'FreeBSD' --set-timeout '0' |
| |
| ====== FreeBSD ====== | exit |
| |
| * [[bsd:freebsd_16.0_xfce|FreeBSD 16.0 (Xfce)]] | rm -Rf ~/'Downloads/UMAF_BETA.zip' ~/'Downloads/UMAF_BETA' |
| |
| rm -Rf ~/'Downloads/UMAF_BETA.zip' ~/'Downloads/UMAF_BETA' && wget -O ~/'Downloads/UMAF_BETA.zip' 'https://github.com/DavidS95/Smokeless_UMAF/raw/refs/heads/main/UMAF_BETA.zip' && unzip ~/'Downloads/UMAF_BETA.zip' -d ~/'Downloads/UMAF_BETA' | ====== Ubuntu ====== |
| |
| 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' | * [[linux:distros:ubuntu_lts|Ubuntu (LTS)]] |
| |
| su | 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' |
| |
| cp -Rfv '/home/'$USER/'Downloads/UMAF_BETA/'* '/boot/efi' | mkdir -p ~/'Downloads/UMAF_BETA/EFI/BOOT' && mv ~/'Downloads/UMAF_BETA/EFI/Boot/BOOTX64.efi' ~/'Downloads/UMAF_BETA/EFI/BOOT/umaf.efi' && rm -Rf ~/'Downloads/UMAF_BETA/EFI/Boot' |
| |
| efibootmgr | sudo cp -Rfv ~/'Downloads/UMAF_BETA/'* '/boot/efi' |
| |
| efibootmgr --delete --bootnum 0005 | sudo efibootmgr -v |
| |
| 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 | sudo efibootmgr --delete-bootnum --bootnum '0000' |
| |
| efibootmgr --create --activate --loader '/boot/efi/efi/boot/umaf.efi' --label 'UMAF' --set-timeout '0' | sudo efibootmgr --create --disk '/dev/nvme0n1p1' --gpt --loader '\EFI\BOOT\umaf.efi' --full-dev-path --label 'UMAF' --timeout '0' |
| |
| efibootmgr --create --activate --loader '/boot/efi/efi/freebsd/loader.efi' --label 'FreeBSD' --set-timeout '0' | sudo efibootmgr --create --disk '/dev/nvme0n1p1' --gpt --loader '\EFI\ubuntu\shimx64.efi' --full-dev-path --label 'Ubuntu' --timeout '0' |
| |
| exit | 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' | rm -Rf ~/'Downloads/UMAF_BETA.zip' ~/'Downloads/UMAF_BETA' |
| * [[linux:distros:opensuse_tumbleweed_xfce|openSUSE Tumbleweed (Xfce)]] | * [[linux:distros:opensuse_tumbleweed_xfce|openSUSE Tumbleweed (Xfce)]] |
| |
| wget -O ~/'Downloads/UMAF_BETA.zip' 'https://github.com/DavidS95/Smokeless_UMAF/raw/refs/heads/main/UMAF_BETA.zip' && unzip ~/'Downloads/UMAF_BETA.zip' -d ~/'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' |
| |
| sudo cp -Rfv ~/'Downloads/UMAF_BETA/'* '/boot/efi' | sudo cp -Rfv ~/'Downloads/UMAF_BETA/'* '/boot/efi' |