Researching a bit more it looks like incompatibility with the “partition_setup.sh” script.
The script works for raspian and retropi, but not with OSMC.
Any suggestions how to setup the “partition_setup.sh”?
My reason is to have the ability to switch between RetroPi and OSMC (and maybe RaspPlex) without the need to change cards
Thanks Sam,
My reasoning is so that I don’t have to start from scratch and it’s easy to pass to family/friends who have limited knowledge.
Also nice to meet you. I actually found your github after I posted and played with the script. Using the script verbatim and modifying your script (both version) I was able to pass and complete an install and then… 4 blinking green lights.
On my computer I check the partition of the sd card and it crc matches. Comparing the noobs OSMC partitions that is created and they look similar except for the size with my custom osmc being larger; which would make sense.
So, I’m thinking I must be doing something wrong when I tar the root and boot directories.
You are getting the flashes because I suspect you have not modified config.txt. Adding
start_x=1
should fix your problem. I add a few more options in config.txt at build time here. I understand you’re not using my build script, but I’d suggest you copy the appropriate config.txt settings (either for Pi1 or Pi2):
I’m a little embarrassed. I didn’t look at the config.txt and I also did not know/understand that noobs replaced the config.txt with it’s template. Thanks for pointing that out.
I edited the config.txt and removed the template lines; using the Pi2 config - still 4 flashes of green.
[I rebooted and rechecked that the file was modified]
Manually “dd” /boot ofcourse worked, but that not ideal.
I spent a couple of days building a VM so I can log the process. Also I spent a good deal of time reading the NOOB doc - IMO there are a lot of gaps (maybe intentional…).
NOOBS 1.4.1 sometimes uses the contents from “root.tar.xz” - cmdline.txt and mounts the partition when it shouldn’t. I might go back and see why.
Partial Solution: remove the cmdline.txt from the custom package
further testing I can’t replicate the issue all the time and the other variable is it could be the SD card (I have 5 of the same manufacturer ADATA 16GB UHS-I)
TL;DR
Remove the cmdline.txt from your custom package if you get 4 green light blinks