Ubuntu rootfs on USB HDD

To this you'll need:

  • PC running Linux
  • ODROID-C1 Ubuntu Image
  • 256MB Minimum MicroSD (Contents will be erased)
  • 8GB Minimum USB Disk (Contents will be erased)

Running the guide will erase the contents of your MicroSD/USB Disk. Its highly recommended to double check before running any of the commands it may even break your OS Install

Replaced /dev/sdX with the microsd/usb disk nodes! Make sure of what you are choosing here!

Replace ubuntu-14.04.1lts-lubuntu-odroid-c1-20141211.img.xz with the name of a new image if it exists!

1. Become root!

sudo -s

2. Clean up the MicroSD

dd if=/dev/zero of=/dev/sdX bs=1M count=10

3. Write the base to the microsd card.

xzcat ubuntu-14.04.1lts-lubuntu-odroid-c1-20141211.img.xz | dd of=/dev/sdX bs=1M count=150

4. Remove a useless partition from MicroSD

parted /dev/sdX rm 2

5. Sync to write any left data


6. Remove the MicroSD and connect it to the board. Don't power it up yet! Also, connect your USB HDD or USB Flash Drive to your PC.

7. Clean up the USB DISK

dd if=/dev/zero of=/dev/sdX bs=1M count=10

8. Write the image to the USB DISK

xzcat ubuntu-14.04.1lts-lubuntu-odroid-c1-20141211.img.xz | dd of=/dev/sdX bs=1M

9. Remove the useless partition from the USB DISK

parted /dev/sdX rm 1

Be careful, the command below must be run exactly as its posted. Just replace the /dev/sdX for your device!

10. Resize the partition the USB DISK

fdisk /dev/sdX <<EOF


11. Clean & Resize the USB DISK

e2fsck -y -f /dev/sdX2
resize2fs /dev/sdX2

12. Sync up to make sure everything is written


13. Connected everything to the board and power it up! It should work.

If you want to discuss this guide jump into our Forums Make sure to post logs and use a very rich amount of details.

Useful Tips by johnbeetem from the ODROID Forum

en/c1_ubuntu_to_usb_hdd.txt · Last modified: 2015/02/11 12:10 by odroid
CC Attribution-Share Alike 3.0 Unported
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0