Giter Club home page Giter Club logo

wor-flasher's Introduction

app icon WoR-flasher

Use a Linux machine to install Windows 10 or Windows 11 on a Raspberry Pi SD card.

In 2020, this was flat-out impossible.
In 2021, this required following a complicated tutorial.
Now, using the new WoR-flasher, it's a piece of cake.

Useful information

  • This tool is 100% legal. All proprietary Windows components are downloaded straight from Microsoft's update servers using uupdump. Consider reading this debate that took place on the Raspberry Pi Forums. At the conclusion of the thread, Raspberry Pi employees confirm that WoR is completely legal. The OS is unlicenced just like a regular Windows ISO, which can be activated via an activation key or by logging in with a pre-licensed Microsoft account.
  • This tool should run correctly on any Debian-based Linux, ARM or x86. However, this tool has only been tested to run correctly on Raspberry Pi OS. Botspot (the developer of this tool) cannot be held responsible for data loss!
  • Need help using the WoR-flasher tool? You can open an issue or ask for help in the Botspot Software discord server.
  • Need help using Windows on Raspberry (The operating system)? Contact the WoR developers through email or join their Discord server.
  • WoR does not currently support WiFi. The necessary drivers simply do not exist. (yet) See this page for current driver status.
  • You won't be able to use WoR-Flasher to debloat the OS. Performance is about the same, debloated or not, but there will be extra apps you'll have to manually remove if you wish to remove the extra preinstalled apps.
  • Raspberry Pi 4 has its RAM limited to 3GB. There is a workaround, but it's not the default. Click here for details
  • Raspberry Pi 5 support is now here, and it runs fast but there are no drivers. SD card boot seems more reliable, and for internet you need a USB to Ethernet adapter.

WoR-flasher walkthrough

Install WoR-flasher

The fastest way to get WoR-flasher running on a RPi is by using the Pi-Apps app store for Raspberry Pi:
badge
Installing WoR-flasher from Pi-Apps has several advantages: it creates a convenient button in the Start menu, uninstalling takes one click, and updates are handled seamlessly.

To manually download WoR-flasher

git clone https://github.com/Botspot/wor-flasher

This will download the scripts to a new directory named wor-flasher.
Dependencies: No need to install packages manually. Running the script will automatically install these: yad aria2 cabextract wimtools chntpw genisoimage exfat-fuse exfat-utils wget

To run WoR-flasher using the graphical interface

~/wor-flasher/install-wor-gui.sh
  • Choose a Windows version and choose which Raspberry Pi model will be running it.
    page1
  • Choose a language for Windows.
    page2
  • Plug in a writable storage device to flash Windows to.
    page3
    • If the storage device is larger than 25GB, it is capable of installing Windows to itself.
    • If the storage device is smaller than 25GB but larger than 7GB, it can only install Windows on other drives greater than 16GB. (like a recovery/reset disk)
    • If the storage device is smaller than 7GB, it is too small to be usable.
  • Double-check that everything looks correct before clicking the Flash button.
    page4
  • A terminal will launch and run the install-wor.sh script:
    terminal3
    Note: this can take a lot of time to download individual files from Microsoft, compress them, and generate a Windows image. Fortunately, subsequent runs can skip the lengthy image-generating step if the ISO file exists.
  • If all goes well, the terminal will close and you will be told what to do next.
    next steps

To run WoR-flasher using the terminal interface

~/wor-flasher/install-wor.sh
Example terminal walkthrough (click to expand)
$ ~/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.
This script is actually what does the flashing: The gui script is just a front-end that launches dialog windows and finally runs install-wor.sh in a terminal.

Environment variable options

The install-wor.sh script is designed to be used within other, larger bash scripts. For automation and customization, install-wor.sh will detect and obey certain environment variables:

  • DL_DIR: Set this variable to change the default download location. By default, it's ~/wor-flasher-files.
  • BID: Set this variable to choose an exact Windows version ID. Example value: "22631.2861". When this variable is set, install-wor.sh will not ask the user which Windows version to use.
  • WIN_LANG: Set this variable to choose a language for the Windows image. Example value: "en-us". When this variable is set, install-wor.sh will not ask the user which language to use.
  • RPI_MODEL: Set this variable to choose Raspberry Pi model. Allowed values: "3", "4". When this variable is set, install-wor.sh will not ask the user which Raspberry Pi model to use.
  • DEVICE: Set this variable to the device you want to flash. Example value: "/dev/sda". When this variable is set, install-wor.sh will not ask the user which device to use.
  • CAN_INSTALL_ON_SAME_DRIVE: Set this variable to "1" if the device is larger than 25GB and you wish to install Windows on itself. Otherwise, set it to "0".
  • CONFIG_TXT: Set this variable to customize the /boot/config.txt of the resulting drive. This is commonly used for overclocking or to change HDMI settings. This is the default value.
  • RUN_MODE: Set this to "gui" if you want install-wor.sh to display graphical error messages.
  • DRY_RUN: Set this variable to "1" to proceed through the setup as normal, but to exit after downloading everything. This prevents the device from being flashed.

Example usage:

DL_DIR=/media/pi/my-big-flash-drive DEVICE=/dev/sdg DRY_RUN=1 UUID=db8ec987-d136-4421-afb8-2ef109396b00 RPI_MODEL=4 WIN_LANG=en-us ~/wor-flasher/install-wor-gui.sh

Functions

The install-wor.sh script is designed to be used within other, larger bash scripts. For improved integration, install-wor.sh is equipped with a variety of useful functions that frontend scripts like install-wor-gui.sh can use.
To source the script so the functions are available:

source ~/wor-flasher/install-wor.sh source

Question: why does that command say "source" twice? Answer: The first "source" is a command, and the second "source" is a command-line flag that is passed to the script to let it know you are sourcing it. Once the script is sourced, these new commands (also known as functions) become available:

  • error - a simple function that Botspot uses in bash scripts to warn the user that something failed and to exit the script with a failure code. (1)
    Input: string containing the error message
    Usage:
command-that-downloads-windows || error "Windows failed to download! Check your internet connection and try again."
  • echo_white - a simple frontend to the echo command that displays your desired message as white text instead of the usual light-grey.
    Input: string containing message
    Usage:
echo_white "Now, downloading windows... please wait"
  • package_available - Determines if a package is possible to install from the apt repositories Input: one name of a package Usage:
if package_available yad ;then
  echo "yad can be installed"
fi
  • install_packages - Checks for and installs a quoted list of packages.
    Input: string containing a space-separated list of packages
    Usage:
install_packages 'yad aria2 cabextract wimtools chntpw genisoimage exfat-fuse exfat-utils wget'
  • download_from_gdrive - Downloads a publically shared large-file from Google Drive. Here's the tutorial I adapted it from.
    Inputs: File ID, output filename
    Usage:
