View Issue Details

IDProjectCategoryView StatusLast Update
0000144WoR ImagerRaspberry Pi 3 (ARM64)public2021-06-02 13:42
Reporternaruto Assigned ToMario  
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionno change required 
Product Version2.1.2 
Summary0000144: Installation fails with Access denied in logs
Description

Log as below:

2021-05-10 00:49:51.2358 [info] Windows on Raspberry 64-bit (version 2.1.2)
2021-05-10 00:49:51.2818 [info] Copyright © 2018-2021 Mario Bălănică. All Rights Reserved.
2021-05-10 00:49:51.2868 [info] OS: Windows 10 Home ver 2009 (19041.1.amd64fre.vb_release.191206-1406)
2021-05-10 00:49:51.2868 [info] OS language: en-US
2021-05-10 00:49:51.6458 [info] Deleting the temporary folder...
2021-05-10 00:49:51.8281 [info] Loaded language: en-US
2021-05-10 00:49:52.0259 [info] The temporary folder has been deleted!
2021-05-10 00:49:51.9131 [info] Checking for updates...
2021-05-10 00:49:53.4029 [info] Loading disks...
2021-05-10 00:49:53.5213 [info] No updates found.
2021-05-10 00:49:53.9972 [info] Disk 1 - SDHC Card - Removable Media - 14 GB
2021-05-10 00:49:53.9972 [info] ⚠ Disk 0 - WDC PC SN520 SDAPNUW-512G-1002 - Fixed hard disk media - 476 GB
2021-05-10 00:49:54.0213 [info] 2 disk(s) found
2021-05-10 00:49:55.2014 [info] Selected device: Raspberry Pi 2/3 [ARM64]
2021-05-10 00:49:58.6453 [info] Selected disk: Disk 1 - SDHC Card - Removable Media - 14 GB
2021-05-10 00:50:03.1827 [info] Selected image (ISO): 21376.1.210503-1432.CO_RELEASE_CLIENTMULTICOMBINED_UUP_A64FRE_EN-US.ISO
2021-05-10 00:50:03.2937 [info] Mounting the ISO image...
2021-05-10 00:50:07.9177 [info] ISO file mounted on: D:\
2021-05-10 00:50:07.9177 [info] Found WIM image: D:\sources\install.wim
2021-05-10 00:50:07.9938 [info] Edition 1: Windows 10 Home build 21376.1
2021-05-10 00:50:07.9938 [info] Edition 2: Windows 10 Home Single Language build 21376.1
2021-05-10 00:50:07.9938 [info] Selected edition: Windows 10 Home build 21376.1
2021-05-10 00:50:10.7944 [info] Drivers package source: server
2021-05-10 00:50:10.7944 [info] Drivers package remote repository: worproject/RPi-Windows-Drivers
2021-05-10 00:50:10.8511 [debug] Verifying the local asset...
2021-05-10 00:50:10.8511 [debug] Local asset ID: "34732102"
2021-05-10 00:50:10.9103 [debug] Getting the latest release from "worproject/RPi-Windows-Drivers"
2021-05-10 00:50:11.3652 [debug] Release name: "Version 0.9", ID: "41207938"
2021-05-10 00:50:11.3652 [debug] Getting the latest asset from release "41207938"
2021-05-10 00:50:11.3652 [debug] Asset name filter: "RPi3_Windows_ARM64"
2021-05-10 00:50:11.3652 [debug] Asset name: "RPi3_Windows_ARM64_Drivers_v0.9.zip", ID: "34732102"
2021-05-10 00:50:11.3652 [debug] The local asset is up-to-date!
2021-05-10 00:50:13.4016 [info] UEFI package source: server
2021-05-10 00:50:13.4016 [info] UEFI package remote repository: pftf/RPi3
2021-05-10 00:50:13.4650 [debug] Verifying the local asset...
2021-05-10 00:50:13.4650 [debug] Local asset ID: "35170496"
2021-05-10 00:50:13.4650 [debug] Getting the latest release from "pftf/RPi3"
2021-05-10 00:50:13.7103 [debug] Release name: "v1.34", ID: "41537804"
2021-05-10 00:50:13.7103 [debug] Getting the latest asset from release "41537804"
2021-05-10 00:50:13.7103 [debug] Asset name: "RPi3_UEFI_Firmware_v1.34.zip", ID: "35170496"
2021-05-10 00:50:13.7103 [debug] The local asset is up-to-date!
2021-05-10 00:50:21.4833 [info] -- Installation details --
2021-05-10 00:50:21.4833 [info] Disk
2021-05-10 00:50:21.4833 [info] Index: 1
2021-05-10 00:50:21.4833 [info] Name: SDHC Card
2021-05-10 00:50:21.4912 [info] Type: Removable Media
2021-05-10 00:50:21.4912 [info] Size: 14
2021-05-10 00:50:21.4912 [info] Device
2021-05-10 00:50:21.4912 [info] Type: RPi3-ARM64
2021-05-10 00:50:21.4912 [info] Image
2021-05-10 00:50:21.4912 [info] Format: ISO
2021-05-10 00:50:21.4912 [info] Index: 1
2021-05-10 00:50:21.5063 [info] Name: Windows 10 Home
2021-05-10 00:50:21.5063 [info] Arch: ARM64
2021-05-10 00:50:21.5063 [info] Build: 21376.1
2021-05-10 00:50:21.5063 [info] Drivers package
2021-05-10 00:50:21.5063 [info] FilePath: worproject/RPi-Windows-Drivers
2021-05-10 00:50:21.5063 [info] ExtractedPath: C:\Users\naruto\Downloads\raspberry\WoR_Release_2.1.2\res\drivers\RPi3-ARM64
2021-05-10 00:50:21.5063 [info] UEFI package
2021-05-10 00:50:21.5063 [info] FilePath: pftf/RPi3
2021-05-10 00:50:21.5063 [info] ExtractedPath: C:\Users\naruto\Downloads\raspberry\WoR_Release_2.1.2\res\bootpackage\RPi3-ARM64
2021-05-10 00:50:21.5063 [info] Options
2021-05-10 00:50:21.5063 [info] UseLZXCompression: False
2021-05-10 00:50:21.5063 [info] PartitionScheme: GPT
2021-05-10 00:50:21.5063 [info] ImageDeployer: WIMGAPI
2021-05-10 00:50:21.5063 [info] MemoryLimit: 0
2021-05-10 00:50:21.5063 [info] RecoveryEnabled: True
2021-05-10 00:50:21.5063 [info] Boot config
2021-05-10 00:50:21.5232 [info] Path: C:\Users\naruto\Downloads\raspberry\WoR_Release_2.1.2\res\bootpackage\RPi3-ARM64_wor_boot_config.txt
2021-05-10 00:50:21.5232 [info] Contents:
2021-05-10 00:50:21.5232 [info] arm_64bit=1
2021-05-10 00:50:21.5232 [info] disable_commandline_tags=2
2021-05-10 00:50:21.5232 [info] disable_overscan=1
2021-05-10 00:50:21.5232 [info] enable_uart=1
2021-05-10 00:50:21.5542 [info] uart_2ndstage=1
2021-05-10 00:50:21.5542 [info] armstub=RPI_EFI.fd
2021-05-10 00:50:21.5542 [info] device_tree_address=0x1f0000
2021-05-10 00:50:21.5542 [info] device_tree_end=0x200000
2021-05-10 00:50:21.5542 [info]
2021-05-10 00:50:21.5542 [info] CompressionRequired: False
2021-05-10 00:50:21.5542 [info] -- End of installation details --
2021-05-10 00:50:21.5542 [info] The installation process has started!
2021-05-10 00:50:21.5542 [info] Allocated partition letters:
2021-05-10 00:50:21.5542 [info] Windows partition: X
2021-05-10 00:50:21.5542 [info] Boot partition: Y
2021-05-10 00:50:21.5713 [info] Formatting the target device...
2021-05-10 00:50:21.5713 [debug] Creating diskpart script with the following commands: select disk 1 , clean , exit
2021-05-10 00:50:21.5713 [debug] Launch diskpart.exe with the following arguments: /s "C:\Users\naruto\Downloads\raspberry\WoR_Release_2.1.2\temp\diskpart.script"
2021-05-10 00:50:23.0073 [debug] diskpart.exe process output:
2021-05-10 00:50:23.0073 [debug] Standard output:

Microsoft DiskPart version 10.0.19041.610

Copyright (C) Microsoft Corporation.
On computer: DESKTOP-0USA9FV

Disk 1 is now the selected disk.

DiskPart has encountered an error: The device is not ready.
See the System Event Log for more information.

2021-05-10 00:50:23.0073 [warn] Exit code: -2147024875
2021-05-10 00:50:23.0223 [warn] Diskpart retry attempt 1/4 failed!
2021-05-10 00:50:23.0223 [warn] Retrying... (3.5s delay)
2021-05-10 00:50:26.5356 [info] Formatting the target device...
2021-05-10 00:50:26.5398 [debug] Creating diskpart script with the following commands: select disk 1 , clean , exit
2021-05-10 00:50:26.5398 [debug] Launch diskpart.exe with the following arguments: /s "C:\Users\naruto\Downloads\raspberry\WoR_Release_2.1.2\temp\diskpart.script"
2021-05-10 00:50:28.5240 [debug] diskpart.exe process output:
2021-05-10 00:50:28.5240 [debug] Standard output:

Microsoft DiskPart version 10.0.19041.610

Copyright (C) Microsoft Corporation.
On computer: DESKTOP-0USA9FV

Disk 1 is now the selected disk.

DiskPart succeeded in cleaning the disk.

Leaving DiskPart...

2021-05-10 00:50:28.5240 [debug] Exit code: 0
2021-05-10 00:50:32.0300 [info] The target device has been erased!
2021-05-10 00:50:32.0300 [info] Creating the partitions...
2021-05-10 00:50:32.0369 [debug] Creating diskpart script with the following commands: select disk 1 , convert mbr , convert gpt , list partition , exit
2021-05-10 00:50:32.0369 [debug] Launch diskpart.exe with the following arguments: /s "C:\Users\naruto\Downloads\raspberry\WoR_Release_2.1.2\temp\diskpart.script"
2021-05-10 00:50:33.4739 [debug] diskpart.exe process output:
2021-05-10 00:50:33.4749 [debug] Standard output:

Microsoft DiskPart version 10.0.19041.610

Copyright (C) Microsoft Corporation.
On computer: DESKTOP-0USA9FV

Disk 1 is now the selected disk.

DiskPart successfully converted the selected disk to MBR format.

DiskPart successfully converted the selected disk to GPT format.

There are no partitions on this disk to show.

Leaving DiskPart...

2021-05-10 00:50:33.4749 [debug] Exit code: 0
2021-05-10 00:50:33.4749 [debug] Creating diskpart script with the following commands: select disk 1 , convert mbr , convert gpt , list partition , exit , exit
2021-05-10 00:50:33.4749 [debug] Launch diskpart.exe with the following arguments: /s "C:\Users\naruto\Downloads\raspberry\WoR_Release_2.1.2\temp\diskpart.script"
2021-05-10 00:50:34.9273 [debug] diskpart.exe process output:
2021-05-10 00:50:34.9283 [debug] Standard output:

Microsoft DiskPart version 10.0.19041.610

Copyright (C) Microsoft Corporation.
On computer: DESKTOP-0USA9FV

Disk 1 is now the selected disk.

DiskPart successfully converted the selected disk to MBR format.

DiskPart successfully converted the selected disk to GPT format.

There are no partitions on this disk to show.

Leaving DiskPart...

2021-05-10 00:50:34.9283 [debug] Exit code: 0
2021-05-10 00:50:34.9526 [debug] Creating diskpart script with the following commands: select disk 1 , create partition primary size=128 , format fs=fat32 quick label=BOOT , assign letter=Y , create partition msr size=16 , create partition primary , format fs=ntfs quick label=Windows , assign letter=X , exit
2021-05-10 00:50:34.9526 [debug] Launch diskpart.exe with the following arguments: /s "C:\Users\naruto\Downloads\raspberry\WoR_Release_2.1.2\temp\diskpart.script"
2021-05-10 00:50:44.2519 [debug] diskpart.exe process output:
2021-05-10 00:50:44.2949 [debug] Standard output:

Microsoft DiskPart version 10.0.19041.610

Copyright (C) Microsoft Corporation.
On computer: DESKTOP-0USA9FV

