Install with the raw disk image
Run VelaOS from a USB stick, or write it to a PC's disk from a live Linux USB.
The raw disk image is VelaOS as a ready-made disk. Write it to a USB stick and the PC runs VelaOS from the stick, then offers to install it on the internal disk. Or start any live Linux and write the image straight to the internal disk. Most people use the installer instead: Make a VelaOS USB stick and install.
When is the raw disk image the better choice?
- You want to try VelaOS on a PC without touching its disk.
- You work from a Linux shell and want to write the disk yourself.
One difference to know: a PC installed from the raw disk image has an unencrypted disk. Disk encryption is shipped with the VelaOS installer on devices with a TPM 2.0 chip.
What do you need?
- A free VelaOS account, to download the image and approve the PC.
- A PC with a 64-bit Intel or AMD processor, UEFI, at least 4 GB of memory and 32 GB of storage (hardware requirements).
- A USB stick of 32 GB or more. The unpacked image is about 10 GB. Everything on the stick is erased.
- For the live Linux path: a second stick with any live Linux, and a way to get the image onto it (a third stick, or download it there).
How do you get the raw disk image?
- 1
Open Downloads
Sign in and open Downloads.
- 2
Download the image and its checksums
Open Advanced on the VelaOS card and download
velaos-VERSION-amd64.raw.zst,SHA256SUMSandSHA256SUMS.sigfrom the same release. - 3
Check them
On Linux, in the download folder, with
velaos.pubsaved from Check your download:bashcosign verify-blob --key velaos.pub --signature SHA256SUMS.sig \ --insecure-ignore-tlog=true SHA256SUMS sha256sum --ignore-missing -c SHA256SUMSYou should see
Verified OK, then the file name followed byOK. The same page has the steps for Windows and macOS.
How do you run VelaOS from a USB stick?
- 1
Unpack the image
balenaEtcher doesn't open
.zstfiles, so unpack the download to a.rawfile first. On Windows, use 7-Zip 24.01 or newer: right-click the file and choose Extract here. On a Mac, with Homebrew:bashbrew install zstd zstd -d velaos-*.raw.zstOn Linux, install zstd with
sudo dnf install zstdorsudo apt install zstd, then:bashzstd -d velaos-*.raw.zst - 2
Write the stick
In balenaEtcher, choose Flash from file and pick the
.rawfile, choose Select target and tick the stick, then choose Flash. On Windows, Rufus in DD Image mode works too. On Linux you can unpack and write in one go; find the stick withlsblkand put its name in place of/dev/sdX:bashzstd -dc velaos-*.raw.zst | sudo dd of=/dev/sdX bs=4M status=progress oflag=sync - 3
Start the PC from the stick
Open the PC's boot menu and choose the UEFI entry for the stick. Boot-menu keys by maker.
- 4
Choose whether to install
The screen says VelaOS is running from the USB stick and asks Install VelaOS on this computer?, naming the internal disk it would erase.
- To keep running from the stick, press Enter, or wait 60 seconds. The PC won't ask again on later starts of that stick after you press Enter.
- To install, type
ERASEand press Enter. This erases the disk it named. The PC prepares for a few minutes, then installs, which takes 5 to 15 minutes. When the screen says VelaOS is installed, remove the stick and press Enter to restart.
The PC only offers to install while setup hasn't finished.
- 5
Set it up and approve it
The Setup Assistant opens. Answer it and approve the code it shows, as in steps 6 and 7 of the USB stick guide.
How do you install on the internal disk from a live Linux USB?
This erases the disk you name
Everything on it is deleted: the operating system, the partitions and the files. lsblk lists every disk, the live USB stick included. /dev/nvme0n1 and /dev/sda are disks; /dev/nvme0n1p1 and /dev/sda1 are partitions. Use the internal disk, never a partition.
- 1
Start the PC from a live Linux USB
Write any live Linux image to a stick (balenaEtcher works), start the PC from it and open a terminal. Copy
velaos-VERSION-amd64.raw.zstonto the live system, from another stick or by downloading it there. - 2
Install zstd if it's missing
On Debian or Ubuntu:
bashsudo apt install zstdOn AlmaLinux, Rocky Linux, Fedora or Red Hat Enterprise Linux:
bashsudo dnf install zstd - 3
Find the internal disk
bashlsblkNote the internal disk. The live USB is often the smaller disk, and it may show a mount point. Don't choose it.
- 4
Write the image to that disk
In the command, change
VERto the version you downloaded (26.10is an example) andDISKto the internal disk fromlsblk(/dev/sdXis an example). Check the name once more: this erases that disk. The command writes only whenDISKis a disk, and stops if unpacking fails.bashset -o pipefail VER=26.10 DISK=/dev/sdX [ -b "$DISK" ] && zstd -dc "velaos-${VER}-amd64.raw.zst" | sudo dd of="$DISK" bs=4M status=progress conv=fsync - 5
Restart without the live USB
Shut down, unplug the live USB and switch the PC on. It starts VelaOS from the disk you wrote.
- 6
Set it up and approve it
The Setup Assistant asks for the language, keyboard, time zone and network, then shows a code. Approve it at velaos.ch/activate, as in step 7 of the USB stick guide.
What happens after the install?
- The device joins your organisation only after you approve it.
- It installs only VelaOS updates that VelaOS signed.
- After each update it checks that it started properly. If it didn't, it goes back to the version that worked, by itself.
Next steps
- What the person at the device sees when it starts.
- Install the VelaOS Agent on Linux, to manage a Linux computer and keep its own operating system.
- Boot failure and recovery.