download_from_gdrive 1WHyHFYjM4WPAAGH2PICGEhT4R5TlxlJC WoR-PE_Package.zip
  • get_partition - A clean, reliable way to determine the block-device of a partition.
    Input: block device of drive, partition number
    Usage:
get_partition /dev/sda 2
#Assuming partition 2 exists, the above command returns "/dev/sda2"

get_partition /dev/mmcblk0 2
#Assuming partition 2 exists, the above command returns "/dev/mmcblk0p2"

get_partition /dev/mmcblk0 all
#Returns every partition within the drive, each one on a line
  • get_name - Determine a human-readable name for the given storage drive.
    Input: block device of drive
    Usage:
get_name /dev/sda
  • get_size_raw - Determines the size of a drive in bytes.
    Input: block device of drive
    Usage:
get_size_raw /dev/sda
  • list_devs - list available storage drives in a human-readable, colored format.
    Usage:
list_devs
  • get_bid - Get the latest Windows build ID for either Windows 10 or Windows 11
    Input: "10" or "11" Usage:  
get_bid 11
  • get_space_free - Get the available disk space of a folder
    Input: path to folder to check   Usage:  
get_space_free ~/wor-flasher-files
  • get_os_name - Get human-readable name of operating system.
    Input: valid Windows build ID
    Usage:
get_os_name 22631.2861

Example function and variable usage

This code will non-interactively flash Windows 11 to /dev/sda and add overclock settings. You can copy and paste the code into a terminal, or save this as a shell script.

#make all variables we set to be visible to the script (only necessary if you run this in a terminal)
set -a

#First, source the script so its functions are available
source ~/wor-flasher/install-wor.sh source

#Determine the latest Windows 11 update ID using a function
BID="$(get_bid 11)"

#set destination RPi model
RPI_MODEL=4

#choose language
WIN_LANG=en-us

#set the device to flash
DEVICE=/dev/sda

#set a custom config.txt
CONFIG_TXT="over_voltage=6
arm_freq=2147
gpu_freq=750

# don't change anything below this point #
arm_64bit=1
enable_uart=1
uart_2ndstage=1
enable_gic=1
armstub=RPI_EFI.fd
disable_commandline_tags=1
disable_overscan=1
device_tree_address=0x1f0000
device_tree_end=0x200000
dtoverlay=miniuart-bt"

#indicate that drive is large enough to install Windows to itself
CAN_INSTALL_ON_SAME_DRIVE=1

~/wor-flasher/install-wor.sh

wor-flasher's People

Contributors

botspot avatar itai-nelken avatar marcinoo97 avatar noozabooz avatar ryanfortner avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wor-flasher's Issues

Failed to generate ISO

F26D35F3-C8A0-4AA1-9654-87DF655F579B

I’m trying to install but I get this error.

I’ve used a clean install of Raspberry OS 32 bit on a 16gb card and selected an external SSD of 256Gb to install it on.

(Thank you so much for making this!!! I’ve wanted to try WOR for so long, but couldn’t because the previous way requires a Windows installation)

"pnp driver watchdog" error on boot

I installed Windows 11 on my 230GB M2 SSD but whenever i boot it takes around 10 Minutes and i get a windows error message saying "driver pnp watchdog". For installation i used the command line tool but didn't change any config. Im using a Pi 4 with 8 GB Ram

IMG_20210903_225607

Btw: I've used this SSD a lot and it worked perfectly fine with the Pi.

Wifi not compatible?

i have a Raspberry Pi 4 Model B with w10 arm installed, and i needed to run a software that need to access to SSID and PSK to get devices in the network, i just tried with 2 different TP-LINK dongles:

  • TL-WN821N
  • TL-WN725N

But none of those WiFi Dongles works, when i go to device management it says that no driver was found for 802.11n NIC.

