This topic is the result of much collaboration between myself and the friendly maintainers of the WoR project. I would have not been able to make this imaging tool without their help.
In the past, if you wanted to try running Windows 10 on your Raspberry Pi legally, you would have to use a Windows computer to generate the files and flash the sd card. For many people (including myself), this was never an option.
Everything changed around a month ago, when the WoR developers created a program that runs inside the WinPE environment. This allows Linux or MacOS computers to flash a minimal windows image to the sd card. Once booted, the WinPE tool installs Windows the rest of the way. To do this, you'd have to follow a lengthy, complicated tutorial. While it technically works, it's far from ideal...
This is where WoR-flasher comes in. I made this utility to automate the entire tutorial. It's a bash script that does everything from start to finish.
Code: Select all
pi@raspberrypi:~ $ git clone https://github.com/Botspot/wor-flasher pi@raspberrypi:~ $ ~/wor-flasher/install-wor.sh Choose Windows version: 1) Windows 11 2) Windows 10 3) Custom... Enter 1, 2 or 3: 1 Choose language: en-us Choose Raspberry Pi model to deploy Windows on: 1) Raspberry Pi 4 / 400 2) Raspberry Pi 2 rev 1.2 / 3 / CM3 Enter 1 or 2: 1 Available devices: /dev/sdb - 59.5GB - USB Storage Choose a device to flash the Windows setup files to: /dev/sdb 1) Create an installation drive (minimum 25 GB) capable of installing Windows to itself 2) Create a recovery drive (minimum 7 GB) to install Windows on other >16 GB drives Choose the installation mode (1 or 2): 1 Input configuration: DL_DIR: /home/pi/wor-flasher-files RUN_MODE: cli RPI_MODEL: 4 DEVICE: /dev/sdb CAN_INSTALL_ON_SAME_DRIVE: 1 UUID: 6f7de912-4143-431b-b605-924c22ab9b1f WIN_LANG: en-us Formatting /dev/sdb Generating partitions Generating filesystems # script output continues... It generates a Windows image legally, downloads all necessary drivers, the BIOS, the bootloader, and the modified kernel. Once done it ejects the drive.
Is this legal? 100%. The bash script generates the Windows image straight from Microsoft's update servers, and the resulting operating system is not licensed. My WoR-flasher tool does not distribute or download anything illegal or copyrighted.