Tuesday, 29 September 2015

Making a dual-boot Recalbox and KODI system for the Raspberry Pi


-------------------------------------------------------------------------------
Update

I have now made pre-built images.

SEE MY NEW POST HERE
--------------------------------------------------------------------------------

156 comments:

  1. Great easy to follow guide.Worked perfect for me. I can now use Openelec and recalbox without ever changing SD card or rebooting. Thankyou very much

    ReplyDelete
  2. Thanks for the feedback Stuart.
    Your my first comment on my new blog :)

    ReplyDelete
  3. I need help... when I click on the addon always returns to the noobs

    I've tried several options in the addon but always returns to the noobs

    I installed recalbox and Openelec

    ReplyDelete
    Replies
    1. Hi.

      By NOOBs - do you mean the boot menu where you choose between the OS's?
      Does the KODI link in Recalbox work correctly?
      Are you using a Raspberry Pi 2?

      Delete
    2. Yes, the boot menu.
      Yes, the KODI link work correctly.
      I am using a Raspberry Pi 1

      Delete
    3. I see the problem. The add-on is only doing the Pi2 reboot partion. Have added in the Pi1.

      Please try this add-on and let me know if it works :)


      https://mega.nz/#!GIgBmADa!A_Sr5eKzyhaRq3TLM5nBO2k0ZKuWSo_xKmfpWe9BnBI

      Delete
    4. Thank you very much! I can use now recalbox and openelec. Great Job!

      Delete
    5. Thanks for the feedback.
      I have updated the link in the main post with the new addon that also works on Pi1

      Delete
  4. I'm hoping that someone may have encountered this before... I don't know that it's due to the dual-boot setup, but I've installed OSMC/RaspBMC dozens of times and never encountered this.

    Everything seems to be working perfectly EXCEPT that I'm seeing folders such as "RECOVERY", "root", "SETTINGS" and "share" when I browse for files, and there doesn't seem to be anything in my sources.xml to explain it. These directories are being mount in the /media directory - I can "umount" them, but they're mounted again on the next boot.

    Any ideas or suggestions would be greatly appreciated.

    ReplyDelete
    Replies
    1. Have just made a new blog post how to fix this :)

      http://www.matthuisman.nz/2015/10/remove-openelec-file-manager-extra-sources.html

      Delete
    2. You are my hero! Between the dual-boot process and explicit guide to fix this, I can't thank you enough.

      Delete
  5. This comment has been removed by the author.

    ReplyDelete
    Replies
    1. I hope removing your comment means you have fixed your issue :)

      Delete
  6. First of all thx for this great tutorial.

    It work´s really nice.
    But the Icon for recalbox isn´t shown at the menu.

    I have installed your addon at openelec.

    Any idea?

    ReplyDelete
    Replies
    1. Hi Peter.
      I think you mean on the front menu?
      To add shortcuts here, you go to

      System -> Settings -> Appearance -> Skin -> Settings -> Add-on Shortcuts -> Home page "videos" submenu -> Add-on 1 -> Select recalbox addon

      You can put it under different submenu by going to "music" submenu etc

      Delete
    2. Ill add to my post showing how to do this :)

      Delete
    3. Thank´s a lot.
      Everything works perfect.

      Good job!!

      Delete
  7. can someone post a link to an already completed file with everything working for the noobs here ?

    ReplyDelete
    Replies
    1. That is a bit tricky unfortunately. NOOBS enlarges all the installed OS's to the complete size of the SD card when they are first installed, so someone could only share the image that is the size of their card eg. 8GB. If your card is slightly smaller, you won't be able to write the image.

      It would be best to try the above steps and comment if you get stuck :)

      Delete
    2. I found a way :)
      Creating some NOOBS images now.
      Will have a new blog post up soon containing them :)

      Delete
    3. Pre-built images for Raspberry Pi 2 up now:

      See here:
      http://www.matthuisman.nz/2015/11/recalbox-kodi-dual-boot-images.html

      Delete
  8. Matt, first of all... thank you very much, this guide was very helpful!!!
    I did all the steps above and everything works perfect and actually, it still does...
    BUT when I was transfering a lot roms (around 13 Gb of a 32 Gb MiroSD Card) to recalbox through the local network interface, I got the message that there was not enough space available. I would like somehow to make the "share" partition bigger, but after looking for that on internet, I'm still not so sure how what other partition should become smaller. Can you help me with that? I don't really know, where exactly the files (i.e. addons) for openelec are stored.

    ReplyDelete
    Replies
    1. Hi.

      I'm pretty sure NOOBS splits the spare space between the installed OS's. So, say recalbox and kodi system partions are 1GB each and the NOOBS partion is another 1GB, that leaves you with 29GB. It will then split this to Recalbox and Kodi. Thus giving you a 14GB. However, it could be smaller.

      The way to fix this would be to run up a linux PC and run Gparted. Then you would want to shrink the kodi share partion, and then expand Recalboxes.

      Have a read of this about Noobs partioning
      https://github.com/raspberrypi/noobs/wiki/NOOBS-partitioning-explained

      I think both Kodi and Recalbox use 'want_maximised: true' so it splits the remaining size between them.

      Ideally, we would want to modify this partions.json file in KODI before installing. This can be done if we manually transferred to the Pi like with Recalbox, but as it is downloaded, it is installed straight away and we don't get a chance to modify it.

      I really wish OSMC, and OpenELEC would share their NOOBS packages. This would make it easy to share images that don't need the online install.

      I'll try allowing NOOBS to download the package, and then power off and see if it stores it somewhere so I can grab it.

      Delete
    2. oh, just found where the NOOBS packages are kept :)
      http://downloads.raspberrypi.org/

      Sweet, I'll work something out :)

      Delete
    3. Yup. It works :)

      Will have a new blog post up soon with ready-to-go NOOBS images.
      Offline as well, so no need to have internet connection to install.
      Also, KODI will be told not to expand, leaving all the space for Recalbox share partion.

      Delete
    4. Here you go :) ENJOY!
      Please post feedback about the images on the new post.
      These images are ready to go and should not split the space into KODI leaving you all the space for roms!

      http://www.matthuisman.nz/2015/11/recalbox-kodi-dual-boot-images.html

      Delete
  9. Hey matt, work only once super and thank you for your trouble. I was not satisfied with recalbox Kodi, very slow with HDMI CEC and not in full control of Kodi. of OpenELEC I'm a fan but wanted to also have recalbox. I really wanted to do that with berry boat but it's really complicated. Then I came across your site. really great. I have taken the completed file from you everything works great, only I would like to update recalbox and OpenELEC. How can I do that? unfortunately goes with me the single install of the OS is not because I have only Cable Wireless lan no long, or is there ready OpenELEC file kodi 16 Jarvis for berry boot? sorry for the English is translated with google. di can also write pn if you want me. [email protected] I hope you can help me. MfG Moris

    ReplyDelete
    Replies
    1. Recalbox you can update via the menu as normal. It will also tell you when there is a new update.

      OpenELEC will also update by normal. However the NOOBS version is quite old and it can't be automatically updated to new major versions. You have to manually update.

      Boot OpenELEC. Make sure SAMBA / SMB is enabled. On a network computer, download the latest update file from here http://openelec.tv/get-openelec . Get the 'update file'. Make sure to get the correct one for your Pi version.

      You now will have a filed called something like OpenELEC-RPi2.arm-6.0.0.tar. Copy this file into the \\PI_IP\Update folder. Now reboot OpenELEC. It will reboot and then update to the latest KODI 16 :)

      Read here:
      http://wiki.openelec.tv/index.php/Updating_OpenELEC#Manually_Updating_OpenELEC

      Delete
  10. Hey Matt! I just updated to Recalbox v3.3.0-beta15 and I just can't launch Kodi at all (from Recalbox). I checked the recalbox.conf and it is still kodi.partition=8 there. Any ideas?

    One thing I changed was adding a autoboot.txt file to the RECOVERY folder with:
    ______________

    #Skip NOOBS screen (8 for OpenELEC, 5 for Recalbox)
    boot_partition=8

    ______________

    as I usually use Kodi more.

    ReplyDelete
    Replies
    1. Are you using my pre-built images or you have done the above steps yourself?

      Delete
    2. I'm doing an update now to see what has happening :)

      Delete
    3. I've reverted everything to stock and KODI still doesn't launch. I think there may be a bug in this update. Looks like the emulationstation isn't even calling the kodilauncher.sh file at all. I am downloading the update and will try a fresh install to see if it's the same.

      Delete
    4. Odd. A fresh install boots into internal KODI. I then did the exact same modifications as old image and it worked. So, for some reason the update from Beta 14 -> 15 broke something. I will need to make new images. Hopefully have them up later today.

      Delete
    5. I'm using your pre-builts ;) No idea what to do!

      Delete
    6. Hi. I will upload new images tonight.

      We will see if they still work after the next update.

      If not - then it appears the best way will be to just do it manually.
      Maybe when I modify the few files and package it up, it causes some headache for the update script.

      Delete
    7. OK.
      I know how to fix your problem.
      It seems that recalbox is unhappy we haven't ran it's internal KODI.
      So, we need to manually run it and then our link will start working (weird I know!)

      First boot into Recalbox.
      You will then need to SSH into it.
      Now run this command in the terminal

      LD_LIBRARY_PATH="/usr/lib/mysql" /usr/lib/kodi/kodi.bin --standalone -fs -n &

      Internal KODI will start. Now Reboot.
      Once back in Recalbox - your link to external KODI should start working.

      I've posted a github issue here:
      https://github.com/recalbox/recalbox-os/issues/502

      Delete
  11. Thank you Matt! I hope they correct it so the next update doesn't break something.

    ReplyDelete
    Replies
    1. The creator has replied back to my github issue saying he will fix it so signs look good :)

      Delete
    2. It has now been fixed. Just updated to latest Beta16 and the KODI link remains working :)

      Delete
    3. Great to hear! Thanks for reporting the issue! Have a good weekend!

      Delete
  12. Hello Matt, great work you are doing!
    It drives me crazy, i have a personal backup of Openelec 6.0.0, saved as a .tar file.
    Tried to update direct from your version to my backup file, that did not work.
    Then used a normal update to clean 6.0.0 and that worked fine. But still I can not update or install restore from backup map withe my restored backup.
    The backup comes from a dualboot on NOOBS but with Openelec and Retropie, can that be the problem?

    ReplyDelete
    Replies
    1. I don't see why it wouldn't work.
      Is this just a backup you have done within OpenELEC?
      Worst case you could just copy your videos.db etc and transfer them over.
      It will need to recache images again and you will need to install addons but at least your database would be OK

      Delete
    2. Why it would not work, that was the question... I found my mistake!
      I changed the filename of the backup, so I could recognize it easy. Changed it back to its system filename and it installed perfect. Learning day by day ;)

      Delete
  13. Thank you!! It's a great tutorial. I have installed Raspbian, Rocalbox and OpenElec.
    I want to start Raspbian in OpenElec with a second Script like your Recalbox. But i'm a verry great Noob :-) .
    Where can i find such a Zip-File?

    ReplyDelete
  14. It works all very fine. When I use the Partition 6 Raspbian starts with your Script. I only need a second Button with the same setting options :-)

    ReplyDelete
    Replies
    1. I have a created a new addon quickly for you. It's called script.raspbian.launcher.

      You can get it here:
      https://mega.nz/#!2Q5iTbCD!muQAlM5L90DeCxllCt0_b-XppJGfOdpZGp6bf9jEE5I

      (Default partion is still 5 so you will need to change to 6)

      Delete
  15. Thank you very, very much. Loadet and testet -> very nice :-)

    ReplyDelete
  16. a couple questions...

    When I boot to recalbox from kodi, creen goes black and I have to manually reboot. How can I fix this?

    How do I add n64 emulator and ROMs in general to recalbox.
    thanks

    ReplyDelete
    Replies
    1. try changing the boot partion in the KODI addon settings. Try 5, 6, 7, 8.

      Best to ask on the Recalbox forums about roms etc.

      Delete
    2. Thanks Matt. I'm new at this... How do I do that exactly?

      Delete
    3. Go into KODI->Programs->Addons. Move down to recalbox launcher addon. Open the context menu (C on keyboard). Go to Addon Settings. Now change the boot partion.

      Delete
  17. Thanks Matt, That worked!
    Is there a way I can have the Pi boot up in OSMC automatically when I boot up the Pi?
    thanks

    ReplyDelete
    Replies
    1. Read the "(Optional)" part at the end of the instructions on this page, keyword: autoboot.

      Delete
    2. I tried the autoboot.txt to 5 and 6 and it didn't work either. In fact recalbox wouldn't boot at all. I backed up sd card before...

      Delete
  18. It is booting up with Kodi now! All good!

    ReplyDelete
  19. Actually, now I can't boot from Recalbox to OSMC. Just turns off. Any ideas?
    thanks

    ReplyDelete
  20. I can boot from kodi to recalbox but not from recalbox to kodi.
    Changing the boot partition in recalbox add-on setting to 6 made the boot from kodi to recalbox a success. But how can get from recalbox to kodi?
    thanks

    ReplyDelete
    Replies
    1. If you had followed the steps above, you shouldn't need to change anything. Maybe you should try to pre-made images?

      Delete
    2. thanks, I'll try starting from scratch or pre-made image.

      Delete
    3. Are you installing more Os's? Or just Recalbox + KODI?

      Delete
  21. I just installed the recalbox/openelec image and it works great!
    Is there a way to update kodi to the newest version?
    Thanks again Matt!

    ReplyDelete
    Replies
    1. Again, see the bottom of that post about updating OpenELEC to 6.0

      Delete
    2. http://wiki.openelec.tv/index.php/Updating_OpenELEC#Manually_Updating_OpenELEC

      Delete
    3. Thanks Matt, after installing OpenElec 6, can it do updates automatically?

      Delete
    4. I tried installing a tar backup of OpenELEC (5.0.8) but it will not show up when I click on restore option. I made sure to put it in the storage folder but it will not find it. Any reason why?

      Delete
    5. OpenELEC will be able to update via KODI once you are on 6.0.
      To restore a backup TAR, I think you do it in KODI itself (same area where you made the backup). Using the update folder is just for updating OpenELEC itself.

      So, go into OpenELEC settings, restore backup. Once restored. Then update OpenELEC to 6.0 using the update folder method.

      Delete
  22. Got the TAR backup to show up but it says there is not enough free space to continue. The backup TAR is 1.6GB and there is plenty of room on the 8GB sd card so I'm not sure why it says that...

    ReplyDelete
    Replies
    1. It's because most of the free space gets allocated to the Recalbox ROMS share partion.

      Delete
    2. If I was you I would just update to 6.0 and scan in all your movies etc from scratch.

      Delete
    3. I'll try to update to 6 now. Trying to find out which type (generic or legacy) to install. When I click on system info it says VideoCore IV HW under the GPU. I can't find a relation to generic or legacy. Thanks again Matt. Appreciate your patience! :)

      Delete
    4. If your Raspberry Pi 2, you want this:
      http://releases.openelec.tv/OpenELEC-RPi2.arm-6.0.0.tar

      Download that and put in UPDATE folder, then reboot.

      Delete
    5. I don't see an UPDATE folder... Should I create one?

      Delete
    6. http://wiki.openelec.tv/index.php/Updating_OpenELEC#Manually_Updating_OpenELEC

      Delete
    7. YES! I successfully installed version 6.0!
      Thanks again Matt!

      Delete
    8. The only thing I can't working get is that "optional" autoboot.txt (boot_partition=8) to get pi to boot in OpenELEC. Will that still work on version 6.0?
      thanks

      Delete
    9. It should work... make sure you have the file name correct (autoboot.txt) and in the root of the SD card.

      Delete
    10. I have brand new much improved images on my other post now. They come with autoboot already working and OpenELEC 6.0 out of the box!

      Delete
    11. When booting from recalbox to kodi:
      It loads an older version of openelec. Not my newer version of openelec 6. I have to manually restart and select openelec from boot start up window. Any reason why this is happening?

      Delete
    12. Hi.
      This is an issue with my older images (fixed in latest).
      Quite an easy fix.

      See the section under "Possible Issues" in my other post:

      http://www.matthuisman.nz/2015/11/recalbox-kodi-dual-boot-images.html

      Delete
    13. This is what I see in recalbox config:
      global.ratio=4/3
      global.rewind=0
      global.shaderset=retro
      global.smooth=1
      updates.enabled=1
      audio.bgmusic=1
      audio.volume=96
      kodi.atstartup=0
      kodi.enabled=1
      kodi.xbutton=0
      wifi.enabled=0

      I added kodi.partition=8 and still not working.
      Should I add more codes to the config?
      Already customized openelec 6.0 and recalbox... Want to try to avoid starting over. Thanks

      Delete
    14. Please follow the posts correctly.
      Use copy and paste.
      You have used kodi.partition=8 instead of kodi.partion=8

      Delete
    15. It is a typo but needs to be partion not partition

      Delete
    16. oops... Got it and it works! Thanks!

      The last thing... Trying boot straight into kodi. I put the autoboot.txt (boot_partition=9) and nothing...

      Delete
    17. You need boot_partition=8
      My instructions for autoboot on my two posts are updated for the newer noobs version which puts partitions +1. So, you use boot_partition=8 (same as the recalbox config partition number)

      Delete
    18. gotcha! thanks.

      I'm also trying to free up space on the sd card. The JSON file looks different then yours:
      I didn't want to change the wrong section.
      {
      "partitions": [
      {
      "label": "boot",
      "filesystem_type": "FAT",
      "partition_size_nominal": 60,
      "want_maximised": false,
      "uncompressed_tarball_size": 11,
      "mkfs_options": "-F 32"
      },
      {
      "label": "root",
      "filesystem_type": "ext4",
      "partition_size_nominal": 2000,
      "want_maximised": false,
      "mkfs_options": "-O ^huge_file",
      "uncompressed_tarball_size": 600
      },
      {
      "label": "share",
      "filesystem_type": "FAT",
      "partition_size_nominal": 1000,
      "want_maximised": true,
      "mkfs_options": "-F 32"
      }
      ]
      }

      Delete
    19. Not possible. NOOBS only looks at then when it's installing initially. It won't make a difference now. So, either stick with the space you have or start over.

      Delete
    20. That is how NOOBS works. It reads that when first installing OS's and create the partitions. Also, if your using my last pre-made image, then Recalbox Share partition is already set to take all the space it can. You might want to look into having your roms on the network or USB stick.

      Delete
  23. help me... i got wireless mx3 remote keyboard... not working on recalbox.. its working on kodi..

    ReplyDelete
    Replies
    1. Sorry. I am not the developer of Recalbox. Best to ask on the Recalbox forums.

      Delete
  24. So how do I get that same dashboard and those add-ons in openelec like in your video? I tried searching for them in the package manager and get nothing or some Christian quote app. I want pretty much the exact same thing you had, unless there's a way to add Plex and Netflix/Prime streaming- but I don't think that's possible?

    ReplyDelete
    Replies
    1. What video???
      Sorry, I have no idea what your talking about.
      I assume you have posted on the wrong blog

      Delete
  25. Hi Matt,

    Can I ask you, what are the benefits of having OpenELEC/XBMC Kodi against the Recalbox packaged Kodi? Is it the range of features and performance the main differences? My understanding is that Recalbox runs XBMC version as a dual boot but I'm not sure if it's the full fledged or a cut-down version (https://github.com/recalbox/recalbox-os/wiki/Manual-%28EN%29#kodi)

    In terms of my Kodi use cases, I'd like 1) playing local media playing located on a USB drive that I'd sharing on my network via SAMBA 2) Having add-ons like Netflix or Youtube streaming 3)Enabling AirPlay on Kodi so I can stream music from my iPhone.

    Thanks!
    Marcos

    ReplyDelete
    Replies
    1. I haven't really used the internal Recalbox KODI much so can't comment on the performance.

      I just like using OpenELEC or OSMC as they "concentrate" on the media center sides of things and bring out regular updates etc.

      Just makes more sense to me to separate the media center and Emulation side of things.

      I'm sure the internal KODI will do everything you need :)

      Delete
    2. Thanks Matt. For a moment I thought Recalbox came already with OpenElec or OSMC, but having read more carefully Recalbox wiki they mention 'XBMC' which I understand is nothing else than how Kodi used to be named. I'll go ahead with your build as I see the benefits. Just one last questio, would you recommend OpenELC or OSMC for what I intend to use it for? I understand OSMC is more configurable than OpenELEC?

      Delete
    3. Recalbox does have KODI. They probably have forgotten to update the Wiki. They have their own compiled build of KODI built-in. If you want to install more stuff (eg. torrent software), go for OSMC. Please see the top of this post for the link to the pre-built images.

      Delete
  26. Hi, i have an issue. If my xbox controller is off, and I switch from Kodi(osmc) to Recalbox and turn the xbox controller on by pressing the X-Button in the middle, Recalbox will restart immediately.

    ReplyDelete
  27. Hello there, I have tried the tutorial 3 times now, including the SDFormatter but I always get an error "cp: can't create '/recalbox/scripts/kodilauncher.bu': Read-only file system".
    However, I can write onto the sd card via FTP.

    I use a SanDisk Ultra 10 16 GB micro SD in my Pi2.

    Hope someone has a hint for me.
    Thanks in advance.

    Alex

    ReplyDelete
    Replies
    1. I recommend you use one of my pre-made images.
      New images will be up within next 6 hours that contain Recalbox 4.0

      But, to fix your issue - run this command in terminal

      mount -o remount,rw /

      Then make the changes, then run

      mount -o remount,ro /

      Delete
    2. Thank you Matt!
      I will give it a try.

      Delete
    3. Hi Matt, I tried your new image 1.4 with Openelec for the Pi2. Installation worked, but after the reboot Openelec only shows the 'blue bubble' background screen.
      No menu, nothing, no reaction. Reboot doesn't change anything, still stuck with the Openelec background. Any ideas?

      Thank you.

      Delete
    4. Hi. A small bug. The first time Recalbox boots, it still uses it's internal KODI. Reboot the Pi and go into Recalbox again. Now the KODI link will work and reboot into OpenELEC. Looking at fixing now

      Delete
    5. Hi. Just re-read your comment. Your problem sounds nothing like what I found. I think you should try copying it to the SD card again. Format the SD card using SD Formatter. Then copy of the files again. I have tested fine this morning.

      Delete
  28. Hey Matt,

    is it possible to get a similar Script/Addon for Kodi and a command for other OperatingSystems for BerryBoot? I like Berryboot more then Noobs and would like to change my OS in your way. Thanks in advise!

    ReplyDelete
  29. The addon link isn't working.
    Mega says 'File is not available'

    ReplyDelete
    Replies
    1. This post is outdated now.
      But, the addon can be found here:

      https://mega.nz/#!PQokhIZT!zy65oBBXA_vPD6PnUCZMX0ObekoPoeRZ_oK1lMtinRE

      Delete
  30. Hey Matt, is there any way you can make a triple boot of this Build adding in raspbian? Also, I have the raspberry pi 3 and I was wondering if you knew how to activate both the Bluetooth and the Wi-Fi Within the pi 3? I'm trying to get my PS3 controller to run wirelessly Or by Bluetooth

    ReplyDelete
    Replies
    1. Recalbox and KODI don't currently have support for the Pi3 Bluetooth. As for triple boot - I may look into this.. if I get time :)

      Delete
    2. Hi Matt, thanks for the quick response. Please forgive me if this is a silly question but I really am a newbie when it comes to all of this… Is it possible to use the Bluetooth in the pi3 for my PS3 controller and if not I have an external dongle that came with software but I don't know how to install the software on my pi3. I read some documentation about using the terminal to get to the command lines to activate my Bluetooth but I don't have raspbian. Any ideas as to how to get this PS3 controller running wirelessly?

      Delete
    3. KODI does not work with bluetooth controllers (yet).
      Recalbox does not work with Pi3 built-in bluetooth (yet).
      Recalbox may be able to work with your bluetooth dongle.

      See the Bluetooth Dongle section here:
      https://github.com/recalbox/recalbox-os/wiki/Compatibility-%28EN%29

      Delete
  31. Hi Matt, thank you for creating such a wonderful build. I had no idea how to get the Internet going with the pi but your build came with a wonderful wizard that got my Wi-Fi up and running just like that, I couldn't be more grateful thanks. Is there any way you could assist me with adding raspbian to your Recalbox/Openelec-Kodi build? I've tried copying raspbian from your triple boot and I added it to your dual-boot it installed on the pi but then did nothing when I booted up. Then I tried adding raspbian via the Internet it to installed along with your build but only your build boots. I can't find raspbian anywhere. Do you have any idea how I could integrate raspbian into your already fabulous build? I could really use the help. Thanks.

    ReplyDelete
    Replies
    1. Hi. First of all. I haven't modified KODI or Recalbox. KODI (OpenELEC) always has a wizard at the start for WiFi setup etc. So, thank them - not me.

      If you have installed Raspbian alongside, then put the SD in your PC and delete the autoboot.txt file.

      Now when the Pi boots up, you can choose which OS to run (KODI / Recalbox / Raspbian)

      Once in Raspbian, go to System -> Reboot, and now select which OS to boot.

      In Recalbox, you can boot straight to KODI or go to Reboot and then choose Raspbian.

      In KODI, you can boot straight to Recalbox or go to Reboot and then choose Raspbian.

      Delete
    2. Also, that Triple Boot is not mine.
      I only do the builds on the page.

      Delete
  32. Hi!

    Thank you for your work! I have a few questions regarding your images:

    a) What happens if recalbox gets an update. How do we restore the image link back to OSMC or are they persistent?

    b) Can I start osmc/ recalbox from the other OS/image via terminal somehow?

    Thank you!

    ReplyDelete
    Replies
    1. Hi Marc.

      a)
      Updating either OS won't affect it :) OSMC will persist the installed add-on. Recalbox also uses a script in the "share" partition, so will also per persisted across updates. So, update away :)

      b)
      From terminal, you can use


      echo 6 > /sys/module/bcm2709/parameters/reboot_part && reboot


      6 is the partition number.

      6 = Recalbox
      9 = OSMC / LibreELEC

      This is also assuming you using a Pi2 / Pi3.
      If your using a Pi1, swap bcm2709 with bcm2708

      Delete
    2. You may need to use sudo

      sudo echo 6 > /sys/module/bcm2709/parameters/reboot_part && sudo reboot

      Delete
    3. -bash: /sys/module/bcm2709/parameters/reboot_part: Keine Berechtigung (no permission)

      =/

      Delete
    4. Oh, you'll need

      mount -o remount,rw /
      echo 6 > /sys/module/bcm2709/parameters/reboot_part
      reboot

      Delete
    5. I'll anwer this myself because only this worked:

      echo 6 | sudo tee /sys/module/bcm2709/parameters/reboot_part && reboot

      =)

      Delete
  33. Thank you for your reply! =)

    today I ran into another problem: "osmc insufficient space for update"

    Dateisystem Größe Benutzt Verf. Verw% Eingehängt auf
    devtmpfs 362M 0 362M 0% /dev
    tmpfs 367M 5,1M 362M 2% /run
    /dev/mmcblk0p10 2,0G 1,8G 61M 97% /
    tmpfs 367M 0 367M 0% /dev/shm
    tmpfs 5,0M 0 5,0M 0% /run/lock
    tmpfs 367M 0 367M 0% /sys/fs/cgroup
    /dev/mmcblk0p9 79M 32M 48M 40% /boot
    /dev/mmcblk0p1 477M 392M 85M 83% /media/RECOVERY
    /dev/mmcblk0p5 30M 440K 28M 2% /media/SETTINGS
    /dev/mmcblk0p7 1,9G 804M 1017M 45% /media/root
    /dev/mmcblk0p8 55G 22G 30G 42% /media/share
    /dev/mmcblk0p6 60M 6,7M 53M 12% /media/boot
    tmpfs 74M 0 74M 0% /run/user/1000

    Any idea?

    ReplyDelete
    Replies
    1. Updates get downloaded to:

      /dev/mmcblk0p10 2,0G 1,8G 61M 97% /

      Which is the OSMC root partition.
      You have 1.8G already on it (it's 2G in size)

      You need to free up some space on it.

      Delete
  34. Hi there!

    Any idea how to resize the Recalbox partition to give away some space for OSMC by using the pi itself or a mac?

    ReplyDelete
    Replies
    1. Not sure on Mac. You can use GParted in linux to resize partitions. Or, if you start with a fresh install, you can edit the 'partition_nominal_size' setting in partitions.json files in the NOOBS 'OS' folder

      Delete
  35. Help! After the update of osmc the link from recalbox back to osmc is broken. The pi just shows a black screen and freezes.

    Any idea?

    ReplyDelete
    Replies
    1. No sorry. I can't see why an OSMC update would affect the link in Recalbox.

      Delete
    2. Hi!

      It was a coincidence. I mounted the save folder in recalbox from my NAS. That was the reason the reboot failed. =)

      Delete
  36. First thank you for doing this as I've just had it with the built-in kodi and am really excited for this.
    My question: why in OSMC file manager, can I not transfer files from usb had, directly over to the share folder? Copying over my backed up roms and condors over network is just not doable, as complete transfer could take hours. In official recalbox, I was able to go into kodi and transfer files. I don't have currently the ability to wired lan both systems into same router. When I transfer files I get an error and it says canceled, though both directories are accessible from within manager.

    ReplyDelete
    Replies
    1. Gotta love autocorrect. "From USB had" = HDD, "Roms and condors" = configs. Sorry.

      Delete
    2. Hi. It would be best to ask over at the OSMC forums :)

      Delete
  37. I don't know if this is the way its supposed to work but it would be great if it could..When you go to Settings in Recalbox, then change the Kodi settings to Auto boot into Kodi it works great. The problem is I can't get out of Kodi after that. It always loads Recalbox then kicks out and goes to Kodi. It would be great if we can configure this so it works correctly thus eliminating the need to edit the autoboot.txt file.

    ReplyDelete
    Replies
    1. I'll check tonight. My thoughts are that that setting is actually starting Recalbox's internal KODI and not LibreELEC / OSMC. It also seems a bit silly using that setting instead of autoboot.txt. This is because it will first boot into Recalbox, then reboot into KODI. Instead of just booting into KODI. Therefore at least doubling the time to boot.

      Delete
  38. Hey i wanna install a build to my kodi, but if i delete the folder /home/osmc/.kodi/addons&userdata i can't go in the recalbox
    And my build didn't work
    Maybe cause i used kodi in the same time like i transfer the data in the folder?

    But if i wanna transfer the folder from recalbox side i can't see the /home/.. Folder

    How i can install my build and have recalbox? (which folder in the folder addon shouldn't i delete?)

    For all answer thanksfull

    ReplyDelete
    Replies
    1. I dont really understand.
      You can simply download my addon zip from my main post and install the addon yourself. All that addon does is reboot into Recalbox partition

      Delete
  39. Hi Matt,
    I've got a small problem. I'm running the V7.9xxx of LibreELEC and yout addon isn't working anymore. Seems like the folder bcm2709 in /sys/module/bcm2709/ is missing. I can't even create one. Tried remount rw of / bot no chance to create a folder. Any ideas?

    ReplyDelete
    Replies
    1. Yes. The addon doesn't currently work with beta builds of LibreELEC. Once the stable version is released, I will update addon. I might also find time to fix it before then. If so, I'll add a link to the main blog post :)

      Delete
    2. I have now updated the addon to work with newer builds :)
      Download it in the "Possible Issues" section on the main blog post.

      Delete
    3. Thanks. I saw what you did in the code. Still not rebooting in Recalbox. I will try it now without autoboot.txt

      I read in kernel changes they deleted bcm module and are now using another which works on more cores....

      Delete
    4. found the fault. shitty kodi only updated the program and did not reset the setting to default. :) now its booting. thank you very much.

      Delete
  40. Hi Matt,

    Thank you for the work.
    Libreelec and Kodi work very well.
    But I can't access to recalbox. I went once and then I changed a setting (I modified "internal storage" by my usb external disk because my roms are there). Since that, I no longer have the multiboot menu. Libreelec starts right away. It does not work either with the Recalbox addon in Kodi.

    I also can not enter ssh in Recalbox since it does not boot. How do I access Recalbox config files?

    ReplyDelete
    Replies
    1. If you delete the autoboot.txt from the SD card, it should now show the NOOBS OS selection menu

      Delete
    2. After deleting the autoboot.txt, the os menu appears. When I try to start Recalbox, I can see Recalbox is trying to start but after a few seconds it stops and libreelec starts.
      I dont have the time to connect Recalbox in ssh to manage files or try to find the origin of the problem.

      I do not know if it has something to do with this issue but in kodi, I have already tried to change the number of the shortcut to recalbox.

      Delete
    3. Sounds like your Recalbox has broken. Only thing I can recommend is starting from scratch

      Delete
    4. Thanks for your quick answers. You're a good one :)

      What do you mean by "starting from scratch".
      Is there a possibility to do "this" without loosing my Libreelec settings?

      Delete
    5. Ok I've understood "starting from scratch".
      I've already done this and the same setting modification in recalbox (choosing an external disk) has already broken recalbox.
      Is there a possibility to do this without loosing my libreelec settings?

      Delete
    6. you might want to make a post over at Recalbox website. I do not make recalbox. I just make the dual-boot.
      In libreelec, you can go to settings -> Libreelec and then create a backup

      Delete
  41. Kodi 17 is out now. Are you going to fusion them again?

    ReplyDelete
    Replies
    1. I mean Kodi and Recalbox :D

      Delete
    2. Well yes as soon as KODI 17 stable is released for the Pi (LibreELEC 8.0). You can easily update once in KODI anyway :)

      Delete