Is there a way to downloads those drivers or make the dongle works (and get the list of wifi's)?

System License Violation

Setup:

  • Which version of Windows you chose. Windows 11
  • Raspberry Pi model - 4
  • Name of SD card you tried to flash (some are too slow or too small) - External USB drive
  • What day you first downloaded wor-flasher - 10/28/2021
  • What linux operating system you are using to run wor-flasher on. (Raspberry Pi OS, Twister OS, Debian, etc)
    Raspberry Pi OS

Procedure:

Tell us what you did, step by step. Be specific enough so that one of us would be able to replicate your setup.
Followed the instructions at https://www.tomshardware.com/how-to/install-windows-11-raspberry-pi
When the system rebooted the last time, it blue-screened with the error: "System License Violation"

Incomplete install "Insufficient system resources exist to complete the requested service" on Rpi3B+ for both Win 10 and 11.

  1. Excellent effort and work here.

I think this is windows itself, but is there soft threshold on like core count or memory before the windows installer bombs out? This only has 1GB of RAM, so not shocking, but hey, the option is there....

This seems to fail in the same spot on both versions 10 and 11 when selecting the Rpi3B+ and leaving everything default.

I'm writing to a 29GB SD card. Runs for about an hour before dying citing resources, same failure 5 times in a row.

2021-09-04 04:07:53.7657 [info] WoR-PE (version 1.0.0.0)
2021-09-04 04:07:53.9911 [info] Copyright © 2018-2021 Mario Bălănică. All Rights Reserved.
2021-09-04 04:07:54.0278 [info] OS: Windows (TM) 10 Preinstallation Environment ver 2009 (22454.1000.arm64fre.rs_prerelease.210903-1516)
2021-09-04 04:07:54.1288 [info] Loading driver list...
2021-09-04 04:07:54.2450 [info] Loading driver (1/3): mcci_dwchsotg\mcci_dwchsotg_hcd.inf
2021-09-04 04:07:54.3303 [debug] Launch pnputil.exe with the following arguments: /add-driver "X:\drivers\mcci_dwchsotg\mcci_dwchsotg_hcd.inf" /install
2021-09-04 04:07:56.1879 [debug] pnputil.exe process output:
2021-09-04 04:07:56.1879 [debug] Standard output:
Microsoft PnP Utility

Adding driver package:  mcci_dwchsotg_hcd.inf
Driver package added successfully.
Published Name:         oem0.inf
Driver package installed on device: ACPI\BCM2848\0

Total driver packages:  1
Added driver packages:  1

2021-09-04 04:07:56.1879 [debug] Exit code: 0
2021-09-04 04:07:56.2483 [info] Loading driver (2/3): mcci_dwchsotg\mcci_dwchsotg_hub.inf
2021-09-04 04:07:56.2483 [debug] Launch pnputil.exe with the following arguments: /add-driver "X:\drivers\mcci_dwchsotg\mcci_dwchsotg_hub.inf" /install
2021-09-04 04:07:57.3778 [debug] pnputil.exe process output:
2021-09-04 04:07:57.3778 [debug] Standard output:
Microsoft PnP Utility

Adding driver package:  mcci_dwchsotg_hub.inf
Driver package added successfully.
Published Name:         oem1.inf
Driver package installed on device: USB\VID_040E&PID_0100&McciDwcHsOtgHub\0

Total driver packages:  1
Added driver packages:  1

2021-09-04 04:07:57.3778 [debug] Exit code: 0
2021-09-04 04:07:57.4088 [info] Loading driver (3/3): rpisdhc\rpisdhc.inf
2021-09-04 04:07:57.4234 [debug] Launch pnputil.exe with the following arguments: /add-driver "X:\drivers\rpisdhc\rpisdhc.inf" /install
2021-09-04 04:07:58.5118 [debug] pnputil.exe process output:
2021-09-04 04:07:58.5118 [debug] Standard output:
Microsoft PnP Utility

Adding driver package:  rpisdhc.inf
Driver package added successfully.
Published Name:         oem2.inf
Driver package installed on device: ACPI\BCM2855\0

Total driver packages:  1
Added driver packages:  1

2021-09-04 04:07:58.5118 [debug] Exit code: 0
2021-09-04 04:07:58.5491 [info] Drivers loaded successfully!
2021-09-04 04:08:02.9663 [info] Loading disks...
2021-09-04 04:08:05.1935 [info] Disk 0 - Generic Mass-Storage USB Device - Removable Media - 29 GB
2021-09-04 04:08:05.1935 [info] 1 disk(s) found
2021-09-04 04:08:05.2152 [info] Finding PE disk...
2021-09-04 04:08:05.2541 [info] Mounting partitions on disk 0...
2021-09-04 04:08:05.2815 [debug] Creating diskpart script with the following commands: select disk 0 , select partition 1 , assign letter=A , exit
2021-09-04 04:08:05.3381 [debug] Launch diskpart.exe with the following arguments: /s "X:\diskpart.script"
2021-09-04 04:08:48.2117 [debug] diskpart.exe process output:
2021-09-04 04:08:48.2117 [debug] Standard output:

Microsoft DiskPart version 10.0.22454.1000

Copyright (C) Microsoft Corporation.
On computer: MINWINPC

Disk 0 is now the selected disk.

Partition 1 is now the selected partition.

DiskPart successfully assigned the drive letter or mount point.

Leaving DiskPart...

2021-09-04 04:08:48.2117 [debug] Exit code: 0
2021-09-04 04:08:48.2635 [debug] Creating diskpart script with the following commands: select disk 0 , select partition 2 , assign letter=B , exit
2021-09-04 04:08:48.2791 [debug] Launch diskpart.exe with the following arguments: /s "X:\diskpart.script"
2021-09-04 04:08:50.1308 [debug] diskpart.exe process output:
2021-09-04 04:08:50.1308 [debug] Standard output:

Microsoft DiskPart version 10.0.22454.1000

Copyright (C) Microsoft Corporation.
On computer: MINWINPC

Disk 0 is now the selected disk.

Partition 2 is now the selected partition.

DiskPart successfully assigned the drive letter or mount point.

Leaving DiskPart...

2021-09-04 04:08:50.1308 [debug] Exit code: 0
2021-09-04 04:08:50.1636 [info] Partitions successfully mounted!
2021-09-04 04:08:50.1712 [info]   Boot: A
2021-09-04 04:08:50.1879 [info]   Win: B
2021-09-04 04:08:50.2863 [info] Found PE disk at index 0
2021-09-04 04:08:50.3000 [info] Selected disk: Disk 0 - Generic Mass-Storage USB Device - Removable Media - 29 GB - Installer
2021-09-04 04:08:50.3537 [info] Finding image file...
2021-09-04 04:08:50.3976 [info] Found image file at: B:\install.wim
2021-09-04 04:08:50.3976 [info] Getting image editions...
2021-09-04 04:08:50.9173 [info] Edition 1: Windows 10 Professional ARM64 build 22454.1000
2021-09-04 04:08:50.9443 [info] Selected edition: Windows 10 Professional build 22454.1000
2021-09-04 04:09:10.0510 [info] -- Installation details --
2021-09-04 04:09:10.0649 [info] PeInstallDisk / DestinationDisk
2021-09-04 04:09:10.0649 [info]   Index: 0
2021-09-04 04:09:10.0777 [info]   Name: Generic Mass-Storage USB Device
2021-09-04 04:09:10.0777 [info]   Type: Removable Media
2021-09-04 04:09:10.0777 [info]   Size: 29
2021-09-04 04:09:10.0971 [info] Image
2021-09-04 04:09:10.0971 [info]   Path: B:\install.wim
2021-09-04 04:09:10.1091 [info]   Index: 1
2021-09-04 04:09:10.1091 [info]   Name: Windows 10 Professional
2021-09-04 04:09:10.1091 [info]   Arch: ARM64
2021-09-04 04:09:10.1289 [info]   Build: 22454.1000
2021-09-04 04:09:10.1289 [info] -- End of installation details --
2021-09-04 04:09:10.1412 [info] The installation process has started!
2021-09-04 04:09:10.1786 [info] Creating temporary partition...
2021-09-04 04:09:10.1908 [debug] Creating diskpart script with the following commands: select disk 0 , create partition primary , exit
2021-09-04 04:09:10.2191 [debug] Launch diskpart.exe with the following arguments: /s "X:\diskpart.script"
2021-09-04 04:09:12.0924 [debug] diskpart.exe process output:
2021-09-04 04:09:12.0924 [debug] Standard output:

Microsoft DiskPart version 10.0.22454.1000

Copyright (C) Microsoft Corporation.
On computer: MINWINPC

Disk 0 is now the selected disk.

DiskPart succeeded in creating the specified partition.

Leaving DiskPart...

2021-09-04 04:09:12.0934 [debug] Exit code: 0
2021-09-04 04:09:12.1572 [debug] Creating diskpart script with the following commands: select disk 0 , select partition 3 , format fs=ntfs quick , exit
2021-09-04 04:09:12.1572 [debug] Launch diskpart.exe with the following arguments: /s "X:\diskpart.script"
2021-09-04 04:09:17.3099 [debug] diskpart.exe process output:
2021-09-04 04:09:17.3099 [debug] Standard output:

Microsoft DiskPart version 10.0.22454.1000

Copyright (C) Microsoft Corporation.
On computer: MINWINPC

Disk 0 is now the selected disk.

Partition 3 is now the selected partition.


    0 percent completed
    0 percent completed
    0 percent completed
    0 percent completed
    0 percent completed
    0 percent completed
    0 percent completed
    0 percent completed
    0 percent completed
    0 percent completed
    0 percent completed
  100 percent completed
DiskPart successfully formatted the volume.

Leaving DiskPart...

2021-09-04 04:09:17.3099 [debug] Exit code: 0
2021-09-04 04:09:17.3451 [debug] Creating diskpart script with the following commands: select disk 0 , select partition 3 , assign letter=C , exit
2021-09-04 04:09:17.3451 [debug] Launch diskpart.exe with the following arguments: /s "X:\diskpart.script"
2021-09-04 04:09:18.9715 [debug] diskpart.exe process output:
2021-09-04 04:09:18.9715 [debug] Standard output:

Microsoft DiskPart version 10.0.22454.1000

Copyright (C) Microsoft Corporation.
On computer: MINWINPC

Disk 0 is now the selected disk.

Partition 3 is now the selected partition.

DiskPart successfully assigned the drive letter or mount point.

Leaving DiskPart...

2021-09-04 04:09:18.9715 [debug] Exit code: 0
2021-09-04 04:09:19.0114 [info] Temporary partition created successfully! (letter: C)
2021-09-04 04:09:19.0183 [info] Copying image file to the temporary partition...
2021-09-04 04:18:03.9890 [info] The image file has been copied to the temporary partition!
2021-09-04 04:18:03.9890 [info] Copying boot files to the temporary partition...
2021-09-04 04:18:04.8212 [info] The boot files have been copied to the temporary partition!
2021-09-04 04:18:04.8295 [info] Deleting the initial PE partitions...
2021-09-04 04:18:04.8419 [debug] Creating diskpart script with the following commands: select disk 0 , select partition 2 , delete partition override , exit
2021-09-04 04:18:04.8560 [debug] Launch diskpart.exe with the following arguments: /s "X:\diskpart.script"
2021-09-04 04:18:07.4865 [debug] diskpart.exe process output:
2021-09-04 04:18:07.4865 [debug] Standard output:

Microsoft DiskPart version 10.0.22454.1000

Copyright (C) Microsoft Corporation.
On computer: MINWINPC

Disk 0 is now the selected disk.

Partition 2 is now the selected partition.

DiskPart successfully deleted the selected partition.

Leaving DiskPart...

2021-09-04 04:18:07.4865 [debug] Exit code: 0
2021-09-04 04:18:07.5204 [debug] Creating diskpart script with the following commands: select disk 0 , select partition 1 , delete partition override , exit
2021-09-04 04:18:07.5204 [debug] Launch diskpart.exe with the following arguments: /s "X:\diskpart.script"
2021-09-04 04:18:09.1641 [debug] diskpart.exe process output:
2021-09-04 04:18:09.1641 [debug] Standard output:

Microsoft DiskPart version 10.0.22454.1000

Copyright (C) Microsoft Corporation.
On computer: MINWINPC

Disk 0 is now the selected disk.

Partition 1 is now the selected partition.

DiskPart successfully deleted the selected partition.

Leaving DiskPart...

2021-09-04 04:18:09.1641 [debug] Exit code: 0
2021-09-04 04:18:09.2125 [info] The initial PE partiitions have been deleted!
2021-09-04 04:18:09.2379 [info] Creating the partitions...
2021-09-04 04:18:09.2473 [debug] Creating diskpart script with the following commands: select disk 0 , create partition primary size=128 , exit
2021-09-04 04:18:09.2620 [debug] Launch diskpart.exe with the following arguments: /s "X:\diskpart.script"
2021-09-04 04:18:10.9632 [debug] diskpart.exe process output:
2021-09-04 04:18:10.9632 [debug] Standard output:

Microsoft DiskPart version 10.0.22454.1000

Copyright (C) Microsoft Corporation.
On computer: MINWINPC

Disk 0 is now the selected disk.

DiskPart succeeded in creating the specified partition.

Leaving DiskPart...

2021-09-04 04:18:10.9632 [debug] Exit code: 0
2021-09-04 04:18:11.0199 [debug] Creating diskpart script with the following commands: select disk 0 , select partition 1 , format fs=fat32 quick label=Boot , exit
2021-09-04 04:18:11.0199 [debug] Launch diskpart.exe with the following arguments: /s "X:\diskpart.script"
2021-09-04 04:18:15.6753 [debug] diskpart.exe process output:
2021-09-04 04:18:15.6753 [debug] Standard output:

Microsoft DiskPart version 10.0.22454.1000

Copyright (C) Microsoft Corporation.
On computer: MINWINPC

Disk 0 is now the selected disk.

Partition 1 is now the selected partition.


    0 percent completed
    0 percent completed
    0 percent completed
  100 percent completed
DiskPart successfully formatted the volume.

Leaving DiskPart...

2021-09-04 04:18:15.6753 [debug] Exit code: 0
2021-09-04 04:18:15.7240 [debug] Creating diskpart script with the following commands: select disk 0 , select partition 1 , assign letter=A , exit
2021-09-04 04:18:15.7369 [debug] Launch diskpart.exe with the following arguments: /s "X:\diskpart.script"
2021-09-04 04:18:17.2740 [debug] diskpart.exe process output:
2021-09-04 04:18:17.2740 [debug] Standard output:

Microsoft DiskPart version 10.0.22454.1000

Copyright (C) Microsoft Corporation.
On computer: MINWINPC

Disk 0 is now the selected disk.

Partition 1 is now the selected partition.

DiskPart successfully assigned the drive letter or mount point.

Leaving DiskPart...

2021-09-04 04:18:17.2740 [debug] Exit code: 0
2021-09-04 04:18:17.3235 [info] Boot partition created! (letter: A)
2021-09-04 04:18:17.3235 [debug] Creating diskpart script with the following commands: select disk 0 , create partition msr size=16 , exit
2021-09-04 04:18:17.3439 [debug] Launch diskpart.exe with the following arguments: /s "X:\diskpart.script"
2021-09-04 04:18:18.8922 [debug] diskpart.exe process output:
2021-09-04 04:18:18.8922 [debug] Standard output:

Microsoft DiskPart version 10.0.22454.1000

Copyright (C) Microsoft Corporation.
On computer: MINWINPC

Disk 0 is now the selected disk.

DiskPart succeeded in creating the specified partition.

Leaving DiskPart...

2021-09-04 04:18:18.8922 [debug] Exit code: 0
2021-09-04 04:18:18.9466 [info] MSR partition created!
2021-09-04 04:18:18.9562 [debug] Creating diskpart script with the following commands: select disk 0 , create partition primary , exit
2021-09-04 04:18:18.9562 [debug] Launch diskpart.exe with the following arguments: /s "X:\diskpart.script"
2021-09-04 04:18:20.7033 [debug] diskpart.exe process output:
2021-09-04 04:18:20.7033 [debug] Standard output:

Microsoft DiskPart version 10.0.22454.1000

Copyright (C) Microsoft Corporation.
On computer: MINWINPC

Disk 0 is now the selected disk.

DiskPart succeeded in creating the specified partition.

Leaving DiskPart...

2021-09-04 04:18:20.7033 [debug] Exit code: 0
2021-09-04 04:18:20.7454 [debug] Creating diskpart script with the following commands: select disk 0 , select partition 4 , format fs=ntfs quick label=Windows , exit
2021-09-04 04:18:20.7591 [debug] Launch diskpart.exe with the following arguments: /s "X:\diskpart.script"
2021-09-04 04:18:28.2374 [debug] diskpart.exe process output:
2021-09-04 04:18:28.2374 [debug] Standard output:

Microsoft DiskPart version 10.0.22454.1000

Copyright (C) Microsoft Corporation.
On computer: MINWINPC

Disk 0 is now the selected disk.

Partition 4 is now the selected partition.


    0 percent completed
    0 percent completed
    0 percent completed
    0 percent completed
    0 percent completed
    0 percent completed
    0 percent completed
    0 percent completed
    0 percent completed
    0 percent completed
    0 percent completed
    0 percent completed
  100 percent completed
DiskPart successfully formatted the volume.

Leaving DiskPart...

2021-09-04 04:18:28.2374 [debug] Exit code: 0
2021-09-04 04:18:28.2834 [debug] Creating diskpart script with the following commands: select disk 0 , select partition 4 , assign letter=B , exit
2021-09-04 04:18:28.2957 [debug] Launch diskpart.exe with the following arguments: /s "X:\diskpart.script"
2021-09-04 04:18:29.9096 [debug] diskpart.exe process output:
2021-09-04 04:18:29.9096 [debug] Standard output:

Microsoft DiskPart version 10.0.22454.1000

Copyright (C) Microsoft Corporation.
On computer: MINWINPC

Disk 0 is now the selected disk.

Partition 4 is now the selected partition.

DiskPart successfully assigned the drive letter or mount point.

Leaving DiskPart...

2021-09-04 04:18:29.9096 [debug] Exit code: 0
2021-09-04 04:18:29.9608 [info] Windows partition created! (letter: B)
2021-09-04 04:18:29.9889 [info] Applying the WIM image to: B
2021-09-04 04:43:10.6482 [error] System.ComponentModel.Win32Exception (1450): Insufficient system resources exist to complete the requested service.
   at Microsoft.Wim.WimgApi.ApplyImage(WimHandle imageHandle, String path, WimApplyImageOptions options) in Microsoft.Wim.dll:token 0x6000020+0x3a
   at WoR_PE.Wrappers.WIMGAPIWrapper.<>c__DisplayClass6_0.<ApplyImage>b__0() in WoR-PE.dll:token 0x60001c1+0x52
   at System.Threading.Tasks.Task.InnerInvoke() in System.Private.CoreLib.dll:token 0x6002d62+0xf
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) in System.Private.CoreLib.dll:token 0x60029bb+0x4c
--- End of stack trace from previous location ---
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) in System.Private.CoreLib.dll:token 0x6002d61+0x12e
--- End of stack trace from previous location ---
   at WoR_PE.Wrappers.WIMGAPIWrapper.ApplyImage(String imageFile, String applyPath, UInt32 imageIndex, ProgressCallback callback) in WoR-PE.dll:token 0x6000084+0x9a
   at WoR_PE.Setup.SetupProcess.ApplyImageTask() in WoR-PE.dll:token 0x60000e3+0xe8
   at WoR_PE.Setup.SetupProcess.DeploymentTask() in WoR-PE.dll:token 0x60000de+0x29b
   at WoR_PE.Setup.SetupProcess.Run(IWin32Window parent) in WoR-PE.dll:token 0x60000dc+0xa7
