Introduction

In this article, the destination partition will be /dev/sda4.

The boot procedure is not explained in this topic.
This means that the machine already has a boot process and
you only need to adjust the /boot/grub/grub.cfg file
and add a new entry NuTyX on /dev/sda4.

In this article, all the commands are done via the root account

The writer is not responsible for lost of any data that could happen due to a fault manipulation.
This topic is for advice target audience.

How to proceed:

Mount the destination partition

Retrieve all the binary packages from base collection

Download and check the installation script from the download server

Put the /etc/install-nutyx.conf.d/cards.conf file in place

Installation of NuTyX

Update grub to accept the new NuTyX

Mount the destination partition

In this article the destination partition will be /dev/sda4.
A minimum size of 15 Gbytes will allow you to install all the available graphical interfaces
xfce4, lxde, gnome, mate and kde5 and will give you the possibility of adding a set of frequently used applications.

When the script is running it uses some variables. The most important one is:

LFS

We will redefine this variable so that the script can use it:

export LFS=/mnt/NuTyX

We format the destination partition.
The file system of our choice is ext4
Ext4 gives us the possibility to avoid the use of an initrd

mkfs.ext4 /dev/sda4

We mount the formatted partition on the folder define by the LFS variable.

mkdir -p $LFS
mount /dev/sda4 $LFS

Everything is now ready to retrieve all the binaries needed for the installation of NuTyX.

Once this command is completed, we will download the installation script from the server.

Download and check the installation script from the download server

We will use the command wget for the download.
Make sure you have it installed on your distribution

wget http://www.nutyx.org/install-nutyx{,.md5sum}

We will check the integrity of the script before we use it.

md5sum -c install-nutyx.md5sum

install-nutyx: OK

Before we launch the script with the correct variables, we need to put the /etc/install-nutyx.conf.d/cards.conf file in the right place.

Put the /etc/install-nutyx.conf.d/cards.conf file in place

The install-nutyx script can use preconfiguration of some files.
This means if it finds one of those files in the /etc/install-nutyx.conf.d/,
the script will used the one found instead of the internal one of the script.
We will then adapt the cards.conf file of our NuTyX for an "offline" installation
by mentioning the only collection available for the installation
basewithout specifying the download URL.