~~tag> Edge2 Windows install~~
====== Edge2 Windows install ARM UEFI ======
During 1st time Windows Setup ''Shift+F10'' type ''oobe\bypassnro'' press Enter to reboot and skip network request [[#running-the-oobe-bypassnro-command]]
===== OOWOW Online script =====
Simplest way to install Windows to eMMC by [[software/oowow/how-to/online-scripts]]
===== Build Installation disk =====
https://github.com/hyphop/edge2-win-tools
===== Running the OOBE BypassNRO command =====
* Start the Window 11 setup.
* When you see the Let's connect you to a network screen with the grayed-out Next button, press ''Shift + F10''. ...
* Now run the following command at the command prompt: ''oobe\BypassNRO'' ...
* After you execute this command, your system will restart.
* https://www.google.com/search?q=Shift+F10+type+oobe+bypassnro
* https://www.reddit.com/r/computers/comments/12brgth/does_anyone_know_how_to_get_off_this_screen_i/
/*
===== UEFI bootload on eMMC =====
WIP:...
```sh write-uefi-bootloader-to-emmc
EFI=edge2_UEFI_Release_v0.7.1.img
wget https://github.com/edk2-porting/edk2-rk3588/releases/download/v0.7.1/$EFI
DISK=${DISK:-/dev/mmcblk0}
dd skip=2048 seek=$((0x4000)) count=$((0x4000)) of=$DISK if=$EFI conv=fsync,notrunc
```
===== workli =====
doesn't work well
```sh
mkdir -p ~/edge2-win
cd ~/edge2-win
git clone https://github.com/buddyjojo/workli
cd workli
sudo bash ./workli.sh
```
boot from USB only
''Shift+F10'' type ''oobe\bypassnro'' press Enter to reboot and skip network request
===== WOR-flasher =====
doesn't work well
Make installation disk ''/dev/sdX'', Windows 11 latest id ''BID=22621.1702''
```sh create windows installation disk for edge2
mkdir -p ~/edge2-win
cd ~/edge2-win
git clone https://github.com/Botspot/wor-flasher
[ -d ~/wor-flasher-files/driverpackage/dwcsdhc ] || \
( # add eMMC driver to ..
mkdir -p ~/wor-flasher-files/driverpackage/dwcsdhc
cd ~/wor-flasher-files/driverpackage/dwcsdhc
wget https://github.com/worproject/Rockchip-Windows-Drivers/files/11454708/dwcsdhc.zip
unzip dwcsdhc.zip
cabextract dwcsdhc.cab
mv driver/* .
rm *.zip *.cab
echo 'dwcsdhc\dwcsdhc.inf' >> ../critical
)
DEVICE=/dev/sdX \
BID=22621.1702 \
CAN_INSTALL_ON_SAME_DRIVE=1 \
RPI_MODEL=4 \
WIN_LANG=en-us \
bash ./install-wor.sh
```
{{local:dev:edge2:edge2-win-install-emmc-disks.jpg?w=640}}
*/
====== Links ======
* https://github.com/buddyjojo/workli
* https://worproject.com/guides/how-to-install/from-other-os
* https://worproject.com/guides/how-to-install/on-rockchip
* https://github.com/worproject/Rockchip-Windows-Drivers/releases
* https://github.com/Botspot/wor-flasher
* https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/arm64-device-manufacturing
* https://gist.github.com/TomCan/9644966
* https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/winpe-install-on-a-hard-drive--flat-boot-or-non-ram?view=windows-11
* https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/add-a-hardware-recovery-button-to-start-windows-re?view=windows-11
* https://unix.stackexchange.com/questions/667803/fixing-efi-windows-boot-from-linux
* https://woshub.com/how-to-rebuild-bcd-file-in-windows-10/
* https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/customize-windows-re?view=windows-11
* WIP:
* [[/products/sbc/edge2/troubleshooting/edge2-uboot-uefi]]