RETROPIE V4.0.2 + OSMC 2016.07-1 DUAL-BOOT

Here is a Dual Boot build of RetroPie & OSMC (16.1 Jarvis) for the Raspberry Pi 2 & 3:

Click here to download

As usual this is a NOOBS USB installer build so please follow the instructions in the included ‘readme’ file.

This build also incorporates my new ‘smart’ switching scripts, which will seek out which partition is the correct one before mounting it and loading the other OS. This prevents the incorrect partition being mounted if you were to mix and match OS’s, which could leave the card in an ‘un-bootable’ state. I have tweaked the script in RetroPie slightly as I realised the existing script wouldn’t find an OSMC partition – now it will!

The ‘Always boot to KODI’ entry is in the RetroPie menu like on the other builds. Use this to always boot to KODI (obviously!) on every boot and you can turn it off again should you desire. More info on this in the readme file.

Other than that, both operating systems are standard so should work as they were designed. Please test it out and let me know your thoughts! 🙂

p.s. Pi 1 / Pi Zero build to follow later…

All the best.


74 thoughts on “RETROPIE V4.0.2 + OSMC 2016.07-1 DUAL-BOOT”

  1. Awesome, thanks again, been following you since the start… Slight off topic but I seem to struggle with adding mame games like metal slug, I can never get them to work. Would you know a good site to use, I never know what emulator to use? Do you ever think about doing an image with a ton of games added? This FB group is good for that, just doesn’t have your awesome dual billed on..*******
    thanks again

    *(Edited to remove link to FB group)

    1. Thanks Chris.

      In regards to Metal Slug in particular – have you added the ‘’ bios file into your mame roms directory? You will need this in order for Neo Geo games to work. Other than that it is just a case of getting the right romset for each arcade emulator (there are a few now!) and then trying each game out to see what emulator it works best in. Its a tedious affair, and one of the things that took me the longest to complete. Now that we have new versions of MAME and FBA to use I am having to go through it again myself. :s

      If there weren’t any copyright / legality issues then I would definitely release a full ready to go image with all roms, screenshots, gamelists etc. but then where would the fun be in setting up your own personal build? 😉


  2. Not yet downloaded. I just searched for dual boot for OSMC and Retrop.
    I expected will find instruction of SSH terminal (I have almost zero knowledge)
    But… there are so many amazing guys like you author.
    It seems your work will give me a lot easier eay to have dual boot Rasp3.

    Sincerely thanks for your work.

    1. You are welcome. Yes the aim is to make life easier for folk as I know how hard it was to get to grips with when I got my first Pi! It has since led me on to learning Linux and of course creating these builds, scripts, add-ons etc. They are a good learning tool!

      All the best.

  3. This is awesome thanks Steve! I’m new to the scene and after tons of toiling and hair-pulling I finally have Kodi set up the way I want it…BUT I want to use your build so that I can have Retropie as well on my Pi 3. Any ideas?

    1. Hi Mike.

      What version of KODI are you using currently? It should be straightforward to do a backup of your build and then install it on a new version, but the process may slightly differ between OS’s so please let me know what you are running now and then I can try and help.


  4. you deserve a standing ovation. works! im going to try your triple boot. I noticed that the kodi versions are different with this one and the tripleboot version. is there a reason for that?

  5. I’m having an issue when installing these. Every time I attempt I get an “Error resizing existing FAT partition Error The FATs don’t match” error. Do you know what I need to do to fix this?

  6. First off, many thanks for this build! This is exactly what I’ve been looking for. One snag I’ve run into is running out of space on the RetroPie side. Is there any way to designate 4gb to OSMC and the rest of my 32gb card to RP or does NOOBS only split it down the middle?

    1. Hi @ AlmightyHeretic

      Yes you can change the sizing but it have to be done before installation.
      There is a readme file in the download folder with full instructions on how to do so.
      If you want to give a specific sizing to one:
      In the OS folder in the OS you want to change,
      eg. in OS – OSMC open file “partitions.JSON” using notepad++ edit “partition_size_nominal” : 4000,
      “want_maximised” : false
      and in OS RetroPie –
      “partition_size_nominal” : 4000,
      “want_maximised” : true

      Hope this helps….

        1. Hi. Apologies for the lack of replies from me but I am currently on holiday with no wifi and terrible phone signal!

          I will review and reply to all comments when I am back home next week.

          @Candy thanks again for your replies in my absence!


        2. @ almighty
          You are very welcome. I should have also mention that the “nominal” size could be anything you want but just make sure its enough to install the OS on with a little extra room. Also “False” means that you want it to remain with the size you choose with “nominal” and “True” means you want with to share the size/room that remains after all the “nominal’ size is distributed.

          Hope that clarifies things a little more.

  7. Hi,
    Ive just installed the dual boot build of RetroPie & OSMC (16.1 Jarvis) for the Raspberry Pi 2 on a 64Gb microSD card.
    I notice that the readme says that NOOBS takes care of all partition re-sizing automatically, with it allocating around 2.5GB for OSMC and the rest of the available space for RetroPie, but Ive stuck the microSD card in my PC with Easeus Partition Master, and its saying there are 2 big partitions, one at 29.42Gb and the other being 29.91Gb.
    I was hoping for about 55Gb to be allocated to Retropie as my PSX ISO’s are taking up huge amounts of space, and its only assigned just under 30 Gb to it, so have you any idea why the resizing didnt work?
    Many thanks,

  8. I absolutely love your multiboot images, they’re by far the best solutions for usable single microSD card set ups. Your switching scripts are fantastic!

    Have you considered making an image with RecalBox? As much as I love RetroPie, I think RecalBox has a nicer and more polished feeling UI.

    1. Hi.

      There is already someone else producing RecalBox multi-boot builds so I don’t feel the need to do this myself. Check out for further info.

      I personally prefer RetroPie over RecalBox due to the extra tweaking you can do, but haven’t tried RecalBox in some time to be fair so maybe things are different to when I last tried it?

      1. RetroPie is easier to mess with and has more emultaors built in, but RecalBox is, generally speaking, more user friendly and has a bit more of a polished feeling (the music, for one, is a really nice touch that I wish RetroPie would adopt). RecalBox is a bit easier for new people, as long as you don’t run into any issues when setting it up. It does have its downsides (like the N64 currently being an “experimental” emu and having some issues working properly with the RPi3’s internal wifi/bluetooth), but it can be a better choice if you’re setting up a system for someone who doesn’t play around with settings and config files.

  9. Steve, thank you for your work on this. I have a RP3 and for the time being, I have the HDMI video output to a powered vga converter with audio. I have sound in Kodi with this rig, but not in RetroPie. Any suggestions? Thank you.

  10. Steve, nevermind that last question, I got the sound worked out! I have another though: why is there no commodore 64 rom folder in retropie? Thanks again!

    1. Hi Mike.

      You are right – there is no c64 rom directory! It doesn’t seem to be installed by default in the 4.0.2 version of RetroPie? I have checked the es_systems.cfg file in the ‘official’ image from the RetroPie website and it does not have the c64 emulator referenced so it must have been removed for some reason. You will be able to install it via the RetroPie setup script though and that will create the necessary folder etc. too.


  11. Thanks for this Steve, have it working great on my pi3! Any idea how I get my PS4 controller working within OSMC? It detects it via Bluetooth and pairs with it but won’t react to buttons/d-pad. Works a charm in Retropie. Cheers!

    1. Hi Dave.

      I have never tried to set up a joypad in any iteration of KODI (I think it would seem clunky so I always use either CEC or a mini keyboard mouse combo). Im not sure if it is even supported by OSMC, would be best to check the OSMC forums to find this out. Other than that you may be able to go into debug mode and see if the button presses are being recognised in OSMC – if they are then you may be able to make a manual keymap file to accommodate your joypad?

      Hope this helps!

    1. Hi Jeff.

      I think it depends on what sort of screen it is. I am assuming the screen plugs into the GPIO pins on the Pi, rather than using HDMI? If so then you would need to install the drivers into Raspbian for the display in order for it to work. I believe you would normally get a custom OS with the screen that has the drivers pre-installed – you need to mimic this setup, or use it to create a custom build that will install via NOOBS.

      Now of course that is just for Raspbian – does the screen work in RetroPie or KODI? That might be a bigger headache if it doesn’t work out of the box?

      Sorry I cant be of more help – I tried one of these GPIO screens myself once but got rid of it for this exact reason!


  12. awesome built, i been using yours for quite sometime now,
    question, i use SNES USB controller which can be embedded into Retropie easy, but i can not use it in Kodi, any suggestion ?

  13. Hi,
    Does a Volumnio + Openelec multiboot exit?
    I would love to cast my spotify premium account to my Pi but i don’t know which could be the best solution.

    Thanks for the great Job you’re doing 🙂

    Cheers 🙂

  14. I plan on making a “base” image with this on it that only has 3 systems roms in retropie using an 8gb card.
    My understanding is when you make a backup of an image the image is the full size of the card.
    If i restore this image to a 16 or 32gb card, will the partition expand on the retropie side as long as the image was setup to maximize the retropie partition? or will it keep both partitions the same size they were when fully expanded on the original image (being only 8gb total)?

  15. Now i have an issue where i do not see the smart script for always boot to kodi in the retropie menu…… what am i doing wrong?

    1. Hi.

      The option will not appear until you have boot into KODI at least once. This is because the script needs to determine what partition KODI is installed to and it does this on first run of KODI when selected from RetroPie. Hope that makes sense!


  16. I installed the Dual boot of retropi and openelec and now it is autobooting into Kodi without the OS select screen anymore. Help?

  17. Simple and amazing…A work of art. I was trying to create a similar script but this does the job, and very well done. I can also update OSMC to 17.1 with his uploader. I have a question thoug, how do you set up the video output to composite instead of hdmi?

  18. Have just installed the dual build onto my Rpi 2b by means of a 64gig card. I have it plugged into my tv via HDMI.. not sure what other information I can give 🙂 The system boots straight into osmc and fails to load up retropi when selecting the icon in programs.

  19. i have mad 4 of these and half them are not getting sound while in retropie. I have found a link that speaks on how to fix it, but very odd that some work, and some dont, when ive cloned the SD image

  20. So I just bit the bullet and installed this tonight (I’ve been thinking about doing it for a while). I got everything up and running and installed the add-on in the OSMC boot side to load RetroPie, but now, when I try to exit out of RetroPie so I can go back into OSMC, it only boots right back into RetroPie again and I’m unsure of what to do. Any advice on this?


    1. Aha, I was able to fix it by manually mounting the first partition on the drive and removing autoboot.txt. Whew! Do you know if there’s a way I can program RetroPie so it does that at boot time? I guess I could put a mount and rm command into the file…

  21. I installed this. Booted into osmc, everything worked fine till i clicked on retropie in programs menu. Then some text started appearing on screen ending in “couldn’t find…. Something”. It just stuck their for about an hour. So i unplugged and restarted pi, only to get the same black screen with same text.

    Had to format the card again. To install osmc only.

    Really want to have retropie too. kindly help me understand what went wrong.

    Thank you for all your hard work anyways.

    1. Hi.

      Apologies for the delay in replying.

      Can you give me some further info on your setup, i.e. SD card size and have you amended any of the partition sizes in the NOOBS setup files? It sounds like it couldn’t find the RetroPie partition, but Im not certain on that unless you can tell me what the exact message was? You shouldn’t have to wait any longer than a few seconds for it to switch partitions so there was definitely something wrong but I can’t really diagnose without further info.


  22. Hi all!
    First of all thanks Steve for your work becuase it’s just what I was looking for! and looks like works really fine. Second … sorry for my english 😛

    I’m still learning about all of retropie/kodi … my question …
    I have the instalation on a 16Gb SD, but when I connect with putty (with retropie running) the first screen with the info said I have only 7Gb (already full).
    It’s because the “image” its prepared for an 8gb SD card and I must change the congif before the installation?

    I’m still having problems about connecting from my PC to load/delete roms, but first I need to make sure I have all SD avaiable heheh

    Thanks a lot

  23. Hi,

    First of all… Many thanks for your great work. For a beginner like me this is everything you need. You’re the man! 😉
    However, i’m having this little problem:
    My pi (3) isn’t showing up in my network, so adding roms to retropie is kinda hard.
    Do you have an of the shelf solution for this? or am i the only one having this problem?
    Many thanks already…

    1. Jorn,
      from a computer on the same network (if the pi is wired, connect the pc wired, if wireless, connect to the same SSID) then look up the ip of your raspberry pi, either in your router, or on the raspberry pi, then on your computer (that’s on the same network) press windows key and R together, or open a folder, and in the address bar, type \\[ip address of pi here]\ press enter. you should see the folders of the sd card currently in your raspberry pi, browse through til you find the roms folder and the many sub folders below that, find the folder that corresponds to the type of roms you are trying to load, copy the roms over, go back to the pi, reboot, and enjoy.

  24. I am really happy with my OSMC setup, but for various reasons I would like to redo my RetroPie setup. Is there a way to erase the RetroPie portion of my setup and start from scratch?

    1. Hi.

      I am not entirely sure of any simple way to do that, it all depends on what you have done and how you go about reversing that. What you could do however is make a backup of OSMC, format and re-install my build and then restore your OSMC build. That should do it.


  25. First of all, thank you making this.
    Now, I have a noob question as I did not yet receive my Pi3 but read a lot about it.
    Is there a way to update Retropie since a new version came out(V4.1) or will you make an updated version in the future?

  26. I am having some issues with the retropie switch script. I intially had it working but while setting up retropie something when wrong and it kept booting into emergency mode. So I wiped it and tried again. Now when I select retropie in kodi i get an error. Checked the log and I see this. Wiped and tried again. Still getting the same. Anyone have thoughts on this?

    Error Type:
    Error Contents: [Errno 13] Permission denied
    Traceback (most recent call last):
    File “/home/osmc/.kodi/addons/script.retropie/”, line 3, in“/home/osmc/.kodi/addons/script.retropie/”)
    File “/usr/lib/python2.7/”, line 522, in call
    return Popen(*popenargs, **kwargs).wait()
    File “/usr/lib/python2.7/”, line 710, in __init__
    errread, errwrite)
    File “/usr/lib/python2.7/”, line 1335, in _execute_child
    raise child_exception
    OSError: [Errno 13] Permission denied

  27. So I’m fairly new to all this, but I managed to get everything installed and running. However, when I launch RetroPie it does not look like your videos, I only have 2 selections, one is Retropie and the other is Kodi. When I go into Retropie I have several configuration options but no emulators, looking in the setup options it thinks that all the emulators are installed but I can’t seem to find a way to get to them I only have Kodi & RetroPie in the Xbar and RetroPie just seems to have config options

    Thanks in advance

  28. Hello.
    Thanks so much for this. It works great.
    Quick question (aren’t they all?!) …I’ve been playing around with various config’s of my own in Kodi and thought i’d try the Wookie build.
    Having installed it, it boots and runs fine, and I can see Retropie is still ‘there’, but how do I actually create a ‘Shortcut’ (excuse my Windows vernacular) to exit Kodi and start RetroPie?
    Before I installed the Wookie build, it was there clear as day and I added Retropie as a Favourite and created a nice GAMES choice on the main Kodi menu.
    I didn’t expect it to still be there after installing Wookie, but have no idea how to recreate it.
    Any help, greatly appreciated.

    1. *SOLVED*
      My apologies.
      With a little more time on my hands I found you’d already shown a “how to” for this at the bottom of the same page I downloaded the dual-boot files from.
      Thanks again.

  29. Hi, this setup is amazing. Big shout out to the dev.

    I have a question. What partition can I increase to get more ROM space? I made an image from a 16GB SD to a 32. I ran out of space on the ROMs share. Have more space but need to resize the partition using GParted but do not know which partition to increase or how to do it. Any help is appreciated.


  30. First of all, let me first thank you for putting this together! The build works fantastic. I fear I may need to do a fresh install and reload my data because I’m that guy who decided, “oh, I want to update OSMC and RetroPie to the most current versions.”

    I didn’t see OSMC have any issues with the updating itself and still having RetroPie easily accessible, but I left my house before the update for RetroPie concluded, so I’m hoping I didn’t mess anything up (though even if I did, I do have a relatively recent backup).

    Anyway, greatly appreciate your efforts! With Krypton 17 officially dropped, I’m curious to see how long it will be until OSMC puts out their update.

    1. So the updates seem to work just fine, but I have had an issue since initial install… RetroPie has no sound. Anyone who faced a similar issue, if you can direct me to potential solutions, I’d be very appreciative. I’m still a RPi beginner. Thank you very much!

      1. You should edit your retropie config.txt file located in /boot/config.txt.

        just uncomment below line:
        and the HDMI audio will be OK.

  31. Hi Steve.

    Thanks for all your great work with this.

    I am trying to use this build, but no matter what i do, i simply will not show up on the screen when im trying to boot. I only get the “no signal” on the tv.

    Have you heard about others having the same issues?

    1. I have the same issue! I copy the files to the card, insert the card into the pi, then connect power supply. Nothing happens… Any thoughts?

  32. I’m thinking of migrating to a large sd card. Is there a way I can clone the smaller card now and reparation the sizes on the larger card? I want to give kodi a little more space.

  33. Hi there – I’m excited to try this but I had issues with my first SD card (became write protected) so don’t want to mess around too much. So quick (noobie) question: how does a dual boot differ from installing the Kodi port in the normal Retropie? Thanks!

  34. I recently upgraded to the latest version of osmc krypton I believe it’s called after doing so I lost the option that allows me to go into retropie from osmc. Is there any way to add that program back?

  35. First: Thanks a lot for all the work you put in your development of these builds. It’s great that there’s someone helping all those noobs like me with NOOBS (like that).

    For me as a windows-user (yeah….) it’s pretty complicated to integrate a system-image downloaded from a distributor since it’s not as easy as “just copy it into that OS folder extracted along with NOOBS on that sd card” because that just won’t work until NOOBS will (some day) have scripts to automatically handle .tar.gz or .img files.

    Now there’s been an update of OSMC by Febuary providing Kodi 17 krypton and I’ve been foolish enough to try exactly what I decribed above (yeah….) leading to some hours of running SDFormatter again and again since I read about a manual update to Kodi 17 from within OSMC propably causing damage to the setup so it won’t run anymore and that a dual- or multi-boot with NOOBS (out of the box) just won’t do it. Now my short but pregnant question is: will you provide an update soon or would you, regarding resources, not recommend retrosmc: ?

    Thanks a lot

  36. Hey, Steve. Well I wanted this to work, but for some reason there are a bunch of Genesis ROMs that won’t launch. A few work, but a large majority of them attempt to launch and then just go back to the games list. Any ideas what could be causing this?

    Weirdly, if I execute the command that’s in on the command line, the game audio is clearly heard. So, it should work??

    I’m at a loss, and I posted on the forums and they basically told me to fuck off since I guess this is considered “third party”.

    Anyways, if have any ideas I would love to try them out. Thanks for your hard work.

  37. hello have a question i found the osmc_pi2 but i didn’t see anything about retropie could you help me out i saw recalboxos lakka_rpi2 thats all i saw that pertained to emu.. do you have any suggestions?

Leave a Reply

Your email address will not be published. Required fields are marked *