Botspot / wor-flasher

Legal utility that runs on RPiOS to flash another SD card with Windows 10/11
612 stars 76 forks source link

nvme0n1 not formatted? #157

Open dwulkan opened 3 months ago

dwulkan commented 3 months ago

Setup:

Procedure:

Tell us what you did, step by step. Be specific enough so that one of us would be able to replicate your setup.

  1. Copied & paste: git clone https://github.com/Botspot/wor-flasher
  2. Copied and Paste: ~/wor-flasher/install-wor-gui.sh
  3. Install: Windows 11 on a Pi5
  4. Language: en-us
  5. Device to flash: /dev/nvme0n1
  6. Click Flash
  7. Got the 'Next Steps' Popup
  8. Close
  9. Shutdown
  10. remove sd Card
  11. Power on
  12. Saw the left screen on 'Next Steps'
  13. Got an error message something like my nvme0n1 is not formatted?
  14. Booted Raspbian, download pi-apps, installed 'More RAM'
  15. Started over, same message
dwulkan commented 3 months ago

Is there a way I can save the error log ?

dwulkan commented 3 months ago

log 20240528


Lower right corner of display screen: Test Mode Build 22621.ni_release_svc_prod3.231018-1809

Pop-up (on top of a popup) Couldn't find the installation disk! Make sure it is connected to your device and has all the files necessary, then cick on the reload button. If the error persosts, please check the log for more details. OK

Popup goes away and the popup below the above popup is now in middle of display screen


Windows Setup About Logs X

  Windows on Raspberry
       Preinstallation Environment

You can install Windows

Select the destination disk: [nothing in drop down area ] [ @ ]

Click on Logs!

2023-03-16 03:49:50.9917 [info] WoR-PE (version 1.1.0.0) 2023-03-16 03:49:51.0565 [info] Copyright (c) 2018-2022 Mario Balanica. All Rights Reserved. 2023-03-16 03:49:51.0565 [info] OS: Windows (TM) 10 Preinstallation Environment ver 2009 (22621.2506.arm64fre.ni_release_svc_prod3.231018-1809) 2023-03-16 03:49:51.0676 [info] System model: Raspberry Pi 5 Model B 2023-03-16 03:49:51.0676 [info] Device display short name: Raspberry Pi 5 Model B 2023-03-16 03:49:51.0994 [debug] Loaded configuration file: 2023-03-16 03:49:51.0994 [debug] PreferredImageEditionId:Professional 2023-03-16 03:49:51.1284 [info] Loading driver list... 2023-03-16 03:49:51.1331 [info] Drivers loaded successfully! 2023-03-16 03:49:55.2336 [info] Loading disks... 2023-03-16 03:49:55.7342 [info] Disk 0 - CT500P3PSSD8 - Fixed hard disk media - 465 GB 2023-03-16 03:49:55.7342 [info] 1 disk(s) found 2023-03-16 03:49:55.7396 [info] Finding PE disk... 2023-03-16 03:49:55.7396 [info] Mounting partitions on disk 0... 2023-03-16 03:49:55.7672 [debug] Creating diskpart script with the following commands: select disk0 , select partition1 , assign letter=A, exit 2023-03-16 03:49:55.7754 [debug] Launch diskpart.exe with the following arguments: /s "X:\diskpart.script" 2023-03-16 03:49:57.1336 [debug] diskpart.exe process output: 2023-03-16 03:49:57.1336 [debug] Standard Output:

Microsoft DiskPart version 10.0.22621.1

Copyright (c) Microsoft Corporation On Computer: MINWINPC

Disk 0 is now the selected disk.

Virtual Disk Service error. The disk is not initialized.

2023-03-16 03:49:57.1336 [warn] Exit code: -2147212265 2023-03-16 03:49:57.1336 [warn] Couldn't mount the partitions! 2023-03-16 03:49:57.1336 [error] Couldn't find the PE disk!

dwulkan commented 3 months ago

One more thing. After the script ends there is a message in the command box:

  1. ~/wor-flasher/install-wor-gui.sh Install-wor.sh script has completed.

(yad:3237): Gdk-CRITICAL **: 12:04:20.018: gdk_x11_window_get_xid: assertion 'GDK_IS_X11_WINDOW (window)' failed

dwulkan commented 3 months ago

When I ran the install script: install-wor.sh I did this: 20240530

  1. Boot into Bookworm
  2. /home/username/wor-flasher directory
  3. edit script install-wor.sh
  4. add echo on just below the #!/bin/bash/
  5. Add read -p "Echo to Continue... Script has Completed" after last line in script Will prevent the command window from disappearing Save
  6. double click install-wor.sh and execute in a terminal
  7. When you see the "Enter to Continue... Script has Completed" message Click Terminal on command box menu line. The option "Save Contents" will capture screen - you have to provide the file name Will capture to the directory /home/username/wor-flasher-files/ your filename