Creating a USB Key for Installing TufinOS On An Appliance

In order to install TufinOS on a Tufin appliance, you must boot from a USB key that has the TufinOS image on it.

This procedure is relevant for both TufinOS 3 and 4.

Prerequisite

  • An empty USB flash drive with at least 32GB of space.
  • A TufinOS image file. The image file can be obtained from the Download Center in the Customer Portal.

Prepare the USB Key

  1. Copy the compressed image to a Linux machine.

  2. Verify the integrity of the downloaded compressed file. Run a checksum tool on the .tgz file and make sure that the output matches the checksum in the matching documentation item in the Download Center.

  3. Extract the run file from the archive.

    [<ADMIN> ~]$ sudo tar xzvf TufinOS-X.XX-XXXXXX-x86_64-Final.usb.img.tgz
    sudo tar xzvf TufinOS-X.XX-XXXXXX-x86_64-Final.usb.img.tgz

    The run file name includes the release, version, and build number.

    For example: TufinOS-4.40-4368238-x86_64-Final.usb.img

    After decompression, you will have two files - the main .img file and a .sha256 checksum file.

  4. Verify the integrity of the TufinOS image using the checksum file:

    [<ADMIN> ~]# sha256sum -c TufinOS-X.XX-XXXXXX-x86_64-XXXX-Final.usb.iso.sha256
    sha256sum -c TufinOS-X.XX-XXXXXX-x86_64-XXXX-Final.usb.iso.sha256

    The output should return OK.

  5. Connect the USB flash drive to the Linux server.

  6. Run the command:

    dmesg | tail
    dmesg | tail
  7. At the end of the output of this command you will find the USB drive device name. Usually it is /dev/sdb, or /dev/sdc. Copy that name.

  8. Erase the USB flash drive before burning the TufinOS image to the USB flash drive:

    dd if=/dev/zero of=/dev/<usb flash drive device name> bs=512
    dd if=/dev/zero of=/dev/<usb flash drive device name> bs=512
  9. Burn only the decompressed TufinOS image file to the USB flash drive:

    dd if=TufinOS-X.XX-XXXXXX-x86_64-Final.usb.img of=/dev/<usb flash drive device name> bs=512
    dd if=TufinOS-X.XX-XXXXXX-x86_64-Final.usb.img of=/dev/<usb flash drive device name> bs=512

    Where <usb flash drive device name> is the name copied in previous step. This step may take a while; about 60 seconds or less.

  10. Flush the data to the disk to make sure that all data is copied correctly.

    sync ; sync
    sync ; sync
  11. Remove the USB key from the machine.

After TufinOS is installed, you can transfer the TOS installation file to the appliance and install it.

  • TufinOS 3: /opt

  • TufinOS 4: /opt/misc/