LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Calculate
User Name
Password
Calculate This forum is for the discussion of Calculate Linux.

Notices


Reply
  Search this Thread
Old 08-17-2022, 04:24 AM   #1
fredmyra
Member
 
Registered: Dec 2019
Location: Sweden
Posts: 295

Rep: Reputation: Disabled
How to use cl-console?


I have done a whole disk installation of Calculate Linux to an external HD as a first test sometime ago.

Now I am trying to install it to an internal HD.

I have reviewed the docs at https://wiki.calculate-linux.org/installing_calculate

and then I tried booting from a Linux - Endeavour OS - but failed with same error:
Quote:
dracut Fatal: don't know how to handle root=live
Ater reading somewhere that the installer should work with any " Gentoo-based distribution", I then dd-ed the iso into an usb-stick and was able to boot in both machines, with some limitation in the older one: namely, desktop only shows wallpaper, not content. But the content of the desktop is available in Thunar.

My problem is that when according to the documentation I studied, I tried
Code:
cl-install --help
I got:
Code:
/Error: 1
The README file on the desktop of the usb tells me to use
Code:
cl-console
but I have not been able to get detailed info on how to use this command. I want to install Calculate Linux on a multiboot machine - as all my machines are multiboot.

I found an old note with an invocation of cl-install, but I don't recall how I came up with that. I wonder whether there is anything wrong with that in a situation where cl-install is available, and I also wonder what could be a corresponding invocation in a situation where cl-console is the valid option. I mean cl-console, not cl-console-gui.

Here is the content of the note with the invocation of cl-install:
Code:
l-install  -d /dev/sdc3:swap  /
            -d /dev/sdc5 /
            -d /dev/sdc6:/var/calculate /
            -d /dev/sdc7:update /
            -d /var/calculate/home:/home /
            -d /dev/sdc8:data /
           --mbr /dev/sdc /
           --type usb-hdd /
            -s CLDX /
           --march x86_64 /
            -l sv_SE /
           --user fredmyra / 
           --hostname ext-toshi /
           --netconf openrc /
           --ip eth0:192.168.0.111/24 /
           --route default:192.168.0.1:eth0 /
           --dns 192.168.0.1 /
           --live /
           --instal /
I have created partitions sdc5,sdc6,sdc7,sdc8 through GParted.

I am looking forwards to try Calculate Linux on a daily base, and I wonder why are there so few threads here. Is there any other forum focusing on Calculate Linux, if I may ask ?

Last edited by fredmyra; 08-18-2022 at 09:16 AM. Reason: typo "[CODE]cl-intall --help[/CODE]" > > "[CODE]cl-install --help[/CODE]"
 
Old 08-17-2022, 10:48 AM   #2
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,138
Blog Entries: 6

Rep: Reputation: 1827Reputation: 1827Reputation: 1827Reputation: 1827Reputation: 1827Reputation: 1827Reputation: 1827Reputation: 1827Reputation: 1827Reputation: 1827Reputation: 1827
Those instructs, plus my way of doing it.

KDE Edition example:
Code:
wget --spider https://mirror.calculate-linux.org/release/22.0.1/cld-22.0.1-x86_64.iso
Spider mode enabled. Check if remote file exists.
--2022-08-17 10:37:59--  https://mirror.calculate-linux.org/release/22.0.1/cld-22.0.1-x86_64.iso
Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt'
Resolving mirror.calculate-linux.org (mirror.calculate-linux.org)... 185.184.79.212
Connecting to mirror.calculate-linux.org (mirror.calculate-linux.org)|185.184.79.212|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3524263936 (3.3G) [application/octet-stream]

curl https://mirror.calculate-linux.org/release/22.0.1/cld-22.0.1-x86_64.iso -o cld-22.0.1-x86_64.iso

#sha1sum
5858fffd60fa7ef733e10351e231bab10ac20b94  cds-22.0.1-x86_64.iso
ef3026e4a7e2b718bb97208045bec7cc272e4614  cld-22.0.1-x86_64.iso
5d4b76047f8ae1938ab755b9318a79fea532acf1  cldc-22.0.1-x86_64.iso
898b005ef3dee2a708b8372771bf7b1891587797  cldl-22.0.1-x86_64.iso
db62abf5d767255079f24411af7053712547330a  cldm-22.0.1-x86_64.iso
b83c4f77585ecff20c9e64f14db83b308c7cb18e  cldx-22.0.1-x86_64.iso
5cb845a8b4930f1a02a2f73efffb353141a99537  cldxs-22.0.1-x86_64.iso
b10fa1f139cb3e849329f485db23e5e858d29cef  cls-22.0.1-x86_64.iso
35efc7445e37cd3cab16a433fe933f054ded9309  css-22.0.1-x86_64.iso

dd if=cld-22.0.1-x86_64.iso of=/dev/<usb_drive_device_node> bs=2048
Now you have a live usb stick.

I've never used this. Looks like it has instructions for console install.

