Before you start, make sure that:
- You have a working USB flash drive at your disposal.
- The servers (physical or virtual) meet the minimum hardware requirements.
Create a bootable USB drive in the Linux command-line interface
To make a PortaSwitch installation USB flash drive using the Linux command-line interface, complete the following steps:
- Plug the USB flash drive into the USB port of your computer.
Check the name Linux has assigned to your USB flash drive. To do this, execute the following command:
dmesg | tail -20and look for strings that contain titles like "sdX," where X can be any letter, e.g., sdb, sdc. This is your USB flash drive name that you should remember as you will need it for the next step. For example, in the screenshot below, the USB flash drive name is sdb.

- Write the PortaSwitch installation ISO file to the USB flash drive. To do this, execute the following command (replace Dir/PortaSwitch_installation_file.iso with the path to the PortaSwitch installation ISO file and sdX with your USB flash drive name):
sudo dd if=/Dir/PortaSwitch_installation_file.iso of=/dev/sdX bs=8M
- Once the writing process has finished, unplug the USB flash drive.
Create a bootable USB drive using a utility
There are many utilities available for Windows, Linux, and macOS that help create bootable USB flash drives, such as balenaEtcher or Rufus. You can use the one you prefer.
For example, to create a bootable USB drive on Windows using balenaEtcher:
- Download and install Etcher
- Go to https://etcher.balena.io/#download-etcher and download the installer for your OS.
- Install and launch Etcher.
- Insert the USB Flash Drive
- Plug the USB drive into your computer.
- Back up any important data as this process will erase everything on the drive.
- Select the ISO File
- Choose the USB Drive
- Click Select target and pick your USB flash drive from the list.
- Start Flashing
- Click Flash! to begin.
- Wait for the process to complete. It may take a few minutes.
- Eject the USB Drive
- Once flashing is done, safely remove the USB drive before unplugging it.