2021-09-04 04:43:11.1954 [warn] The installation could not be finished!
2021-09-04 04:50:17.8048 [info] Elapsed time: 00:41:07

Couldn't find installation disk

I am using WorPi flasher using the manual download and run procedure. After doing the equivalent bios setting and rebooting, the Windows install dies after loading the drivers. I get a pop-up that states "Couldn't find the installation disk!". I can not check the logs. This occurs whether it is Windows 10 pro or Windows 11 pro.

Failed to mount ISO file

RPi 400, new install on 32 gb dd card, with apt updates, with external SSD sandisk.

went thru the whole procedure smoothly until ‘ mounting the image’
Trying again after loading the ‘udf’ kernel module.
modprobe: error ..could not open moddep file.
udf not found in directory.
mount: ..unknown file system type udf.

headless reboot after install of windows 11

How do I go about rebooting the Raspberry from a headless setup and also using the VNC remote desktop?

Do I use the terminal?

I removed the raspberry OS SD card and and left the SD card with the Windows install on it through a USB reader.

Any suggestions?

Thanks

Translation in french

(I don't really know where I can post that)
Hi, I'm a french guy and I saw what you've made to install windows on raspberry pi, it's pretty cool, and I had modify your install-wor-gui.sh for it be easily to understand for french people, tell me if you want the .sh modified file, it will be an honor for me to give you my translation
Rayman0710

insufficient storage space to download image

/usr/bin/genisoimage: no space left on device. cannot fwrite 32768'1
failed to create ISO image

60.65% done, estimate finish Fri Sep 3 16:27:15 2021
/usr/bin/genisoimage: No space left on device. cannot fwrite 32768*1
Failed to create ISO image

uup_download_linux.sh failed, most likely due to unreliable Internet.
Trying again in 1 minute. (Attempt 1 of 4)
Retrieving aria2 script...

09/03 16:24:30 [NOTICE] Downloading 1 item(s)

A file resource needed to complete the operation was missing from the WIM.

I ran the script on my Raspberry Pi 4 8GB model. It seems to go well until it stops with this message:

"Exporting Windows 10 Professional to install.wim...
[ERROR] "/Windows/System32/CatRoot/{F750E6C3-38EE-11D1-85E5-00C04FC295EE}/Microsoft-Windows-Enterprise-Desktop-Shared-Removable-Package~31bf3856ad364e35~arm64~~10.0.22458.1000.cat": blob not found
        SHA-1 message digest of missing blob:
        2463db131bcacb290589f826f687d4e29b7bc02a
ERROR: If this is a delta WIM, use the --ref argument to specify the WIM(s) on which it is based.
ERROR: Exiting with error code 55:
       A file resource needed to complete the operation was missing from the WIM.
Failed to export Windows 10 Professional to install.wim

uup_download_linux.sh failed, most likely due to unreliable Internet.
Trying again in 1 minute. (Attempt 4 of 4)
Failed to generate a Windows ISO! uup_download_linux.sh exited with an error so please see the errors above."

I have attempted to do this multiple times even clearing out the uupdump folder. Can anyone offer a solution?

[error] File:xxx\rtscom.dll(121)

I encountered this error(as shown below) installing windows11 on raspberry pie 4. It is stuck here. I don't know how this error occurs and how to solve it.

IMG_20211012_011348

Can anyone help me? Should I restart my device?

can't download the os

i can't download any os here is the log:

Input configuration:
DL_DIR: /home/pi/wor-flasher-files
RUN_MODE: gui
RPI_MODEL: 4
DEVICE: /dev/sda
CAN_INSTALL_ON_SAME_DRIVE: 0
UUID: 6f7de912-4143-431b-b605-924c22ab9b1f
WIN_LANG: de-de
CONFIG_TXT: \u2935
  > # don't change anything below this point #
  > arm_64bit=1
  > enable_uart=1
  > uart_2ndstage=1
  > enable_gic=1
  > armstub=RPI_EFI.fd
  > disable_commandline_tags=1
  > disable_overscan=1
  > device_tree_address=0x1f0000
  > device_tree_end=0x200000
  > dtoverlay=miniuart-bt
CONFIG_TXT: \u2934

Downloading WoR PE-based installer from Google Drive
download_from_gdrive(): requires a Google Drive file UUID!
File UUID is the end of a sharable link: https://drive.google.com/uc?export=download&id=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

(zenity:17835): Gtk-WARNING **: 20:24:23.143: Failed to set text 'An error has occurred:
download_from_gdrive(): requires a Google Drive file UUID!
File UUID is the end of a sharable link: https://drive.google.com/uc?export=download&id=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Exiting now.' from markup due to error parsing markup: Fehler in Zeile 3: Entit\u00e4t endete nicht mit einem Semikolon; wahrscheinlich haben Sie ein &-Zeichen benutzt, ohne eine Entit\u00e4t begin

I have idea!

@Botspot I have an idea!

I closed issue #48 (thats not matter)

It would be great if you add "Choose one wim from PC:4" option in install-wor.sh

It would be useful to use a pre-installation wim

Download Fail 503

Trying to install Win10 (de-de) on RPI 4 but Download fails wiht Error 503

9b2520|ERR |   508KiB/s|UUPs/microsoft-windows-client-desktop-required-arm64arm-package.esd
e19aaa|ERR |       0B/s|UUPs/professional_de-de.esd
d72cbe|ERR |   0.9MiB/s|UUPs/microsoft-windows-editionpack-professional-package.esd
13e9e6|ERR |       0B/s|UUPs/microsoft-windows-client-desktop-required-package.esd
8a06cb|ERR |       0B/s|UUPs/windows10.0-kb5005565-arm64.cab
906965|ERR |   0.9MiB/s|UUPs/microsoft.modernapps.clientn.all.esd
555136|ERR |   454KiB/s|UUPs/microsoft.modernapps.client.all.esd
ddd46f|ERR |   460KiB/s|UUPs/microsoft-windows-client-features-package.esd

(...)
Download Results:
gid   |stat|avg speed  |path/URI
======+====+===========+=======================================================
003240|ERR |       0B/s|UUPs/microsoft-windows-not-supported-on-ltsb-package.esd
be8534|ERR |       0B/s|UUPs/microsoft-windows-languagefeatures-ocr-de-de-package-arm64.cab
7594ff|ERR |       0B/s|UUPs/microsoft-windows-notepad-fod-package-arm64.cab
60e36a|ERR |       0B/s|UUPs/microsoft-windows-not-supported-on-ltsb-arm64arm-package.esd
0c8248|ERR |       0B/s|UUPs/microsoft-windows-foundation-package.esd
1adb17|ERR |       0B/s|UUPs/microsoft-windows-stepsrecorder-package-arm64.cab
799fb1|ERR |       0B/s|UUPs/microsoft-windows-internetexplorer-optional-package-arm64.cab
1be13a|ERR |       0B/s|UUPs/microsoft-windows-printing-pmcppc-fod-package-arm64.cab
269391|ERR |       0B/s|UUPs/microsoft-windows-quickassist-package-arm64.cab
6bf60a|ERR |       0B/s|UUPs/microsoft-windows-wordpad-fod-package-arm64.cab
7aa54d|ERR |       0B/s|UUPs/microsoft-windows-powershell-ise-fod-package-arm64.cab
d04b28|ERR |       0B/s|UUPs/openssh-client-package-arm64.cab
860af1|ERR |       0B/s|UUPs/microsoft-windows-required-shellexperiences-desktop-wow64-package.esd
4211fd|ERR |       0B/s|UUPs/microsoft-windows-required-shellexperiences-desktop-arm64arm-package.esd
a5b837|ERR |       0B/s|UUPs/microsoft-windows-mspaint-fod-package-arm64.cab
5d4cd6|ERR |       0B/s|UUPs/windows10.0-kb5000983-arm64.cab
fc4bd6|ERR |       0B/s|UUPs/microsoft-onecore-applicationmodel-sync-desktop-fod-package-arm64.cab
036dab|ERR |       0B/s|UUPs/microsoft-windows-required-shellexperiences-desktop-package.esd
a47b68|ERR |       0B/s|UUPs/microsoft-windows-userexperience-desktop-package-arm64.cab
faaae4|ERR |       0B/s|UUPs/microsoft-windows-languagefeatures-handwriting-de-de-package-arm64.cab
887aff|ERR |       0B/s|UUPs/microsoft-windows-tabletpcmath-package-arm64.cab
4c1aa4|ERR |       0B/s|UUPs/microsoft-windows-editionpack-professional-wow64-package.esd
13e382|ERR |       0B/s|UUPs/windows10.0-kb5004313-arm64.cab
c320a9|ERR |       0B/s|UUPs/microsoft-windows-mediaplayer-package-arm64.cab
1d2688|ERR |       0B/s|UUPs/microsoft-windows-editionpack-professional-arm64arm-package.esd
c1ae91|ERR |       0B/s|UUPs/ssu-19041.1220-arm64.cab
415477|ERR |       0B/s|UUPs/microsoft-windows-wowpack-corearm-arm64arm-package.esd
c4390d|ERR |       0B/s|UUPs/microsoft-windows-regulatedpackages-arm64arm-package.esd
f405dd|ERR |       0B/s|UUPs/microsoft-windows-client-languagepack-package_de-de-arm64-de-de.esd
a1db50|ERR |       0B/s|UUPs/microsoft-windows-regulatedpackages-wow64-package.esd
026dec|ERR |       0B/s|UUPs/microsoft-windows-editionspecific-professional-package.esd
6a5141|ERR |       0B/s|UUPs/microsoft-windows-languagefeatures-basic-de-de-package-arm64.cab
8a5e92|ERR |       0B/s|UUPs/microsoft-windows-not-supported-on-ltsb-wow64-package.esd
081e1d|ERR |       0B/s|UUPs/microsoft-windows-regulatedpackages-package.esd
98fa84|ERR |       0B/s|UUPs/microsoft-windows-languagefeatures-texttospeech-de-de-package-arm64.cab
50b1e2|ERR |       0B/s|UUPs/microsoft-windows-hello-face-package-arm64.cab
865401|ERR |       0B/s|UUPs/microsoft.modernapps.client.professional.esd
9ae008|ERR |       0B/s|UUPs/microsoft-windows-chpe-binaries-arm64x86-package.esd
2a52d8|ERR |       0B/s|UUPs/microsoft-windows-languagefeatures-speech-de-de-package-arm64.cab
9b188e|ERR |       0B/s|UUPs/microsoft-windows-hello-face-migration-package-arm64.cab
9946c6|ERR |       0B/s|UUPs/microsoft-windows-client-features-arm64arm-package.esd
399a94|ERR |       0B/s|UUPs/microsoft-windows-client-features-wow64-package.esd
141931|ERR |       0B/s|UUPs/microsoft-windows-editionpack-professional-package.esd
ee466a|ERR |       0B/s|UUPs/windows10.0-kb4562830-arm64.cab
9db1d8|ERR |       0B/s|UUPs/microsoft-windows-client-desktop-required-arm64arm-package.esd
f0586d|ERR |       0B/s|UUPs/microsoft-windows-client-desktop-required-wow64-package.esd
29d56c|ERR |       0B/s|UUPs/microsoft.modernapps.clientn.all.esd
ab7965|ERR |       0B/s|UUPs/microsoft.modernapps.client.all.esd
fea702|ERR |       0B/s|UUPs/microsoft-windows-client-features-package.esd
8af6ed|ERR |       0B/s|UUPs/professional_de-de.esd
5967fd|ERR |       0B/s|UUPs/microsoft-windows-client-desktop-required-package.esd
e59040|ERR |       0B/s|UUPs/windows10.0-kb5005565-arm64.cab

missing dependencies / Aria2 error

Hi
I'm getting this error

Generating Windows image with uupdump
Retrieving aria2 script...
/home/kylia/wor-flasher-files/uupdump/uup_download_linux.sh: line 55: aria2c: command not found
Failed to retrieve aria2 script

uup_download_linux.sh failed, most likely due to unreliable Internet.
Trying again in 1 minute. (Attempt 1 of 4)
Retrieving aria2 script...
/home/kylia/wor-flasher-files/uupdump/uup_download_linux.sh: line 55: aria2c: command not found
Failed to retrieve aria2 script

uup_download_linux.sh failed, most likely due to unreliable Internet.
Trying again in 1 minute. (Attempt 2 of 4)

I had to install Aria2 manually

apt install aria2

Then the script works.

Failed to mount Error

Hi, I try the wor-flasher in rpi 4b 32bit OS. I flash the win11 OS on a 7.7GB USB drive. But I meet an Error that said "Failed to mount /dev/sda2 to /media/pi/WOR-installer/winpart". Thanks for help.
IMG_20210905_110919

The semaphore timeout period has expired.

I am able to create a Win11 image on the SD card, but when I boot pi with the Win image card, I get a "The Installation has failed" error" right around 40%.

Can someone please help me with this issue and let me know what I am doing wrong?

Thank you in advance...

image

Could not detect network device

Im trying to install Windows 11 from my rpi4 but at the bios it said could not Could not detect network device. It was booted off of a sd card and i installed it from my external hdd and i need windows on the sd card So i can fix my laptop

Error message: "User exited when chosing windows version and RPi model´

Hi

I've done that steps here:
https://www.tomshardware.com/how-to/install-windows-11-raspberry-pi

Then i get the message ´Error message: "User exited when chosing windows version and RPi model´...

Why that?

And why i have to wait for 60 seconds - just to have the time to cancel it while that 60 seconds after entering "y" for "Yes"... really really strange i.m.o.

Screenshot here:
123

Thank you very much for your feedback. :-)

