Installing from a non-Calculate Linux
Updated 8 March 2019
This is about how to install Calculate Linux from an already running Linux host.
It may be useful for:
- installing Calculate Linux wirelessly - for example, on 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:
--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)... 126.96.36.199, 2a02:6b8::183 Connecting to mirror.yandex.ru (mirror.yandex.ru)|188.8.131.52|: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
20181005 with the relevant version. You can view version names here.
If you have a remote server, get a KVM console and then reboot the system. As on the figure below:
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:
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.