My OSMC build on a Pi3 crashed on me a few days ago and during boot it said I needed to reinstall. I put the SD card in my computer and ran the osmc installer but it keeps failing. Here is my log file.
Mon Jun 7 21:04:52 2021 OSMC Installer running on Windows
Mon Jun 7 21:04:52 2021 Detected locale as en_US
Mon Jun 7 21:04:52 2021 Attempting to load translation for locale en_US
Mon Jun 7 21:04:52 2021 Could not load translation!
Mon Jun 7 21:04:52 2021 Resolving a mirror
Mon Jun 7 21:04:52 2021 Resolved mirror to Index of /osmc/osmc/download/
Mon Jun 7 21:04:52 2021 Enumerating supported devices
Mon Jun 7 21:04:52 2021 Added the following devices
Mon Jun 7 21:04:52 2021 Vero 4K / 4K+
Mon Jun 7 21:04:52 2021 Vero 2
Mon Jun 7 21:04:52 2021 Vero
Mon Jun 7 21:04:52 2021 Raspberry Pi 1 / Zero
Mon Jun 7 21:04:52 2021 Raspberry Pi 2 / 3
Mon Jun 7 21:04:52 2021 Apple TV
Mon Jun 7 21:04:52 2021 Checking for updates
Mon Jun 7 21:04:52 2021 Checking for updates by downloading http://mirrors.mit.edu/osmc/osmc/download//installers/latest_windows
Mon Jun 7 21:04:52 2021 Acquired mirror file
Mon Jun 7 21:04:52 2021 No new update is available
Mon Jun 7 21:04:57 2021 The user has selected English as their language
Mon Jun 7 21:04:57 2021 The user has selected Raspberry Pi 2 / 3 as their device
Mon Jun 7 21:04:57 2021 Attempting to download device versions file http://mirrors.mit.edu/osmc/osmc/download/installers/versions_RBP2
Mon Jun 7 21:04:57 2021 Found a build called 2020.11-1
Mon Jun 7 21:04:57 2021 Found a build called 2020.10-1
Mon Jun 7 21:04:57 2021 Found a build called 2020.06-1
Mon Jun 7 21:04:57 2021 Found a build called 2020.03-1
Mon Jun 7 21:04:57 2021 Found a build called 2020.01-1
Mon Jun 7 21:04:57 2021 Found a build called 2019.11-1
Mon Jun 7 21:04:57 2021 Found a build called 2019.10-1
Mon Jun 7 21:04:57 2021 Found a build called 2019.07-1
Mon Jun 7 21:04:57 2021 Found a build called 2019.06-1
Mon Jun 7 21:04:57 2021 Found a build called 2019.05-1
Mon Jun 7 21:04:57 2021 Found a build called 2019.04-1
Mon Jun 7 21:04:57 2021 Found a build called 2018.12-1
Mon Jun 7 21:04:57 2021 Found a build called 2018.10-1
Mon Jun 7 21:04:57 2021 Found a build called 2018.08-1
Mon Jun 7 21:04:57 2021 Found a build called 2018.07-1
Mon Jun 7 21:05:10 2021 The user has selected a local image for Raspberry Pi 2 / 3 with file location: file:///C:/Users/Administrator/OSMC_TGT_rbp2_20201227.img.gz
Mon Jun 7 21:05:10 2021 Disabling internal install for device Raspberry Pi 2 / 3 as it does not support it
Mon Jun 7 21:05:11 2021 SD installation selected
Mon Jun 7 21:05:12 2021 Installing usbit32 imaging binary to temporary path
Mon Jun 7 21:05:12 2021 Installing empty boot sector to temporary path
Mon Jun 7 21:05:12 2021 Installation was successful
Mon Jun 7 21:05:12 2021 Enumerating imageable devices for Windows
Mon Jun 7 21:05:13 2021 New disk device entry created with entry point D:, 30543MB free space and label
Mon Jun 7 21:05:15 2021 Device selected: 2 D:\ 30543MB
Mon Jun 7 21:05:18 2021 EULA has been accepted
Mon Jun 7 21:05:22 2021 Extracting C:/Users/Administrator/OSMC_TGT_rbp2_20201227.img.gz
Mon Jun 7 21:05:26 2021 Finished extraction. Going to write image
Mon Jun 7 21:05:27 2021 Requesting confirmation from user
Mon Jun 7 21:05:29 2021 User confirmed
Mon Jun 7 21:05:29 2021 Workaround Windows 10 card protection
Mon Jun 7 21:05:29 2021 Writing 512 bytes to erase MBR
Mon Jun 7 21:05:31 2021 MBR is trashed. Now beginning imaging process.
Mon Jun 7 21:05:43 2021 Could not invoke usbitcmd to write disk image
Mon Jun 7 21:05:43 2021 Messages: stdout:
USB Image Tool 1.74
COPYRIGHT 2006-2017 Alexander Beug
http://www.alexpage.de
Restoring backup to “Mass Storage Device USB Device” (D:)… 0% 1% 2% 5% 7% 9% 12% 14% 16% 19% 21% 24% 27% 29% 32% 35% 37% 40% 43% 45% 48%failed
Error: Could not write to the USB device!
Code : 5 - Access is denied.
Mon Jun 7 21:05:43 2021 Messages: stderr:
I tried downloading the image to my hard drive and using that this last time but it’s the same error message.