[How To] Set the partition sizes in NOOBS Lite Extra

Here is a new method to allow you to set extra partition sizes when using NOOBS Lite Extra.
This is great when you have multiple OS's and want one OS to have much larger space than others.

How to

Step 1

We will be switching the URL that NOOBS uses to a new proxy URL that will generate the new partition files from our supplied sizes.

The base URL is:

It's pretty long - and it's about to get a bit longer...
We now need to find the os_name of the system we want to modify.

Open the above file and you will be able to see the os_name for each available system.

Find the names for all the systems you want to set the partition sizes for.

For this example, I want to install LibreELEC + Recalbox + Lakka.
Normally they would split the free space between them.

For my 16GB Card, I want Recalbox to have 8GB and Lakka have 4GB and LibreELEC the rest.

So LibreELEC will be kept to expand and I want Recalbox to be 8000MB (8GB) & Lakka to be 4000MB (4GB).

All we need to do is append &{os_name}={size in MB} to the above URL for each system size we want to change.

Therefore my final URL is:

If you open that URL, you will see it has modified the Recalbox & Lakka systems.

And let's see what that new linked partitions.json file looks like.

It will no longer try to maximise but instead set it's size to our supplied 4000MB.

Once you have your correct URL, move onto the next step.

Step 2

Follow THIS post to install NOOBS Lite Extra to your SD card.
(Don't eject the SD card just yet)

Step 3

We now need to edit recovery.cmdline on the root of the SD card.

Simply open it with your favourite text editor.

It will look like this

Now change alt_image_source to point to the new URL from step 1.
It should now look like this

Make sure all the text is on the first line.

Finally, we just need to tell NOOBS not to use the default OS file (as we proxy it).
This is done by adding no_default_source to the cmdline.

Therefore, the final file should look like this

That's it!
Save the file, eject the SD card and put it in your Pi and boot.

Select your OS's and install.
They will use your specified sizes.


The proxy script (view source) will only change partitions that have want_maximised set to true.
It will change this to false and then set the nominal size to your specified size.
You can not use it to change the size of other partitions.

The script will also only extend partitions (not shrink them).
For a system that already wants nominal space, this will get expanded with the value you provide.
eg. Raspbian wants 3956. You set it to 1000 & it will expand to 4956 giving you 1000 free space.


  1. hallo matt

    ich geb mir grosse mühe die beschreibung zu verstehen, aber ich bin erfolglos.
    beim dual boot war das umstellen der patitionen sehr einfach!!
    ich möchte nur libelec und recalbox auf meiner 128gb karte .
    beim dual boot war für kodi system etwas mehr systemspeicher.
    der rest ging für roms drauf.
    ich brauche 100gb recalbox speicher oder etwas mehr :)

    wie bekomm ich das hin? muss ich jetzt alles neu installieren und alles vorher konfigurieren bevor noobs die patitionen festlegt oder geht das auch im laufendem setup.

    danke für deine hilfe

    1. Hello matte

      I give me great effort to understand the description, but I am unsuccessful.
      In the dualboot was the conversion of the patitions very easy !!
      I just want libelec and recalbox on my 128gb card.
      For the dual boot, there was a bit more system memory for kodi system.
      The rest is for roms. on it.
      I need 100gb recalbox memory or something more :)

      How do I get this? I now have to reinstall everything and configure everything before before noobs the patitions set or goes also in the running setup.

      thank you for your help

    2. Both systems will be set to "expand".
      So, you only need to set one system to a size.
      Lets set LibreELEC to 4GB.
      Therefore, Recalbox will get rest of the space.

      This is the URL for that:


      This might be done FIRST before installing any systems.

  2. Hello Matt, Thank you for your work, its awesome.
    But im also dont understand what i should to do.

    I have a 32GB microSD and want to install Recalbox with 25GB, Raspian 1GB and LibreElec schould get the rest.
    So i downloaded the File from step 1 and edit it. Whan schould i do now with the file. I uploaded it on dropbox, but this dont work.

    Thank you

  3. You don't need to download or upload any files.
    All you need to do is follow the linked post to first put NOOBS Lite Extra onto the SD Card.

    Once it's on your SD card, open the file recovery.cmdline in a text editor.
    Then change alt_image_source to the new URL. Also add no_default_source.

    The URL you should use should be something like this:


    You don't need to download that, just put that URL into the recovery.cmdline file.
    NOOBS will download it when it loads :)

    Hope that helps.

    Also, remember that the space you are giving it "Extra free space"
    eg. Rasbpian already wants 3956. So, it will extend that to 4956 (1000 free space)

  4. Thank you, now it works like i want.

    I used the URL:

    Its really simple :)

    1. Hi Matt! im using this URL:


      Install Librelec + Recalbox (Unstables)
      Thats the correct URL or the Unstable Versión has another URL

      Thanks, i love your blog.

    2. This is URL for unstable version:



Post a Comment