GeeXboX for Embedded Devices – Booting on Raspberry Pi
To boot GeeXboX on your Raspberry Pi you will need to prepare a SD card. We provide a script to automate this.
Connect the SD card to your host system and note the device (we will use /dev/sdd in this document).
Method #1: Using a script (recommended).
Starting with GeeXBoX 3.1 we are using a unified script. Please follow these instructions.
Method #2: Doing it by hands (not recommended).
Umount any partitions on the SD card
Erase SD card partition table
dd if=/dev/zero of=/dev/sdd bs=512 count=8
Partition the SD card
create (n) one small boot partition (100MB)
change (t) the boot partition type to FAT32 (c)
create (n) a data partition in the remaining space
mark as active/bootable (a) the boot partition
save your changes and quit (w)
Create the filesystems
mkfs.vfat -F 32 -n boot /dev/sdd1
mkfs.ext4 -L GEEXBOX /dev/sdd2
Fetch the GeeXboX for Raspberry Pi tarball and unpack it on the partitions you just created:
mount /dev/sdd2 /mnt
mount -t vfat /dev/sdd1 /mnt/boot
tar xjf path_to_release_file.tar.bz2 -C /mnt
Finallly unmount the partitions
Plug the SD card into your Raspberry Pi, connect power, HDMI and optionally ethernet, and enjoy!