GeeXboX for Embedded Devices – Booting on Cubox

To boot GeeXboX on your Cubox 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

fdisk /dev/sdd

create (n) one small boot partition (100MB)

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.ext2 -L boot /dev/sdd1
mkfs.ext4 -L GEEXBOX /dev/sdd2

Fetch the GeeXboX for Cubox tarball and unpack it

Extract rootfs.tar.bz2 onto the data partition

mount /dev/sdd2 /mnt
tar xjf rootfs.tar.bz2 -C /mnt

Extract boot.tar.bz2 onto the boot partition

mkdir /mnt/boot
mount /dev/sdd1 /mnt/boot
tar xjf boot.tar.bz2 -C /mnt

Unmount the partitions

umount /mnt/boot
umount /mnt

Plug the SD card into your Cubox, connect power, HDMI and optionally ethernet, and enjoy!

Method #3: Extract it by hands (not recommended) .

This method is valid for nightly versions.

Go here (http://download.geexbox.org/snapshots/geexbox-xbmc-armada5xx-cubox/latest/binaries.cubox/ ) and download .tar.bz2 file.

Format your SD as Ext4

Using tools like Nautilus (as root) for extract .tar.bz2 file as is in your SD root.

Plug the SD card into your Cubox, connect power, HDMI and optionally ethernet, and enjoy!

One thought on “GeeXboX for Embedded Devices – Booting on Cubox”

  1. I want to boot from eSata on Cubox, but Geexbox doesn’t load the Marvall Controller, so it never sees the partitions on eSata where Geexbox is installed; here is the error when I boot the Geexbox kernel manually from the Cubox serial terminal:

    Kernel command line: console=ttyS0,115200n8 vmalloc=384M video=dovefb:lcd0:1920×1080-32@60-edid root=/dev/sdb1 rw


    VFS: Cannot open root device “sdb1” or unknown-block(0,0): error -6
    Please append a correct “root=” boot option; here are the available partitions:
    1f00 4096 mtdblock0 (driver?)
    Kernel panic – not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

Leave a Reply