Posts: 87
Joined: Oct 2012
Reputation:
0
Hi
I have a RPI and installed openELEC from an image file, its working, however the SD card HAS to have 2 partitions, if i remove one (leaving 1 partition only) it doesnt boot with unable to mount the second partition.
Is this by design? or do i just have wacky build that has to see 2 partitions?
Posts: 31,445
Joined: Jan 2011
Posts: 22
Joined: Feb 2012
Reputation:
0
2012-11-23, 09:03
(This post was last modified: 2012-11-23, 09:03 by frumpsnake.)
The Raspberry Pi looks for a FAT partition at boot time, it contains the GPU firmware as well as your config.txt and your OS's kernel. There's no bootrom/bios/firmware etc. in hardware. No SD card or missing/invalid FAT partition, no boot.
The OS then needs its own partition, ie ext2/3/4 for Linux.
Posts: 87
Joined: Oct 2012
Reputation:
0
Thanks for the info... so this is interesting.
I jad a 1Gb SD card (testing),
Partition 1 = 995Mb (FAT)
Partition 2 = 5mb (FAT)
All data is loaded on to partition 1, it boots and loads, so it appears Linux doesn’t need an EXT format as the above config is working and i can read files from the partition fine.
Ned Scott can you explain the need for 2 partitions, and is it correct that it will need to be FAT only (when its local), so i assume it wont read an NTFS USB stick? will it read an EXT format anything?
The reason i ask this is, Windows will read FAT partitions, however will only see the first one on an SD card (removable) this means you see the "boot" partition but the rest of it you cant see in Windows.
Meaning, a 16Gb SD card will have about 15.something GB partition you cant load anything on, however if i change them like the above, then its usable, doesn’t seem like a great idea to make openELEC need to have 2 partitions?
Posts: 31,445
Joined: Jan 2011
frumpsnake just explained it. There's two partitions because that's what the hardware looks for.
Posts: 971
Joined: Dec 2008
Reputation:
44
They probably get away with using fat as the root partition as they use squashfs
If I have been of help, please add to my reputation as a way of saying thanks, it's free.
Posts: 87
Joined: Oct 2012
Reputation:
0
As openELEC needs 2 partitions, what are the 2 used for, i only have data on the first and it runs fine, whats the second one used for?
Posts: 87
Joined: Oct 2012
Reputation:
0
Can this USB stick be a FAT format? it works if the SD card is FAT format on both partitions
Posts: 17,855
Joined: Jan 2011
Reputation:
1,055
Milhouse
Retired Team-Kodi Member
Posts: 17,855
Not sure, try it and let us know....
Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.