Installing Openmediavault on a CuBox (ARM machine)

  • CuBox is a handsome littre ARM-based machine :

    Compared to the Raspberry Pi, though it's (a little) more expensive, you have :
    - almost fast delivery (3/4 weeks, however)
    - a well made box with all the I/O you need (2 USB, 1 eSATA, 1 LAN, 1 HDMI, microSD slot, SPDIF)
    - Gbit LAN (important for a NAS, isn't it ?)
    - 1 GB RAM (important for a NAS, isn't it ?)

    But let's go to installation.

    First install a core system (armel Debian ). Please see here my post on SolidRun forum…opic.php?f=11&t=191#p5260


    We are not lucky, we have to build a kernel to have GPT, LVM, XFS, etc. I also added Wifi support for the Wifi USB Stick I own (a Trendnet N150 and a TP-LINK TL-WN721N)

    So let's go

    Référence :

    We have to change some parameters in the .config file supplied by Solid-Run :
    - Enable Block Layer -> Partition type -> EFI GUID Partition support
    - Device Drivers -> MMC/SD/SDIO card support -> SDHCI platform and OF driver helper && SDHCI support on Marvell's Dove SoC
    - Device Drivers -> Network device support -> Serial ATA and Parallel ATA drivers -> AHCI SATA support
    - Device Drivers -> Network device support -> Wireless LAN -> Atheros Wireless Cards -> Atheros HTC (module)
    - Device Drivers -> Network device support -> Wireless LAN -> Realtek 8192CE Network adapter
    - Device Drivers -> Network device support -> Wireless LAN -> Realtek 8192CU USB
    - Device Drivers -> Watchdog Timer Support -> Software watchdog
    - Device Drivers -> Multiple device driver support -> RAID support (NO) & Device mapper support (YES)
    - File Systems->XFS
    - File Systems->XFS Quota
    - File Systems->XFS ACL
    - File Systems->Native Language
    - Networking support ->IrDA -> IrCOMM Support

    Let's compile and install new kernel

    make uImage
    make modules
    mv /boot/uImage /boot/uImage.old
    cp -v arch/arm/boot/uImage /boot/
    make modules_install

    Done !!!

    Openmediavault on armel


    Get the IP address by ifconfig and start a SSH session (the display is better than with the serial console for the configuration screen of some packages)

    Add the following in /etc/apt/sources.list

    # Ajout FBE pour xmlstarlet
    # deb wheezy main
    # Ajout FBE pour Wifi
    # deb squeeze-backports main non-free
    # OMV repository
    deb fedaykin main

    And execute

    apt-get update
    apt-get install openmediavault-keyring

    Uncomment the line with wheezy in /etc/apt/sources.list and execute :

    apt-get update
    apt-get -t wheezy install xmlstarlet

    Comment the line with wheezy in /etc/apt/sources.list and execute :

    apt-get update
    apt-get install postfix
    apt-get install openmediavault

    If tftpd-hpa does not start, change the file /etc/default/tftpd-hpa (see here http://forums.openmediavault.o…f=12&t=481&start=10#p2716 why)

    TFTP_OPTIONS="--secure --ipv4"

    Redo install

    apt-get install openmediavault

    Finished ?

    No, if you plan to install MiniDLNA, there is some extra work :

    Mini DLNA plugin

    Add the following line in /etc/apt/sources.list

    deb sid main

    Execute :

    apt-get update
    apt-get install minidlna

    Comment the line with sid dans /etc/apt/sources.list and execute :

    apt-get update

    You are ready to install MiniDLNA plug-in in the usual way

    You will have first to download the openmediavault-omvpluginsorg plugin from here http:// and install it by uploading it in the WebGUI


    There is also some special work to have Wifi working

    In order to use WPA-PSK, intall wpasupplicant :

    apt-get install wpasupplicant

    Uncomment or add the line with squeeze-backports /etc/apt/sources.list

    deb squeeze-backports main non-free

    Execute :

    apt-get update
    apt-get install -t squeeze-backports firmware-realtek # For TrendNet N150 (TEW-648UB) USB Wifi adapter
    apt-get install -t squeeze-backports firmware-atheros # For TP-LINK TL-WN721N USB Wifi adapter

    Comment the line with squeeze-backports /etc/apt/sources.list and execute :

    apt-get update

    Create a file /etc/wpa_supplicant.conf with all the Wifi hotspots you use (replace with relevant value the SSIDs and keys) :

    Protect file containing keys :
    chmod 0600 /etc/wpa_supplicant.conf

    Open /etc/network/interfaces and fill it with that :

    Execute :


    and select interface wlan

    In WebGUI, edit each interface : System → Network → Interfaces, and select method « DHCP ».

    Reopen /etc/network/interfaces and fill it again with right content.


    Done !!!

    Your openmediavault system is ready to be configured, in a state similar to the one after installing ISO install media.

    Have fun !!!

    omv 2.x omv 3.x (testing) - AMD CPU - RAM ECC 8x4TB RAID6 + 4x3TB RAID5 - SSD 4GB for system

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!