Installing from a non-Calculate Linux

This is about how to install Calculate Linux from an already running Linux host.

It may be useful for:

  • wireless installation of Calculate Linux, e.g. for a virtual server;
  • replacing your Linux system without a LiveCD;
  • creating a new Linux distribution or LiveCD, based on Calculate Linux.

It is simple, isn't it? Download the latest Calculate Linux release and save it to the / directory:

wget https://mirror.yandex.ru/calculate/nightly/20181005/css-20181005-x86_64.iso -P /
--2018-10-07 13:54:47--  https://mirror.yandex.ru/calculate/nightly/20181005/css-20181005-x86_64.iso
Resolving mirror.yandex.ru (mirror.yandex.ru)... 213.180.204.183, 2a02:6b8::183
Connecting to mirror.yandex.ru (mirror.yandex.ru)|213.180.204.183|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 639631360 (610M) [application/octet-stream]
Saving to: 'css-20181005-x86_64.iso.1'

64.iso.1              1%[                    ]   9.62M  1.66MB/s    eta 5m 46s

Please replace 20181005 with the relevant version. You can view version names here.

Restart KVM if you use a remote server and reboot. As on the figure below:

Grub

Once in Grub, hit "c" to go to the Grub command line and paste the following:

loopback loop /css-20181005-x86_64.iso
linux (loop)/boot/vmlinuz root=live iso-scan/filename=/css-20181005-x86_64.iso rd.live.ram
initrd (loop)/boot/initrd
boot

As on the figure as in:

Grub boot settings

The CL system image will then be loaded to RAM and launched. To start and install Calculate Scratch Server (in the example), 1Gb of RAM is enough.

You can install to the hard disk now:

cl-install -D /dev/vda --root-size=10G -l ru_RU --timezone Europe/Moscow --hostname my.domain.org

In the example above one 10 GB partition is created on the /dev/vda drive, defining your locale as fr_FR, your timezone as Europe/Paris and the network name of your computer as my.domain.org.