====== 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 [[linux:distros:fedora_workstation_gnome#remove_shim|remove shim]]) ((last-added entry is set to primary boot)) ====== UMAF ====== * https://github.com/DavidS95/Smokeless_UMAF * ''UMAF_BETA.zip'' ([[https://github.com/DavidS95/Smokeless_UMAF/commits/e2de2e2853e2cc8dd4cf3fdfb17131b6b6f663df/UMAF_BETA.zip|e2de2e2]]) ====== Windows ====== * [[windows:10|Windows 10 (21H2)]] * ''/S'' specifies system EFI partition for ''MOUNTVOL'' and assigns unused drive letter ''Y'' for ''Y:\EFI'' ([[https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/mountvol|source]]) * Add to boot menu in firmware settings after copying ((:?: ''bcdedit'' might not be able to add EFI entries to NVRAM)) 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 ====== * [[bsd:freebsd_16.0_xfce|FreeBSD 16.0 (Xfce)]] 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 ====== * [[linux:distros:opensuse_tumbleweed_xfce|openSUSE Tumbleweed (Xfce)]] 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'