This section provides steps to create the Edge Compute Stack deployment media on a Linux machine.
Prerequisites
Ensure to download the VMware Edge Compute Stack IMG media. For more information, see Downloading the Media.
Procedure
- Boot Linux and log in using your credentials. Enter the super user mode by using
su
or sudo
root command.
Note:
If your USB drive is not detected as /dev/sdb
, or you are not sure about how your USB drive is detected, then you must determine how it is detected for your operating system by referring to the operating system instructions online.
- Plug in your USB drive.
- In the command line, run the
lsblk
command to display the current disks attached.
lsblk -o NAME,KNAME,PATH,VENDOR,MODEL,SERIAL
NAME KNAME PATH VENDOR MODEL SERIAL
sda sda /dev/sda Kingston DataTraveler 3.0 └─sda1 sda1 /dev/sda1 sr0 sr0 /dev/sr0 NECVMWar VMware SATA CD00 nvme0n1 nvme0n1 /dev/nvme0n1 VMware Virtual NVMe Disk VMware N VME_0000 ├─nvme0n1p1 nvme0n1p1 /dev/nvme0n1p1 └─nvme0n1p2 nvme0n1p2 /dev/nvme0n1p2
In this example, /dev/sda identifies the USB device. If your device is identified differently, use that identification in place of sda.
- Overwrite the entire USB drive with the IMG image and replace the name of the IMG file downloaded earlier with the name as shown in the following example. This command overwrites the partition table and any previous content on the USB drive.
dd bs=10M if=ec-Example-Media-xxxxx.img of=/dev/sda
time dd bs=10M if=ecs-3.5.0-20240617-24036327-boot2live-usb.img of=/dev/sda 213+1 records in 213+1 records out 2237730816 bytes (2.2 GB, 2.1 GiB) copied, 146.646 s, 15.3 MB/s real 2m26.651s user 0m0.007s sys 0m6.676s
- The overwrite can take around 2–5 minutes. After the overwrite is finished, you can safely eject your USB drive from your machine.
Results
The VMware Edge Compute Stack boot media is created on your Linux machine, which can be used to deploy your host. For more information, see Booting Your Edge Server.