https://wiki.calculate-linux.org/ins...n_a_hard_drive
https://wiki.calculate-linux.org/ins...n_console_mode
https://wiki.calculate-linux.org/ins...existing_linux
 
Old 08-18-2022, 06:44 PM   #3
fredmyra
Member
 
Registered: Dec 2019
Location: Sweden
Posts: 295

Original Poster
Rep: Reputation: Disabled
teckk wrote:
Quote:
.....
dd if=cld-22.0.1-x86_64.iso of=/dev/<usb_drive_device_node> bs=2048

Now you have a live usb stick.

I've never used this. Looks like it has instructions for console install.

https://wiki.calculate-linux.org/ins...n_a_hard_drive
https://wiki.calculate-linux.org/ins...n_console_mode
https://wiki.calculate-linux.org/ins...existing_linux
Thanks teckk!
It is booting fine, but I still got the Error 1, when trying
Code:
cl-install --help
But after rebooting a couple times and fiddling with boot options I booted a few times to the desktop and and a few times to consolw, and then somehow - i can not explain why - the command started working and I became aware of the "--mbr" option.

I have for some years booted my multiboots from grub installed by Manjaro, in order to avoid problems that can arise from trying to boot Manjaro from some other distros.

I have yet not have the opportunity to test the solution at https://forums.linuxmint.com/viewtop...+grub#p1807167.

I was affraid that Manjaro might not boot from grub installed by Calculate Linux and I was looking for a way to avoid possible problems.

When I finally searched french sites for option "--mbr" in cj-install I found this solution which I have yet not tested but feel pretty sure it will work:
https://forum.calculate-linux.org/t/...-racine/5459/4 which I register here in case someone has the same question. The post is from 2013 but I am assuming it still works. Would be nice to hear confirmation from more experienced users.

My own over simplified translation in case translator softwares stumble upon french stylistics
Quote:

Install CL, without installing GRUB.

It will be unbootable before further procedures.

Remaining in the Live session chroot into the just installed CL and install grub to the root partition of CL. It should be easy to search for

Then reboot to the multiboot´s distribution (in my case Manjaro) and update grub or use any other solution that will produce an entry for CL in Manjaros grub. There are several.
Will return as soon as I test it during the coming week-end.

Last edited by fredmyra; 08-18-2022 at 06:49 PM.
 
Old 08-18-2022, 07:11 PM   #4
fredmyra
Member
 
Registered: Dec 2019
Location: Sweden
Posts: 295

Original Poster
Rep: Reputation: Disabled
In order to install CL without installing grub:


POst from Jan 2020 https://forum.calculate-linux.org/t/...ulate-kde/9851
Quote:
You can install Calculate Linux with option “–mbr off”, but you should add grub entry for Calculate in Manjaro.
The above option can be added to your cl-install command in command mode.

The french thread https://forum.calculate-linux.org/t/...-racine/5459/6 from jan 2013 refer to an option in the installer at that time which allowed to turn off the installation of GRUB.

I have been unable to find any reference to such in https://wiki.calculate-linux.org/ins...n_a_hard_drive.

Hope someone else can throw some light upon this.
 
Old 08-19-2022, 06:04 PM   #5
fredmyra
Member
 
Registered: Dec 2019
Location: Sweden
Posts: 295

Original Poster
Rep: Reputation: Disabled
I have finally found the cl-install command and its --help. Still no manual.

I have edited the command line below, after getting many errors in many attempts.

Code:
cl-install -l sv_SE /
           --timezone Europe/Stockholm /
           -k Svenska /
           --hostname lifebook_calc / 
           -d /dev/sda8:swap /
           -d /dev/sda1:/:ext4 /
           -d /dev/sda12:/var/calculate /
           -d /var/calculate/home:/home /
           --netconf openrc /
           --iface ens1:DHCP /
           --route default:192.168.0.1:ens1 
           --dns 192.168.0.1 
           --domain-search dlinkrouter 
           --root-password 
           --grub-passwd OFF
But i keep getting an error that I am unable to eliminate:
Code:
Repeat password:
Error in parameter --route. Gateways 192.168.0.1  are unreachable.
From the usb-Live system I get:
Code:
route -n

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.0.1     0.0.0.0         UG    100    0        0 ens1
127.0.0.0       127.0.0.1       255.0.0.0       UG    0      0        0 lo
192.168.0.0     0.0.0.0         255.255.255.0   U     100    0        0 ens1
I can ping 'linuxmint.com', as an example.

Can any one help me ?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Opening Tomcat console and debugger console Sunday03 General 0 03-16-2009 01:54 AM
How to print a message from kernel module to terminal console or tty console yogesh_bansal Linux - Newbie 2 02-27-2009 09:10 AM
console background image? - no X, just console jgams Slackware 2 12-06-2005 08:56 PM
How to Run Win32 Console App in linux Console Lokie Linux - Software 2 08-12-2004 10:00 PM
X server in console 1 crashes on return from console 2 fieldmethods Red Hat 4 09-05-2003 12:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Calculate

All times are GMT -5. The time now is 03:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration