Skip to content
This repository was archived by the owner on Feb 27, 2023. It is now read-only.
This repository was archived by the owner on Feb 27, 2023. It is now read-only.

*Both* RaspBMC partitions get expanded #108

Closed
@lurch

Description

@lurch

Not a bug with NOOBS itself per-se, but a problem with one of the data-files it's using.

In os/RaspBMC/partitions.json (and also in http://downloads.raspberrypi.org/raspbmc/partitions.json ) you have "want_maximised": "N", and "want_maximised": "Y", instead of the "want_maximised": false, and "want_maximised": true, used by all the other partitions.json files.
NOOBS then (correctly) interprets both non-empty strings as boolean true values, and as a result both the RaspBMC partitions get maximised, rather than only the root partition.

I've just installed OpenELEC, RaspBMC and Raspbian onto my 16GB SDHC card using the "full" NOOBS v1.3, and ended up with this partition table:

Model: SD SU16G (sd/mmc)
Disk /dev/mmcblk0: 15.9GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End     Size    Type      File system  Flags
 1      4194kB  1278MB  1274MB  primary   fat32        lba
 2      1279MB  15.9GB  14.6GB  extended
 5      1283MB  1418MB  134MB   logical   fat16        lba
 6      1422MB  4816MB  3394MB  logical   ext4
 7      4819MB  7391MB  2572MB  logical   fat32        lba
 8      7395MB  11.2GB  3851MB  logical   ext4
 9      11.2GB  11.3GB  62.9MB  logical   fat16        lba
10      11.3GB  15.9GB  4575MB  logical   ext4
 3      15.9GB  15.9GB  33.6MB  primary   ext4

i.e. RaspBMC has been given a 2.5GB boot partition!

The fix is to simply edit RaspBMC's partitions.json file to correctly use boolean JSON values rather than strings. (easy to do for the online version!)
And maybe you could consider validating the JSON files against a well-defined schema, as I once suggested to you in an email? ;-)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions