OpenELEC Testbuilds for RaspberryPi (Kodi 15.0) Part 2
(2015-06-26, 11:50)Milhouse Wrote: If you've only got a command line, the following should partition the card correctly, and should work on a Pi, even an OpenELEC system, but you'll need to run this as root (not an issue for OpenELEC), and set the DISK variable to your SD card device (eg. /dev/sdb) - note this could destroy your current system if you choose the wrong device (etc.)

Code:
# Set DISK to the SD card device eg. /dev/sdb, /dev/sdc etc. - check dmesg for details
DISK="/dev/sdX"

# Now create the partitions on $DISK:
PART1="${DISK}1"
PART2="${DISK}2"
umount ${DISK}*
parted -s "$DISK" mklabel msdos
parted -s "$DISK" mkpart primary fat32 -- 0 512MiB
parted -s "$DISK" mkpart primary ext2 -- 516MiB -2cyl
parted -s "$DISK" set 1 boot on
partprobe "$DISK"
mkfs.vfat "$PART1" -I -n System
mkfs.ext4 -O ^has_journal -E stride=2,stripe-width=1024 -b 4096 "$PART2" -L Storage

Well, got through that OK, with VirtualBox, and an old XBMC 10.1 Live iso.
Windows now sees a 511MB partition called System.

Not just stuck with what you mean from this
Quote:Once you've partitioned the SD card, copy the target and 3rdparty/firmware files to the FAT partition.
I have the img file OpenELEC-RPi2.arm-5.0.8.img, do I need to extract the contents of 0.fat within the img file to the new 511MB system partition, and volia??
Media Companion Dev.
Media Companion - Kodi / XBMC - Media Companion


Messages In This Thread
How to install the builds - by kisas - 2015-05-24, 02:10
MVC 3D ISO Blu-ray - by Azimono - 2015-06-06, 14:28
RE: OpenELEC Testbuilds for RaspberryPi (Kodi 15.0) Part 2 - by vbat99 - 2015-06-26, 20:04
Logout Mark Read Team Forum Stats Members Help
OpenELEC Testbuilds for RaspberryPi (Kodi 15.0) Part 214