Artix Linux Forum

Artix Linux => Installation / Migration / Configuration => Topic started by: qmastery on 07 April 2022, 14:49:39

Title: Calamares "Waiting for 1 module(s)" for 120 seconds if no Internet connection?
Post by: qmastery on 07 April 2022, 14:49:39
Trying to do an offline installation of artix-xfce-openrc-20220123-x86_64.iso. When I launch Calamares, it shows "Waiting for 1 module(s)" for 120 seconds and then tells "The system is not connected to the Internet". A couple of questions:

1) What is this 1 module, and why it is not a part of an ISO?
2) Are there any downsides of installing without this module?

Thank you in advance
Title: Re: Calamares "Waiting for 1 module(s)" for 120 seconds if no Internet connection?
Post by: strajder on 07 April 2022, 18:25:37
You can run
Code: [Select]
calamares -d >calamares.log 2>&1
to generate a log.

The modules are on the ISO, but they might take longer to initialize ("RequirementsChecker" lines; implying checking requirements). By the way, this is more of a question for upstream.
Title: Re: Calamares "Waiting for 1 module(s)" for 120 seconds if no Internet connection?
Post by: qmastery on 07 April 2022, 19:42:14
Thank you. I compared the calamares logs, if no Internet then at some point there are a lot of
Code: [Select]
**:**:** [6]: void Calamares::RequirementsChecker::reportProgress()
    Remaining modules: 1
     "welcome"
sections, and finally
Code: [Select]
**:**:** [6]: void Calamares::RequirementsChecker::addCheckedRequirements(Calamares::Module*)
    Got 5 requirement results from "welcome"
**:**:** [6]: void Calamares::RequirementsChecker::finished()
    All requirements have been checked.
**:**:** [6]: void Calamares::RequirementsModel::describe() const
    Requirements model has 6 items
    ..  requirement 0 "partitions" satisfied? true mandatory? true
    ..  requirement 1 "storage" satisfied? true mandatory? true
    ..  requirement 2 "ram" satisfied? true mandatory? true
    ..  requirement 3 "power" satisfied? true mandatory? false
    ..  requirement 4 "internet" satisfied? false mandatory? false
    ..  requirement 5 "root" satisfied? true mandatory? true
**:**:** [6]: "No carrier"

This doesn't block a progress - just delays it a bit while this check is ongoing. I wonder, for what purpose the Internet is desired by Calamares: to download & apply the updates, or something else - i.e. to show the custom pictures during the installation?
Title: Re: Calamares "Waiting for 1 module(s)" for 120 seconds if no Internet connection?
Post by: strajder on 07 April 2022, 20:52:38
Code: [Select]
    ..  requirement 0 "partitions" satisfied? true mandatory? true 
    ..  requirement 1 "storage" satisfied? true mandatory? true
    ..  requirement 2 "ram" satisfied? true mandatory? true
    ..  requirement 3 "power" satisfied? true mandatory? false
    ..  requirement 4 "internet" satisfied? false mandatory? false
    ..  requirement 5 "root" satisfied? true mandatory? true
**:**:** [6]: "No carrier"
As can be seen from this part of the log, the only required modules are: partitions, storage, ram and root ("mandatory? true").