Can't install OSMC to 16GB sdcard - Installer Error

Can’t install OSMC to 16GB sdcard - Installer Error
Also tried using Sdcard formater and win32diskimager.
Rebooted Computer and Disabled Avast but still get an error.
Where is the installer log file located? (Windows PC)
Thanks.

Should be in C:/users/<your username>

Make sure you running the installer as administrator

Tried as admin, still no luck.

Then logs may hold the only key.

Sorry I didn’t notice you put the location in your reply.
It says cannot access the drive and shows H:\ 15279MB in the log.

After formatting the drive again I notice it still has osmc files on and the size is now 315MB
I can’t seem to get the drive empty and back to 15279MB
Tried windows format, sd card formatter and fat32guiformat, all end up with osmc files still on sdcard and size 315MB.

Wed 16. Feb 11:07:16 2022 OSMC Installer running on Windows
Wed 16. Feb 11:07:16 2022 Detected locale as en_GB
Wed 16. Feb 11:07:16 2022 Attempting to load translation for locale en_GB
Wed 16. Feb 11:07:16 2022 Could not load translation!
Wed 16. Feb 11:07:16 2022 Resolving a mirror
Wed 16. Feb 11:07:18 2022 Resolved mirror to Index of /sites/edge.samnazarko.co.uk/osmc/download
Wed 16. Feb 11:07:18 2022 Enumerating supported devices
Wed 16. Feb 11:07:18 2022 Added the following devices
Wed 16. Feb 11:07:18 2022 Vero 4K / 4K+
Wed 16. Feb 11:07:18 2022 Vero 2
Wed 16. Feb 11:07:18 2022 Vero
Wed 16. Feb 11:07:18 2022 Raspberry Pi 4 / 400
Wed 16. Feb 11:07:18 2022 Raspberry Pi 2 / 3
Wed 16. Feb 11:07:18 2022 Raspberry Pi 1 / Zero
Wed 16. Feb 11:07:18 2022 Apple TV
Wed 16. Feb 11:07:18 2022 Checking for updates
Wed 16. Feb 11:07:18 2022 Checking for updates by downloading http://mirrorservice.org/sites/edge.samnazarko.co.uk/osmc/download//installers/latest_windows
Wed 16. Feb 11:07:18 2022 Acquired mirror file
Wed 16. Feb 11:07:18 2022 No new update is available
Wed 16. Feb 11:07:28 2022 The user has selected English as their language
Wed 16. Feb 11:07:28 2022 The user has selected Raspberry Pi 2 / 3 as their device
Wed 16. Feb 11:07:28 2022 Attempting to download device versions file http://mirrorservice.org/sites/edge.samnazarko.co.uk/osmc/download/installers/versions_RBP2
Wed 16. Feb 11:07:28 2022 Found a build called 2021.12-1
Wed 16. Feb 11:07:28 2022 Found a build called 2021.11-2
Wed 16. Feb 11:07:28 2022 Found a build called 2021.08-1
Wed 16. Feb 11:07:28 2022 Found a build called 2020.11-1
Wed 16. Feb 11:07:28 2022 Found a build called 2020.10-1
Wed 16. Feb 11:08:01 2022 The user has selected a local image for Raspberry Pi 2 / 3 with file location: file:///F:/OSMC/PI 2/Matrix/OSMC_TGT_rbp2_20211225.img.gz
Wed 16. Feb 11:08:01 2022 Disabling internal install for device Raspberry Pi 2 / 3 as it does not support it
Wed 16. Feb 11:08:09 2022 SD installation selected
Wed 16. Feb 11:08:19 2022 Installing usbit32 imaging binary to temporary path
Wed 16. Feb 11:08:19 2022 Installing empty boot sector to temporary path
Wed 16. Feb 11:08:19 2022 Installation was successful
Wed 16. Feb 11:08:19 2022 Enumerating imageable devices for Windows
Wed 16. Feb 11:08:20 2022 New disk device entry created with entry point H:, 15279MB free space and label
Wed 16. Feb 11:08:32 2022 Device selected: 4 H:\ 15279MB
Wed 16. Feb 11:08:35 2022 EULA has been accepted
Wed 16. Feb 11:08:35 2022 Extracting F:/OSMC/PI 2/Matrix/OSMC_TGT_rbp2_20211225.img.gz
Wed 16. Feb 11:08:35 2022 Could not open target file F:/OSMC/PI 2/Matrix/OSMC_TGT_rbp2_20211225.img
Wed 16. Feb 11:08:35 2022 Error string was Access is denied.
Wed 16. Feb 11:09:14 2022 OSMC Installer running on Windows
Wed 16. Feb 11:09:14 2022 Detected locale as en_GB
Wed 16. Feb 11:09:14 2022 Attempting to load translation for locale en_GB
Wed 16. Feb 11:09:14 2022 Could not load translation!
Wed 16. Feb 11:09:14 2022 Resolving a mirror
Wed 16. Feb 11:09:14 2022 Resolved mirror to mirrors.dotsrc.org
Wed 16. Feb 11:09:14 2022 Enumerating supported devices
Wed 16. Feb 11:09:14 2022 Added the following devices
Wed 16. Feb 11:09:14 2022 Vero 4K / 4K+
Wed 16. Feb 11:09:14 2022 Vero 2
Wed 16. Feb 11:09:14 2022 Vero
Wed 16. Feb 11:09:14 2022 Raspberry Pi 4 / 400
Wed 16. Feb 11:09:14 2022 Raspberry Pi 2 / 3
Wed 16. Feb 11:09:14 2022 Raspberry Pi 1 / Zero
Wed 16. Feb 11:09:14 2022 Apple TV
Wed 16. Feb 11:09:14 2022 Checking for updates
Wed 16. Feb 11:09:14 2022 Checking for updates by downloading http://mirrors.dotsrc.org/osmc/osmc/download//installers/latest_windows
Wed 16. Feb 11:09:14 2022 Acquired mirror file
Wed 16. Feb 11:09:14 2022 No new update is available
Wed 16. Feb 11:09:21 2022 The user has selected English as their language
Wed 16. Feb 11:09:21 2022 The user has selected Raspberry Pi 2 / 3 as their device
Wed 16. Feb 11:09:21 2022 Attempting to download device versions file http://mirrors.dotsrc.org/osmc/osmc/download/installers/versions_RBP2
Wed 16. Feb 11:09:21 2022 Found a build called 2021.12-1
Wed 16. Feb 11:09:21 2022 Found a build called 2021.11-2
Wed 16. Feb 11:09:21 2022 Found a build called 2021.08-1
Wed 16. Feb 11:09:21 2022 Found a build called 2020.11-1
Wed 16. Feb 11:09:21 2022 Found a build called 2020.10-1
Wed 16. Feb 11:09:25 2022 The user has selected an online image for Raspberry Pi 2 / 3 with build URL : http://mirrors.dotsrc.org/osmc/osmc/download/installers/diskimages/OSMC_TGT_rbp2_20211225.img.gz
Wed 16. Feb 11:09:25 2022 Disabling internal install for device Raspberry Pi 2 / 3 as it does not support it
Wed 16. Feb 11:09:27 2022 SD installation selected
Wed 16. Feb 11:09:28 2022 Installing usbit32 imaging binary to temporary path
Wed 16. Feb 11:09:28 2022 Installing empty boot sector to temporary path
Wed 16. Feb 11:09:28 2022 Installation was successful
Wed 16. Feb 11:09:28 2022 Enumerating imageable devices for Windows
Wed 16. Feb 11:09:28 2022 New disk device entry created with entry point H:, 15279MB free space and label
Wed 16. Feb 11:09:30 2022 Device selected: 4 H:\ 15279MB
Wed 16. Feb 11:09:32 2022 EULA has been accepted
Wed 16. Feb 11:09:32 2022 Downloading http://mirrors.dotsrc.org/osmc/osmc/download/installers/diskimages/OSMC_TGT_rbp2_20211225.img.gz
Wed 16. Feb 11:10:09 2022 Download successful
Wed 16. Feb 11:10:10 2022 Extracting C:/Users/Si/OSMC_TGT_rbp2_20211225.img.gz
Wed 16. Feb 11:10:13 2022 Finished extraction. Going to write image
Wed 16. Feb 11:10:13 2022 Requesting confirmation from user
Wed 16. Feb 11:10:18 2022 User confirmed
Wed 16. Feb 11:10:18 2022 Workaround Windows 10 card protection
Wed 16. Feb 11:10:18 2022 Writing 512 bytes to erase MBR
Wed 16. Feb 11:10:18 2022 MBR is trashed. Now beginning imaging process.
Wed 16. Feb 11:10:18 2022 Could not invoke usbitcmd to write disk image
Wed 16. Feb 11:10:18 2022 Messages: stdout:
USB Image Tool 1.74
COPYRIGHT 2006-2017 Alexander Beug
http://www.alexpage.de

Restoring backup to “Disk drive” (H:)… 0%failed
Error: Could not lock the volume!
Code : 5 - Access is denied.

That would indicate a failed drive that went into readonly mode. Suggest to test the drive with H2Testw

1 Like

Yeah it can’t write anything to it anymore, sd card formatter now fails to format.
It’s strange because I’ve not used the card for a while and I formatted it fine at first and wrote the OSMC image to it fine using win32diskimager (like I’ve always done over the years) but when it booted and started installing in the RPI it said can’t mount root and failed.
So that’s when I started using OSMC Installer.

H2Testw
Warning: Only 75 of 315 MByte tested.
The media is likely to be defective.
0 KByte OK (0 sectors)
75 MByte DATA LOST (153600 sectors)
Details:0 KByte overwritten (0 sectors)
0 KByte slightly changed (< 8 bit/sector, 0 sectors)
75 MByte corrupted (153600 sectors)
0 KByte aliased memory (0 sectors)
First error at offset: 0x0000000000000008
Expected: 0x0000000000000011
Found: 0x0000000000000000
H2testw version 1.3
Reading speed: 25.9 MByte/s
H2testw v1.4

RIP, SD cards can fail anytime without any signs

Thanks for the help anyway.