Disk 1 is now the selected disk.

DiskPart succeeded in creating the specified partition.

0 percent completed
0 percent completed
0 percent completed

100 percent completed
DiskPart successfully formatted the volume.

DiskPart successfully assigned the drive letter or mount point.

DiskPart succeeded in creating the specified partition.

DiskPart succeeded in creating the specified 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
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.

DiskPart successfully assigned the drive letter or mount point.

Leaving DiskPart...

2021-05-10 00:50:44.2949 [debug] Exit code: 0
2021-05-10 00:50:44.3809 [info] The partitions have been created!
2021-05-10 00:50:44.3809 [info] Applying the VBR patch...
2021-05-10 00:50:44.3809 [error] System.UnauthorizedAccessException: Access to the path is denied.
at System.IO.Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.WriteCore(Byte[] buffer, Int32 offset, Int32 count)
at System.IO.FileStream.FlushWrite(Boolean calledFromFinalizer)
at System.IO.FileStream.Dispose(Boolean disposing)
at System.IO.Stream.Close()
at WoR.Utils.Filesystem.FirmwareGptHack.ApplyVbrPatch(Disk disk)
at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at WoR.Setup.SetupProcess.<ApplyGptWorkaroundTask>d
22.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at WoR.Setup.SetupProcess.<CleanDiskAndCreatePartitionsTask>d21.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at WoR.Setup.SetupProcess.<RunDiskpartTaskWithRetry>d
19.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at WoR.Setup.SetupProcess.<Run>d__17.MoveNext()
2021-05-10 00:50:44.4159 [warn] The installation could not be finished!
2021-05-10 00:50:44.4159 [info] Elapsed time: 00:00:22

Steps To Reproduce
  • Download ISO using utility in the guide
  • Open WoR
  • Select ISO and storage.
  • With default settings and the latest firmware and packages selected.
  • Start Installation
Additional Information

Crashes after "Applying vbr patch" with Access denied

TagsNo tags attached.

Activities

naruto

naruto

2021-05-09 19:37

reporter  

image.png (45,820 bytes)   
image.png (45,820 bytes)   
image-2.png (38,183 bytes)   
image-2.png (38,183 bytes)   
image-3.png (40,948 bytes)   
image-3.png (40,948 bytes)   
image-4.png (23,050 bytes)   
image-4.png (23,050 bytes)   
Mario

Mario

2021-05-09 20:58

administrator   ~0000258

I'm not able to reproduce this issue. Have you tried again? Rebooting the machine might also help.

naruto

naruto

2021-05-10 04:47

reporter   ~0000259

Yes, tried after restart! Same result. The previous version of Windows 21370 or the previous version of WoR will make any difference?

naruto

naruto

2021-05-10 10:15

reporter   ~0000260

Ok, it worked! Had to whitelist the app from protection as in the screenshot. Also, is this forum the right place to ask questions/queries?

image-5.png (323,669 bytes)
image-6.png (304,286 bytes)
Mario

Mario

2021-05-10 15:43

administrator   ~0000261

It depends on the question. This is the place for issues related to the WoR imager tool.
Driver issues can be reported here: https://github.com/worproject/RPi-Windows-Drivers/issues
You can also join one of the community-made chat servers: https://worproject.ml/community
For other queries, we have a Contact form: https://worproject.ml/contact

Issue History

Date Modified Username Field Change
2021-05-09 19:37 naruto New Issue
2021-05-09 19:37 naruto File Added: image.png
2021-05-09 19:37 naruto File Added: image-2.png
2021-05-09 19:37 naruto File Added: image-3.png
2021-05-09 19:37 naruto File Added: image-4.png
2021-05-09 20:58 Mario Note Added: 0000258
2021-05-10 04:47 naruto Note Added: 0000259
2021-05-10 10:15 naruto Note Added: 0000260
2021-05-10 10:15 naruto File Added: image-5.png
2021-05-10 10:15 naruto File Added: image-6.png
2021-05-10 15:43 Mario Note Added: 0000261
2021-06-02 13:42 Mario Assigned To => Mario
2021-06-02 13:42 Mario Status new => resolved
2021-06-02 13:42 Mario Resolution open => no change required