Cubieboard 3 (Cubietruck) Tips & Tricks

How to backup the NAND flash drive

  • Create sdcard with any linux distribution like Debian or Fedora. Boot from sdcard and run this command 
  •  
  • # dd if=/dev/nand conv=sync,noerror bs=64K | gzip -c -9 > /nand.ddimg.gz 
  •  
  • You can restore it using command 
  •  
  • # cd / ; gunzip nand.ddimg.gz; dd if=/nand.ddimg conv=sync,noerror bs=64K of=/dev/nand

How to check your distro information

  • linaro@cubieboard2:~$ cat /etc/*-release 
  •  
  • DISTRIB_ID=Linaro
  • DISTRIB_RELEASE=13.04
  • DISTRIB_CODENAME=quantal
  • DISTRIB_DESCRIPTION="Linaro 13.04"
  • NAME="Linaro"
  • VERSION="13.04"
  • ID=linaro
  • ID_LIKE=ubuntu
  • PRETTY_NAME="Linaro 13.04"
  • VERSION_ID="13.04"

How to check the disks mount point and sizes

  • sudo lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL