How to Deploy Nitrux OS using Znx

1,781
Published on February 8, 2019 by

This video shows you how to deploy nitrux os using a znx tool. Make sure UEFI enabled in a computer to boot the device where you deployed Nitrux OS.

Deploying the operating system in our case means that you are “copying” the ISO file to the storage device as a single file and enabling persistence on the storage device using OverlayFS instead of extracting its contents and creating the standard directory tree on the storage device“, Nitrux Developer explained.

The following is step by step how to deploy Nitrux OS  :

Deploying Nitrux OS can do from an existing Linux, like Ubuntu, Fedora, Manjaro, openSUSE (Live or already installed).

Step 1 – Download znx AppImage from https://github.com/Nitrux/znx/releases/download/continuous-stable/znx_stable

Step 2 – Make znx_stable executable, open a Terminal window and run the following commands:

chmod +x znx_stable

For clarity purposes rename the file (mv znx_stable znx) or use a file manager (right-click>prperties>permissions)

Since znx is a command line utility, all the steps will be done on a Terminal window.

Step 3 – initialize a storage device by running command:

sudo ./znx init /dev/sdX

(where X is the device, do not enter a partition).

Step 4 – Now deploy Nitrux, run command:

sudo ./znx deploy /dev/sdX nitrux/v1-1-2 $isopath

When you type nitrux/v1-1-2″ you are entering the name of the directory where znx will be deploying the file to so basically this: a folder named v1-1-2 goes inside the folder named nitrux, and this can be anything, for example, nx/112 or nitrux1-1/v1-2.

And $isopath is the path to the ISO file, and this can be either a local file or it can be a web URL, the URL has to be a direct link to the file)

Step 5 – Depending on the speed of the storage device where the ISO is being deployed to it will take between 5-15 minutes or a couple of seconds in a virtual machine. During this time the command prompt will not be available, so it’s critical that the window where the command is running is not closed.

Step 6 – After the command prompt is available once again make sure that the write cache is empty, run:

sync

And that’s it you can begin to use Nitrux. If the ISO were deployed to a USB 2.0 device, it would take several minutes to load due to the limits of the transfer speed of these devices.

If you were to deploy Nitrux again, you can skip downloading the ISO altogether since the ISO would be already available from the device that Nitrux is booted from. The file is at /isodevice/boot_images

Category Tag