Taking too long to install #53

Open
opened 2025-12-28 23:22:39 +01:00 by adam · 6 comments
Owner

Originally created by @muneikh on GitHub (Jul 4, 2020).

Screenshot from 2020-07-04 20-52-07

It's taking a long time to install OS-X as seen in screenshot 9 hours and 27 minutes. I have created a 80GB partition for Ubuntu installation. When installing OS-X I created a new partition (minus 1 GB) as mentioned in the readme.

Base System: Ubuntu 20.04
Processor: Core i5 (10 Gen)
RAM: 8 GB
SSD: 256 SSD

Any ideas what I might be doing wrong?

Originally created by @muneikh on GitHub (Jul 4, 2020). ![Screenshot from 2020-07-04 20-52-07](https://user-images.githubusercontent.com/14274448/86516230-4eefb600-be38-11ea-8dfc-f40a7f167ca4.png) It's taking a long time to install OS-X as seen in screenshot 9 hours and 27 minutes. I have created a 80GB partition for Ubuntu installation. When installing OS-X I created a new partition (minus 1 GB) as mentioned in the readme. Base System: Ubuntu 20.04 Processor: Core i5 (10 Gen) RAM: 8 GB SSD: 256 SSD Any ideas what I might be doing wrong?
Author
Owner

@sickcodes commented on GitHub (Jul 4, 2020):

free -mh
Close all other windows, especially browsers, and check the RAM and CPU usage.
Try adding swap memory if you haven't already.

@sickcodes commented on GitHub (Jul 4, 2020): `free -mh` Close all other windows, especially browsers, and check the RAM and CPU usage. Try adding swap memory if you haven't already.
Author
Owner

@muneikh commented on GitHub (Jul 4, 2020):

While I assigned 4GB RAM and also closed the browsers etc. It still show 9 hours as installation time. Do you think this has to do with the below console log output?

free -mh command shows the following output.

          total        used        free      shared  buff/cache   available

Mem: 7.5Gi 3.0Gi 484Mi 186Mi 4.0Gi 4.0Gi
Swap: 2.0Gi 243Mi 1.8Gi

sudo docker run -e RAM=4 -p 50922:10022 --privileged -e "DISPLAY=${DISPLAY:-:0.0}" -v /tmp/.X11-unix:/tmp/.X11-unix sickcodes/docker-osx:latest
ssh-keygen: generating new host keys: RSA DSA ECDSA ED25519 
qemu-system-x86_64: warning: dbind: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-EiPOdoiDX4: Connection refused
QEMU 5.0.0 monitor - type 'help' for more information
(qemu) ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
ALSA lib conf.c:4743:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4743:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
ALSA lib conf.c:4743:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5231:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM default
alsa: Could not initialize DAC
alsa: Failed to open `default':
alsa: Reason: No such file or directory
ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
ALSA lib conf.c:4743:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4743:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
ALSA lib conf.c:4743:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5231:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM default
alsa: Could not initialize DAC
alsa: Failed to open `default':
alsa: Reason: No such file or directory
audio: Failed to create voice `dac'
ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
ALSA lib conf.c:4743:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4743:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
ALSA lib conf.c:4743:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5231:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM default
alsa: Could not initialize ADC
alsa: Failed to open `default':
alsa: Reason: No such file or directory
ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
ALSA lib conf.c:4743:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4743:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
ALSA lib conf.c:4743:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5231:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM default
alsa: Could not initialize ADC
alsa: Failed to open `default':
alsa: Reason: No such file or directory
audio: Failed to create voice `adc'
@muneikh commented on GitHub (Jul 4, 2020): While I assigned 4GB RAM and also closed the browsers etc. It still show 9 hours as installation time. Do you think this has to do with the below console log output? `free -mh` command shows the following output. > total used free shared buff/cache available > Mem: 7.5Gi 3.0Gi 484Mi 186Mi 4.0Gi 4.0Gi > Swap: 2.0Gi 243Mi 1.8Gi > ``` sudo docker run -e RAM=4 -p 50922:10022 --privileged -e "DISPLAY=${DISPLAY:-:0.0}" -v /tmp/.X11-unix:/tmp/.X11-unix sickcodes/docker-osx:latest ssh-keygen: generating new host keys: RSA DSA ECDSA ED25519 qemu-system-x86_64: warning: dbind: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-EiPOdoiDX4: Connection refused QEMU 5.0.0 monitor - type 'help' for more information (qemu) ALSA lib confmisc.c:767:(parse_card) cannot find card '0' ALSA lib conf.c:4743:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings ALSA lib conf.c:4743:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name ALSA lib conf.c:4743:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5231:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM default alsa: Could not initialize DAC alsa: Failed to open `default': alsa: Reason: No such file or directory ALSA lib confmisc.c:767:(parse_card) cannot find card '0' ALSA lib conf.c:4743:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings ALSA lib conf.c:4743:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name ALSA lib conf.c:4743:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5231:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM default alsa: Could not initialize DAC alsa: Failed to open `default': alsa: Reason: No such file or directory audio: Failed to create voice `dac' ALSA lib confmisc.c:767:(parse_card) cannot find card '0' ALSA lib conf.c:4743:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings ALSA lib conf.c:4743:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name ALSA lib conf.c:4743:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5231:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM default alsa: Could not initialize ADC alsa: Failed to open `default': alsa: Reason: No such file or directory ALSA lib confmisc.c:767:(parse_card) cannot find card '0' ALSA lib conf.c:4743:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings ALSA lib conf.c:4743:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name ALSA lib conf.c:4743:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5231:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM default alsa: Could not initialize ADC alsa: Failed to open `default': alsa: Reason: No such file or directory audio: Failed to create voice `adc' ```
Author
Owner

@seevik2580 commented on GitHub (Jul 5, 2020):

try to load /dev and /lib/modules to fix ALSA lib errors , also you can try to set environment NO_AT_BRIDGE to fix bus error.
sudo docker run -e RAM=4 -p 50922:10022 --privileged -e "DISPLAY=${DISPLAY:-:0.0}" -e "NO_AT_BRIDGE=1" -v /tmp/.X11-unix:/tmp/.X11-unix -v /dev:/dev -v /lib/modules:/lib/modules sickcodes/docker-osx:latest
if still taking long time to install, how good is your internet connection ? because catalina is downloaded through installation live from apple servers.

@seevik2580 commented on GitHub (Jul 5, 2020): try to load /dev and /lib/modules to fix ALSA lib errors , also you can try to set environment NO_AT_BRIDGE to fix bus error. `sudo docker run -e RAM=4 -p 50922:10022 --privileged -e "DISPLAY=${DISPLAY:-:0.0}" -e "NO_AT_BRIDGE=1" -v /tmp/.X11-unix:/tmp/.X11-unix -v /dev:/dev -v /lib/modules:/lib/modules sickcodes/docker-osx:latest` if still taking long time to install, how good is your internet connection ? because catalina is downloaded through installation live from apple servers.
Author
Owner

@dibg commented on GitHub (Nov 9, 2020):

"because catalina is downloaded through installation live from apple servers." can we force it to use the installesdd.dmg perhaps after conversion into img ?

@dibg commented on GitHub (Nov 9, 2020): "because catalina is downloaded through installation live from apple servers." can we force it to use the installesdd.dmg perhaps after conversion into img ?
Author
Owner

@sickcodes commented on GitHub (Mar 7, 2021):

"because catalina is downloaded through installation live from apple servers." can we force it to use the installesdd.dmg perhaps after conversion into img ?

Good suggestion. I will look into offline installers this week as relying on upstream URLs, particularly with the way downloads are throttled randomly; it is in my interests now.

@sickcodes commented on GitHub (Mar 7, 2021): > "because catalina is downloaded through installation live from apple servers." can we force it to use the installesdd.dmg perhaps after conversion into img ? Good suggestion. I will look into offline installers this week as relying on upstream URLs, particularly with the way downloads are throttled randomly; it is in my interests now.
Author
Owner

@scorpion81 commented on GitHub (Jan 2, 2022):

See also a discussion about full installers I have started here: https://github.com/sickcodes/Docker-OSX/discussions/415

@scorpion81 commented on GitHub (Jan 2, 2022): See also a discussion about full installers I have started here: https://github.com/sickcodes/Docker-OSX/discussions/415
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Docker-OSX#53