With kind regards,
Jan

packages being left uninstalled

I installed this app using Pi-apps and when I opened it I chose the OS I want, Windows 10, I chose my language, en-us, and I chose my drive, 64 GB Sandisk Ultra USB 3.0 and I let it do it's thing, but a little bit later, I got this error:

           Generating Windows image with uupdump

One of required applications is not installed.
The following applications need to be installed to use this script:

  • aria2c
  • cabextract
  • wimlib-imagex
  • chntpw
  • genisoimage or mkisofs

If you use Debian or Ubuntu you can install these using:
sudo apt-get install aria2 cabextract wimtools chntpw genisoimage

If you use Arch Linux you can install these using:
sudo pacman -S aria2 cabextract wimlib chntpw cdrtools

uup_download_linux.sh failed, most likely due to unreliable Internet.
Trying again in 1 minute. (Attempt 1 of 4)

Than when it got to Attempt 4 of 4, I got this error:

Failed to generate a Windows ISO! (No file named /home/pi/wor-flasher-files/uupdump/ARM64.ISO exists)

I am using a Raspberry pi 4 8GB model to install windows on my flash drive and I am connect VIA ethernet. I also attached a saved copy of the terminal session that was being used to install Windows on the flash drive

WOR - FLASHER (error).odt
to this isssue as well.

