You can "safely" manually remove systems installed after
your primary os.
This can be done by removing those systems partitions and editing noobs menu file.
This instruction may ruine your data. Be sure to have backups or at least cleanly understand what you're doing.
NOOBS os list is located at /media/SETTINGS/installed_os.json
, there you can see what OS installations use which partitions ( "partitions" property ).
Partitions layout (can be seen by cfdisk /dev/mmcblk0
) should be look like (excluding free space gaps)
Code: Select all
- /dev/mmcblk0p1 # NOOBS boot, FAT16
- /dev/mmcblk0p2 # MBR extended
- /dev/mmcblk0p5 # first OS boot, FAT32
- /dev/mmcblk0p6 # first OS root, ext4
- /dev/mmcblk0p7 # second OS boot, FAT32
- /dev/mmcblk0p8 # second OS root, ext4
- /dev/mmcblk0p9 # third OS boot
- /dev/mmcblk0p10 # third OS root
- /dev/mmcblk0p3 # NOOBS root, ext4
also there may be a 512 MB "Data" partition created by NOOBS.
You can remove any partition within mmcblk0p2 (logical), but it will cause renumbering of following partitions, so if you don't want to edit all configs, etc, then you can safely remove only partitions going after
your primary OS partitions. Say if your primary is "second OS", then you can remove partitions /dev/mmcblk0p9 /dev/mmcblk0p10 and further. DO NOT REMOVE /dev/mmcblk0p3
After that you can cleanup removed OS from /media/SETTINGS/installed_os.json
, but this is not essential.
After cleanup, you can extend your last partition (probably root partition of primary OS, or data partition) to desired size. You can use one of easilly googlable manuals for that operation.
* Instruction written during resizing of OSMC root partition which was third in OS list and there was 5 more after. No data was lost.
* not sure if NOOBS will allow to install new OSes after those procedures, but probably should.