If your hardware does not support legacy BIOS and you are trying to boot Swarm using USB sticks, then you will have to perform the following steps in order to create a bootable USB stick that is UEFI compatible.
Plug the USB flash device into the Windows computer.
Note of the drive letter assigned to the USB device. (the example uses X:)
Open a command prompt as an administrator:
a. Windows Start Menu Search: "cmd"
b. Ctrl-Shift-Enter to open as an administrator, agreeing to the
Format the USB key by typing the following at the command prompt:
format X: /FS:FAT'. This may take awhile to complete.
Ensure the USB device has been marked as bootable.
a. Windows Start Menu Search: "Disk Management"
b. Find the USB Device in the list and ensure its status is listed as 'Active'
c. If it is not, right click on the status portion of the row and select 'Mark Partition as Active'.
Download this to your computer https://mirrors.edge.kernel.org/pub/linux/utils/boot/syslinux/syslinux-6.03.zip
On your USB stick create the following folder and its subfolder /EFI/BOOT
From syslinux-6.03.zip copy the following 2 files to the USB stick under /EFI/BOOT/
On the USB stick under /EFI/BOOT rename syslinux.efi to BOOTx64.efi
From the Swarm storage bundle copy the following files to the USB stick under /EFI/BOOT/: castor.rle, fsimage, kernel, manifest.cfg, syslinux.cfg, syslinux.txt
From that same bundle copy the caringo folder to the root of the USB stick
Edit the node.cfg file and add a license file in the /caringo directory as appropriate.
The folder structure of your USB stick should look like this:
Volume serial number is 88EB-161B
│ │ BOOTx64.efi
│ │ castor.rle
│ │ fsimage
│ │ kernel
│ │ ldlinux.e64
│ │ manifest.cfg
│ │ syslinux.cfg
│ │ syslinux.txt
"Eject" or "Safely Remove" the USB flash device. The eject option can be found by right-clicking the drive device icon within Windows Explorer. You must not just pull the device out; you must cleanly unmount it in order to ensure that all data is written to it.
Plug the USB flash device into a Swarm node.