WOR Flasher errors when i try to create Windows 11 on 250GB SSD

I am no expert on Linux , but i have tried your script and it errors shortly after starting,

The script acknowledges that there is enough storage prior to starting the build

The error indicates that there is insufficient storage to create the Windows image???, but the selected drive is far larger than i need, i get the same issue if i try to load image onto a USB stick 32Gbyte free.

Thanks
JohnW

uup_download_linux.sh failed, most likely due to unreliable Internet

pi4 2gb
microSD HC V30 sandisk extreme U3 A1 32Gb
Raspbian OS latest

normal procedure, select win11, Pi4/400, next, en/us, next, microSD, next, flash!
the process failed 4 times, with this message:

Exporting Windows 10 Professional to install.wim...
[ERROR] "/Windows/System32/CatRoot/{F750E6C3-38EE-11D1-85E5-00C04FC295EE}/Microsoft-Windows-Enterprise-Desktop-Shared-Removable-Package31bf3856ad364e35arm64~~10.0.22458.1000.cat": blob not found
SHA-1 message digest of missing blob:
2463db131bcacb290589f826f687d4e29b7bc02a
ERROR: If this is a delta WIM, use the --ref argument to specify the WIM(s) on which it is based.
ERROR: Exiting with error code 55:
A file resource needed to complete the operation was missing from the WIM.
Failed to export Windows 10 Professional to install.wim

