OpenMandrivaAssociation / distribution

OpenMandriva Lx is an exciting free Desktop Operating System that aims to cater to and interest first time and advanced users alike. It has the breadth and depth of an advanced system but is designed to be simple and straightforward in use.
https://openmandriva.org
7 stars 2 forks source link

openmandriva installation fails in (a bit slow) VM #2861

Closed usama-makhzoum closed 1 year ago

usama-makhzoum commented 1 year ago

OpenMandriva version: 4.3 x86_64 , BUILD ID : 598 (I think it's ROCK but not sure)

Describe the bug: setup failed at running scripts stage (/usr/bin/calmares-post-script specifically). installation waits for it 100 seconds only, this can be too short for VMs

Steps to reproduce: run openmandriva installation in a weak or mid specs virtual machine (VBox for instance)

Observed behavior: installation failed. no more scripts are executed and installation is broken.

Expected behavior: installation should wait for it , a little more.

Additional comment: I am running /usr/bin/calmares-post-script inside another chroot as a trick in order to make installation complete, just before calmares executes the script itself.

having 3 GB as VM ram, 10 GB for harddisk space, Oracle Virtualbox in debian linux.

tpgxyz commented 1 year ago

Hi @usama-makhzoum thanks for the report. You can incerase timeout by yourself by editing /etc/calamares/modules/shellprocess.conf

Nevertheless i'll increase the timeout.

https://github.com/OpenMandrivaSoftware/distro-release/blob/6049f87ac41865e288eda37767aea5527c46214a/installer/shellprocess.conf#L34

usama-makhzoum commented 1 year ago

nice, I've edited conf inside harddisk just after calamares copied image files.

worked like a charm