Have been trying to install OSMC onto an SD card using the latest installer with no luck.
The installer fails to write throwing the following error in the log.
Fri Jan 31 15:46:17 2020 pasting admin script to process do shell script "dd if=/Users/fraser/OSMC_TGT_rbp2_20191118.img of=/dev/rdisk2 bs=1m conv=sync && sync" with administrator privileges
Fri Jan 31 15:46:17 2020 waiting for finish
Fri Jan 31 15:46:23 2020 osa claims to be done...collect output and verify
Fri Jan 31 15:46:23 2020 Imaging failed!
Fri Jan 31 15:46:23 2020 Messages are:
Fri Jan 31 15:46:23 2020 stdout:
Fri Jan 31 15:46:23 2020 stderr: 0:133: execution error: dd: /dev/rdisk2: Operation not permitted (1)
If I simply use dd to write the image…e.g: sudo dd if=/Users/fraser/OSMC_TGT_rbp2_20191118.img of=/dev/disk2
Then it creates the image on the SD card without any issue.
great…but then how do I configure WIFI settings?
The issue is that I have no keyboard to plug-into the PI - so I really need to either configure the WIFI settings on install or else after by altering a file on the SD card.
Am I totally stuck here? Is there anyway to either a) get a working installer or b) manually setup the wifi on the SD card before I insert it into the PI?
Ah that sounds ace, many thanks for the fast reply…however I don’t see any “preseed.cfg” on the SD - also googling “preseed.cfg” and searching on this forum doesn’t really help either.
Am I missing something? Do I create preseed.cfg at the root of the SD? Also what is the format of it - presume it just takes the SSID and PSK…
Again many thanks for the fast reply and sorry if I am being a bit dim here
Sorry by “didn’t work” I mean that it never connected to the network. I’m using the internal wlan adapter on the PI (also tried with interface wlan0 as well on a clean SD).
FWIW I got LE to work first time - created .cache/connman/wifi.config then added the relevant service fields ssid, etc and turned on ssh in cmdline.txt - worked perfectly first time (i.e. it connected to the network at boot).
Anyway thanks for the help - will be sure to give osmc a go when it has either a working installer or a working method to preconfigure.
hmm that is most odd, I am using the exact same board - happy to try and provide any information that could help…would much prefer to use OSMC over LE as I really like the idea of having a full OS to work with - LE is fine for the “MC” part but has real limitations when it comes to running other software alongside it.
Will give it another go over the weekend and see if I can’t get it to work. Again for clarity - I am writing the image to SD with:
Ended up doing just that - although finding a cat5 cable was tricky…found one in a old router box!
As an aside - osmc is superb - nicest looking “kodi” I’ve seen…I have it running on a rpi 3b+ with a 24bit IQAudio Pi-DigiAMP+. With a wee bit of tinkering I have it outputting the audio via my speakers - and have Airplay working so I can output from my phone, pad, laptop, etc. This is a superb feature and it blows my sonos out of the water for sound quality.
Really don’t know what the issue was with the preseed.cfg - probably user error - but I did try it a number of times and double checked everything each time
Anyhow, thanks for the help and hopefully an installer fix is forthcoming - other people might not persevere as I did - and it would be a shame for them to miss out