Before you start
This guide describes how to flash an EVE-OS installer or live image on to a portable storage device, such as a USB stick or an SD card. Using your flashed portable storage, you will be able to either install EVE-OS or live-boot EVE-OS on your edge nodes.
You must have a blank bootable storage device: either a USB drive or an SD card, depending on your edge node’s requirements.
You must have an EVE-OS image. If you don't, please see our guide to getting an EVE-OS image.
Flash an EVE-OS installer or live image
WARNING: the following procedures will completely overwrite a physical drive. Ensure that you select the correct USB or SD device.
- Plug in your USB drive.
- Open your terminal.
- List the storage devices connected to your machine to verify that your drive is recognized by your machine.
diskutil list
- Check the output from the previous step. Note that the title of your drive will include the word “external”. Remember this title. For example:
/dev/disk4 (external, physical)
- Unmount your drive.
sudo diskutil umountdisk DISK_IDENTIFIER
Examplesudo diskutil umountdisk disk4
- Locate your previously downloaded installer file. If you don’t have one, see Get an EVE-OS image.
- Flash your EVE-OS image to your USB.
sudo dd if=IMAGE_FILE of=DISK_IDENTIFIER bs=64m
Examplesudo dd if=installer.raw of=/dev/disk4 bs=64m
-
For EVE-OS installers: ensure that there are two volumes on your USB: EVE and INVENTORY
diskutil list
ExampleThe output should look similar to the following:
/dev/disk4 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *62.0 GB disk4
1: Microsoft Basic Data EVE 1.0 MB disk4s4
2: EFI EVE 401.6 MB disk4s1
3: Microsoft Basic Data INVENTORY 41.9 MB disk4s5
(free space) 61.6 GB -If the output does not contain EVE and INVENTORY, do not continue. Start again with a different USB drive. Your USB drive needs enough capacity to hold both volumes.
- Eject your USB.
diskutil eject DISK_IDENTIFIER
Examplediskutil eject /dev/disk4
- Unplug your drive.
- Proceed to our guide on installing EVE-OS.
- Plug in your USB drive.
- Open your terminal.
- List the storage devices connected to your machine to verify that your drive is recognized by your machine.
lsblk
- Check the output from the previous step. Note that the title of your drive will indicate the “RM” (removable) is true (“1”). Remember the NAME value, “sdb” in the following example:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sdb 8:16 1 16G 0 disk
└─sdb1 8:17 1 16G 0 part /media/usb - Unmount your drive. You may need to unmount each of the volumes of the disk before unmounting the disk.
sudo umount DISK_NAME
Example: unmount volumessudo umount /dev/sdb1
sudo umount /dev/sdb2Example: unmount disksudo umount /dev/sdb
- Locate your previously downloaded installer file. If you don’t have one, see Get an EVE-OS image file.
- Flash your image file to your USB.
sudo dd if=IMAGE_FILE of=DISK_IDENTIFIER bs=64m
Examplesudo dd if=installer.raw of=/dev/sdb bs=64M
-
For EVE-OS installers: ensure that there are two volumes on your USB: EVE and INVENTORY
If the output does not contain EVE and INVENTORY, do not continue. Start again with a different USB drive. Your USB drive needs enough capacity to hold both volumes.lsblk
- Eject your USB.
sudo eject DISK_NAME
Examplesudo eject /dev/sbd
- Unplug your drive.
- Proceed to our guide on installing EVE-OS.
We recommend using Rufus (in DD mode).
After you’re done, proceed to our guide on installing EVE-OS.
To flash a live EVE-OS image onto an SD card for Raspberry Pi devices, follow these steps.
- Install the Raspberry Pi Imager.
- Plug your SD-compatible USB drive into your local machine.
- Insert your SD card into your USB drive’s SD port.
- Open the Raspberry Pi Imager.
- Choose which Raspberry Pi model you want to install EVE-OS onto from the Raspberry Pi Device dropdown.
- Select Use Custom from the Operating System dropdown.
- Select your USB drive from the Storage window.
- Click Next.
- Click No when prompted for OS customizations.
- Click Yes, when warned that existing data on the SD card will be erased.
- Click Continue to finish the flashing process.
- Close the imager and eject your SD card.
You can now connect your flashed SD card to your edge node and boot into EVE-OS.
Next steps
If you flashed an EVE-OS installer image, you’re ready to install EVE-OS onto your edge nodes.
If you flashed an EVE-OS live image, you’re ready to live-boot EVE-OS on an edge node.