uup_download_linux.sh failed, most likely due to unreliable Internet.
Trying again in 1 minute. (Attempt 1 of 4)

image with the 4th attempt!
pi_error2

nice: '/media/pi/Sandisk/uupdump/uup_download_linux.sh': Permission denied

I installed wor-flasher from pi-apps. I launch the GUI from menu/Accessories/WoR-flasher.

After configuration, the tool launch a terminal interface and everything went well till here:

Generating Windows image with uupdump
nice: '/media/pi/Sandisk/uupdump/uup_download_linux.sh': Permission denied

uup_download_linux.sh failed, most likely due to unreliable Internet.
Trying again in 1 minute. (Attempt 1 of 4)
nice: '/media/pi/Sandisk/uupdump/uup_download_linux.sh': Permission denied

uup_download_linux.sh failed, most likely due to unreliable Internet.
Trying again in 1 minute. (Attempt 2 of 4)
nice: '/media/pi/Sandisk/uupdump/uup_download_linux.sh': Permission denied

uup_download_linux.sh failed, most likely due to unreliable Internet.
Trying again in 1 minute. (Attempt 3 of 4)
nice: '/media/pi/Sandisk/uupdump/uup_download_linux.sh': Permission denied

uup_download_linux.sh failed, most likely due to unreliable Internet.
Trying again in 1 minute. (Attempt 4 of 4)
Failed to generate a Windows ISO! (No file named /media/pi/Sandisk/uupdump/*ARM64*.ISO exists)

I tried:

  • Launch the GUI using sudo /home/pi/wor-flasher/install-wor-gui.sh
  • Use CLI script with and without sudo
  • Change line 419 in install-wor.sh from nice "$(pwd)/uup_download_linux.sh" to nice "sudo $(pwd)/uup_download_linux.sh" (idk if this is a stupid change)

The issue still persists.

Here is the output (Same for both GUI and CLI, but with configuration dialog in CLI) : wor-flasher.log

No Boot

Setup:

  • Which version of Windows you chose: Windows 11 22000
  • Raspberry Pi model: Pi 4B 8GB
  • Name of SD card you tried to flash: USB Sandisk SSD
  • What day you first downloaded wor-flasher: 26.10.2021
  • What linux operating system you are using to run wor-flasher on: Raspberry Pi OS

Procedure:

Tell us what you did, step by step. Be specific enough so that one of us would be able to replicate your setup:
First boot and installation worked, after the PE Installe rebooted it the Pi didnt find the SSD anymore

no boot

Hello

i created a installation usb sandisk 32gb in latest raspbian in my Raspberry pi 4
everything finished well,i shutdown the system to start the installation of windows 11
but the screen does not turn on,speaks that have not a card in Rpi

any suggestion?

thanks

Debian SID - Win10 on Pi4

I was unable to install using the script as written. Even though the wor-flasher gui completion screen would come up, the pi could not mount the SD card. I had to make some changes. I am not sure if they are all needed. I don't have another SD card to narrow it down. I did have

I used exfatprogs instead of exfat-utils. Even though I had the latter installed, it would return an error when trying to mount the card
I modified the scripts. Here are the differences. YMMV.

diff install-wor.sh my_install-wor.sh

191c191
< install_packages 'yad aria2 cabextract wimtools chntpw genisoimage exfat-fuse exfat-utils wget udftools'
---
> install_packages 'yad aria2 cabextract wimtools chntpw genisoimage exfat-fuse exfatprogs wget udftools'
472a473
> sudo mount.exfat-fuse "$(get_partition "$DEVICE" 2)" "$mntpnt"/winpart
474d474
< sudo mount "$(get_partition "$DEVICE" 2)" "$mntpnt"/winpart
478c478
<   sudo mount "$(get_partition "$DEVICE" 2)" "$mntpnt"/winpart || error "Failed to mount $(get_partition` `"$DEVICE" 2) to $mntpnt/winpart"
---
>   sudo mount.exfat-fuse "$(get_partition "$DEVICE" 2)" "$mntpnt"/winpart || error "Failed to mount` `$(get_partition "$DEVICE" 2) to $mntpnt/winpart"

diff install-wor-gui.sh my_install-wor-gui.sh

32c32
< install_packages 'yad aria2 cabextract wimtools chntpw genisoimage exfat-fuse exfat-utils wget'
---
> install_packages 'yad aria2 cabextract wimtools chntpw genisoimage exfat-fuse exfatprogs wget'

32 Bit Support

Hello,great tool

is it possible to add support to install 32 Bit windows 10 and windows 11 also ??

and if possible to add windows 7 and windows 8.1 in the installer ??

thanks

It says i dont have enough storage

It says

Your system needs 11.8GB of free space to download the Windows components to.
If your sd card is too small to do this, you can set the DL_DIR variable
to a mounted drive with sufficient space. (Must be an Ext4 partition)

But i don't know how else to install it or what a DL_DIR variable is.
Please reply on how to fix or explain how to set the DL_DIR variable
to a mounted drive with sufficient space.

Headless Setup

Curious if it requires any special setup for a headless setup on raspberry pi.

wor-flasher error during installation

I am getting the following error when running the installation

An error has occurred
Failed to generation a Windows ISO!
(uup_download_linux.sh script indicated a failure)
Exiting now

WoR-PE

It says it has not disk and my keyboard and mouse is not working

BdsDxe: No bootable option or device was found.

Hi, if try the wor-flasher in rpi 4 64bit OS, it has flashed successfully to the 64gb SD card, but got error during boot.

Error: Could not detect network connection.

Error: Could not detect network connection.
BdsDxe: No bootable option or device was found.
BdsDxe: Press any key to enter the Boot Manager Menu.

Have tried enter Boot Manager & select the SD/MMC on Arasan SDHCI, but after Enter, no response also.

No Boot

Hello

i created a installation card(32GB) in a usb card reader in latest raspbian in my Raspberry pi 3B+
everything finished well,i shutdown the system and put the card to start the installation of windows 10
but the screen does not turn on,its like i have not a card in Rpi
i checked the card in my computer its not empty

any suggestion?

thanks

Error: File doesn't exist

I click flash and this shows up on the terminal:

RPI_MODEL: 4
WIN_LANG: en-gb
DEVICE: /dev/sdb
CAN_INSTALL_ON_SAME_DRIVE: 1
CONFIG_TXT: \u2935
  > 
  > 
  > # don't change anything below this point #
  > arm_64bit=1
  > enable_uart=1
  > uart_2ndstage=1
  > enable_gic=1
  > armstub=RPI_EFI.fd
  > disable_commandline_tags=1
  > disable_overscan=1
  > device_tree_address=0x1f0000
  > device_tree_end=0x200000
  > dtoverlay=miniuart-bt
CONFIG_TXT: \u2934
Launching install-wor.sh in a separate terminal
/home/pi/wor-flasher/install-wor-gui.sh: line 231: /terminal-run: No such file or directory
The terminal running install-wor.sh has been closed.
            

do you have an idea what this means?
the file that it says doesn't exist, realy does exist.
@Botspot thank you so much for pi-apps and this tool!

USB boot support

Right now the README only mentions support for using this with an SD card. However, USB 3.0 sticks are faster (not as much as an SSD, of course), so are there any plans to support USB flash and boot from it?

WoR and additional components

First oiff i'd like to say excellent work

When using rpi OS 32bit I had some additional componets running i.e.
i2c 0.96 OLED Display
LEDShim

Is there anyway i can get these to work after installing WoR.
Also has there been any further development to get wifi workling

Unkown value for RPI_MODEL. Expected '3' or '4'.

I'm trying to flash windows 10 for raspberry pi 3 B onto a 129 gb san disk pro extreme micro SD card. Each time I attempt to flash my SD card, I get this error. If it helps, I am running WoR flasher from a raspberry Pi 3 B.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.