How to set up RancherOS on Estuary D02 board

Denise edited this page Feb 22, 2016 · 1 revision

Running RancherOS on Estuary D02 board


Prepare the storage media

Partition (optional) and format a USB drive or a SAS drive. The root partition should be formatted with ext4 filesystem.

Prepare the root filesystem

Mount the ext4 formatted root partition (or the full disk) to an empty directory on your Linux machine (e.g. /mnt/d02_rootfs).

Unpack rootfs_arm.tar.gz into the root partition:

$ cd /mnt/d02_rootfs
$ sudo tar -xzf ~/Downloads/rootfs_arm.tar.gz

Unpack /lib/modules and /lib/firmware from Ubuntu_ARM64.tar.gz into the root partition:

$ sudo tar -xzf ~/Downloads/Ubuntu_ARM64.tar.gz lib/modules lib/firmware

Unmount the root partition and hook the drive to the D02 board.

Edit grub.cfg

Here's an example grub menu entry for RancherOS:

menuentry "D02 RancherOS USB" --id d02_ros_usb {
    set root=(tftp,
    linux /Image_D02 root=/dev/sda2 rootfstype=ext4 rw init=/init console=ttyS0,115200 earlycon=uart8250,mmio32,0x80300000 ip=dhcp rancher.password=rancher quiet
    devicetree /hip05-d02.dtb

Replace with your TFTP server IP-address, /dev/sda2 with your root partition device. Kernel parameter rancher.password=rancher sets rancher user password to rancher.

Put the boot files into the boot directory

Place the grub config, kernel image and the device tree blob onto the boot dir. This is typically a TFTP root dir on a PXE boot server:

$ sftp root@ <<< 'put ./tmp/tftp/*'


You can now turn on your D02 and it will boot with RancherOS.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.