Hyper Open Edge Cloud

How To Flash SSD for ORS, BBU or Edgepod

The process to flash SSD for ORS, BBU or Edgepod
  • Last Update:2026-08-19
  • Version:001
  • Language:en

Flash the SSD

If you are using the automated prepare-ors.py script you can skip this step, it will be done within the script.

Using the tar file containing the slapos and re6st licenses, do the following:

  • Take an empty SSD, insert the SSD in the USB to M2 SATA adaptor and then plug the USB to your computer.
  • Run the flash_image command:
    • laptop:~# cd WORKDIR/simpleran-maintenance/oss
      laptop:~/WORKDIR/simpleran-maintenance/oss# ./flash_image.py flash --tar-file ORSXXX.tar --extra-ssh-key key.pub BAND
      
    • The --extra-ssh-key allows to add your SSH public key to the list of authorized keys to the ORS. SSH access is needed to prepare ORS software
  • Input your gitlab username and password when asked

If you are a manufacturer of Rapid.Space

Using the tar file containing the slapos and re6st licenses that Rapid.Space prepared for you, do the following

  • Take an empty SSD, insert the SSD in the USB to M2 SATA adaptor and then plug the USB to the portable PC.
  • Run the flash_image command without band and git:
    • laptop:~# cd WORKDIR/simpleran-maintenance/oss
      laptop:~/WORKDIR/simpleran-maintenance/oss# sudo ./flash_image.py flash --tar-file ORSXXX.tar --no-band --no-git
  • Note down the serial number (ORSXXX) and password at the end of the output. Note down the band when you install the SSD to the ORS

Example command:

Log in to the portable callbox as sdr

sdr@callbox-light-001:~$ cd ~/simpleran-maintenance/oss


Change ORS800-1755709360.tar and ORS800 according to your needs:

sdr@callbox-light-001:~/simpleran-maintenance/oss$ sudo ./flash_image.py flash --tar-file ~/simpleran-maintenance/data/ORS800-1755709360.tar ORS800 --no-band --no-git
# Example output
  $> chmod 755 /tmp/tmp57surwnl
  $> /home/sdr/simpleran-maintenance/oss/../utils/detect-ssd.sh
Automatically detecting SSD...
  $> lsblk --json --bytes /dev/sda
  $> wipefs -a /dev/sda
  $> dd if=/home/sdr/simpleran-maintenance/oss/../data/ssd-ors-2025-03-17.img of=/dev/sda status=progress bs=1M
7792906752 bytes (7.8 GB, 7.3 GiB) copied, 72 s, 108 MB/s
7431+1 records in
7431+1 records out
7792906752 bytes (7.8 GB, 7.3 GiB) copied, 206.459 s, 37.7 MB/s
  $> sgdisk -s /dev/sda
The operation has completed successfully.
  $> parted /dev/sda resizepart 2 468862094.0s
Information: You may need to update /etc/fstab.

  $> sgdisk -s /dev/sda                                                 
The operation has completed successfully.
  $> e2fsck -f /dev/sda2
e2fsck 1.46.5 (30-Dec-2021)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/sda2: 202259/409600 files (0.3% non-contiguous), 1404650/1627105 blocks
  $> resize2fs -p /dev/sda2
resize2fs 1.46.5 (30-Dec-2021)
Resizing the filesystem on /dev/sda2 to 58332305 (4k) blocks.
The filesystem on /dev/sda2 is now 58332305 (4k) blocks long.

  $> mount /dev/sda2 /tmp/tmput5ibzqv
  $> find /tmp/tmput5ibzqv/etc/opt/slapos/ssl -mindepth 1 -delete
  $> find /tmp/tmput5ibzqv/etc/re6stnet -mindepth 1 -delete
  $> chmod 755 /tmp/tmput5ibzqv
  $> sed -i s/orsXX/ors800/ /tmp/tmput5ibzqv/etc/hosts /tmp/tmput5ibzqv/etc/hostname
Successfully wrote device (serial_number: ORS800, password: xxxxxx)
  $> umount /tmp/tmput5ibzqv