spaceinvaderone / macinabox Goto Github PK
View Code? Open in Web Editor NEWUnraid docker image to help install MacOS vms
Unraid docker image to help install MacOS vms
with the logs i saw the following outputs and it stuck there. I've also noticed that no user-scripts are created when i check user-script plugin.
Before installing the docker, I deleted the old appdata and docker template.
Nothing makes any differences.
Any idears?
Have you tried the x11vnc '-ncache' VNC client-side pixel caching feature yet?
The scheme stores pixel data offscreen on the VNC viewer side for faster
retrieval. It should work with any VNC viewer. Try it by running:
x11vnc -ncache 10 ...
One can also add -ncache_cr for smooth 'copyrect' window motion.
More info: http://www.karlrunge.com/x11vnc/faq.html#faq-client-caching
I'm trying to install macOS Big Sur (using Method 2). I can see the storage space on the array going down as macOS is downloaded but suddenly it looks like the download is completely deleted and I just get this:
/Macinabox/unraid.sh: line 273: /Macinabox/tools/FetchMacOS/BaseSystem/SharedSupport.dmg: Permission denied
Looking at unraid.sh, lines 273 says:
rm /Macinabox/tools/FetchMacOS/BaseSystem/SharedSupport.dmg
Steps to reproduce
The main hard drive in Mac OS is read only for the admin user. If you look at the info of the volume it says it's read-only for the admin user.
Both download methods always download Monterey. Monterey works at first but changing anything in platform info stops it from booting properly.
BigSur-install.img not downloading.
Traceback (most recent call last):
File "fetch-macos2.py", line 501, in
sys.exit(main())
File "fetch-macos2.py", line 497, in main
action_download(args)
File "fetch-macos2.py", line 236, in action_download
info = get_image_info(session, bid=args.board_id, mlb=args.mlb,
File "fetch-macos2.py", line 147, in get_image_info
headers, output = run_query(url, headers, post)
File "fetch-macos2.py", line 80, in run_query
response = urlopen(req)
File "/usr/lib/python3.8/urllib/request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib/python3.8/urllib/request.py", line 531, in open
response = meth(req, response)
File "/usr/lib/python3.8/urllib/request.py", line 640, in http_response
response = self.parent.error(
File "/usr/lib/python3.8/urllib/request.py", line 569, in error
return self._call_chain(*args)
File "/usr/lib/python3.8/urllib/request.py", line 502, in _call_chain
result = func(*args)
File "/usr/lib/python3.8/urllib/request.py", line 649, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 417: Expectation Failed
chmod: /isos/BigSur-install.img: No such file or directory
rm: can't remove '/Macinabox/tools/FetchMacOS/BaseSystem/*': No such file or directory
Hi, i hope this is not a dupplicate issue reported there i try to find an answer on my own without any sucessful result.
i'm following tutorial from space invader to create my own bigsur virtual machin through Unraid.
1st try yesterday, i manage to follow method installation one which lead me to have working catalina instead of bigsur.
So i follow the recommendation linked in the issue closed #33
So i manage to remove macinabox and all traces of it thanks to the Bpelech's comment, and redo install w/ method 2
and now i'm stuck here :
instead to have this :
from my research there maybe a link with BigSur-opencore.img wich could be damaged or else.
My question is i would like to be able to download it again but each time i tried, img file is back to isos folder instantely and i've no clue where to clean it up.
Looking to log say : "BigSur-opencore.img already exists. If you want me to replace you will need to manually delete it first"
but no still no clue about folder location.
Anyway thx for your soft @SpaceinvaderOne and if you could help me it would be very appreciated !
Moustik !
When selecting Big Sur as the Mac OS version to install, and leaving the download method as Method 1, the installer for Catalina is downloaded.
The Macinabox docker image in use is the latest, perhaps the Big Sur product ID has changed or something?
Download Method 2 just failed to do anything for me.
Allow us to specify the memory size in the docker for the virtual machine
A new version 10.15.4 was released today and the older version is broken.
Inject fix xml userscript
is no
Inject fix xml userscript
is yes
user scripts
if the value is changed to no
Feels like the variable logic behaves in an inverted way?
Apple updated product IDs recently.
Installation attempt returns the following:
I am going to download the Catalina recovery media. Please be patient!
.
.
Collecting requests (from -r requirements.txt (line 1))
Downloading
[truncated]
Successfully installed certifi-2020.4.5.1 chardet-3.0.4 click-7.1.2 requests-2.23.0 urllib3-1.25.9
2020-05-27 16:24:25,452 Network Request: Fetching https://swscan.apple.com/content/catalogs/others/index-10.15-10.14-10.13-10.12-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog
Product ID 061-96006 could not be found.
Hello, I am facing the issue that an happened after i installed Macinabox in UNRAID 6.9.1.
So that the VM will not be auto installed.
错误警告系统阵列登录
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-app-niceness.sh: executing...
[cont-init.d] 00-app-niceness.sh: exited 0.
[cont-init.d] 00-app-script.sh: executing...
[cont-init.d] 00-app-script.sh: exited 0.
[cont-init.d] 00-app-user-map.sh: executing...
[cont-init.d] 00-app-user-map.sh: exited 0.
[cont-init.d] 00-clean-logmonitor-states.sh: executing...
[cont-init.d] 00-clean-logmonitor-states.sh: exited 0.
[cont-init.d] 00-clean-tmp-dir.sh: executing...
[cont-init.d] 00-clean-tmp-dir.sh: exited 0.
[cont-init.d] 00-set-app-deps.sh: executing...
[cont-init.d] 00-set-app-deps.sh: exited 0.
[cont-init.d] 00-set-home.sh: executing...
[cont-init.d] 00-set-home.sh: exited 0.
[cont-init.d] 00-take-config-ownership.sh: executing...
[cont-init.d] 00-take-config-ownership.sh: exited 0.
[cont-init.d] 00-xdg-runtime-dir.sh: executing...
[cont-init.d] 00-xdg-runtime-dir.sh: exited 0.
[cont-init.d] 10-certs.sh: executing...
[cont-init.d] 10-certs.sh: exited 0.
[cont-init.d] 10-cjk-font.sh: executing...
[cont-init.d] 10-cjk-font.sh: exited 0.
[cont-init.d] 10-nginx.sh: executing...
[cont-init.d] 10-nginx.sh: exited 0.
[cont-init.d] 10-vnc-password.sh: executing...
[cont-init.d] 10-vnc-password.sh: exited 0.
[cont-init.d] 10-web-index.sh: executing...
[cont-init.d] 10-web-index.sh: exited 0.
[cont-init.d] 20-machineid_fix.sh: executing...
[cont-init.d] 20-machineid_fix.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] starting s6-fdholderd...
[services.d] starting certsmonitor...
[services.d] starting nginx...
[services.d] starting xvfb...
[nginx] starting...
[certsmonitor] disabling service: secure connection not enabled.
[xvfb] starting...
[services.d] starting logmonitor...
[services.d] starting statusmonitor...
[logmonitor] no file to monitor: disabling service...
[services.d] starting openbox...
[statusmonitor] no file to monitor: disabling service...
[openbox] starting...
[services.d] starting x11vnc...
[services.d] starting app...
[x11vnc] starting...
[app] starting Macinabox with VirtManager...
[services.d] done.
03/05/2021 18:29:51 passing arg to libvncserver: -rfbport
03/05/2021 18:29:51 passing arg to libvncserver: 5900
03/05/2021 18:29:51 passing arg to libvncserver: -rfbportv6
03/05/2021 18:29:51 passing arg to libvncserver: -1
03/05/2021 18:29:51 passing arg to libvncserver: -httpportv6
03/05/2021 18:29:51 passing arg to libvncserver: -1
03/05/2021 18:29:51 passing arg to libvncserver: -desktop
03/05/2021 18:29:51 passing arg to libvncserver: Macinabox with VirtManager
03/05/2021 18:29:51 x11vnc version: 0.9.14 lastmod: 2015-11-14 pid: 815
03/05/2021 18:29:51 Using X display :0
03/05/2021 18:29:51 rootwin: 0x43 reswin: 0x400001 dpy: 0x100ab20
03/05/2021 18:29:51
03/05/2021 18:29:51 ------------------ USEFUL INFORMATION ------------------
unzip: can't change directory to '/userscripts/': Permission denied
unzip: can't change directory to '/userscripts/': Permission denied
03/05/2021 18:29:51 X DAMAGE available on display, using it for polling hints.
chmod: /userscripts/1_macinabox_helper/: Permission denied
03/05/2021 18:29:51 To disable this behavior use: '-noxdamage'
03/05/2021 18:29:51
03/05/2021 18:29:51 Most compositing window managers like 'compiz' or 'beryl'
03/05/2021 18:29:51 cause X DAMAGE to fail, and so you may not see any screen
03/05/2021 18:29:51 updates via VNC. Either disable 'compiz' (recommended) or
03/05/2021 18:29:51 supply the x11vnc '-noxdamage' command line option.
03/05/2021 18:29:51 X COMPOSITE available on display, using it for window polling.
03/05/2021 18:29:51 To disable this behavior use: '-noxcomposite'
03/05/2021 18:29:51
03/05/2021 18:29:51 Wireframing: -wireframe mode is in effect for window moves.
03/05/2021 18:29:51 If this yields undesired behavior (poor response, painting
03/05/2021 18:29:51 errors, etc) it may be disabled:
03/05/2021 18:29:51 - use '-nowf' to disable wireframing completely.
03/05/2021 18:29:51 - use '-nowcr' to disable the Copy Rectangle after the
03/05/2021 18:29:51 moved window is released in the new position.
03/05/2021 18:29:51 Also see the -help entry for tuning parameters.
03/05/2021 18:29:51 You can press 3 Alt_L's (Left "Alt" key) in a row to
03/05/2021 18:29:51 repaint the screen, also see the -fixscreen option for
03/05/2021 18:29:51 periodic repaints.
03/05/2021 18:29:51 GrabServer control via XTEST.
chmod: /userscripts/1_macinabox_vmready_notify/: Permission denied
03/05/2021 18:29:51
03/05/2021 18:29:51 Scroll Detection: -scrollcopyrect mode is in effect to
03/05/2021 18:29:51 use RECORD extension to try to detect scrolling windows
03/05/2021 18:29:51 (induced by either user keystroke or mouse input).
03/05/2021 18:29:51 If this yields undesired behavior (poor response, painting
03/05/2021 18:29:51 errors, etc) it may be disabled via: '-noscr'
03/05/2021 18:29:51 Also see the -help entry for tuning parameters.
03/05/2021 18:29:51 You can press 3 Alt_L's (Left "Alt" key) in a row to
03/05/2021 18:29:51 repaint the screen, also see the -fixscreen option for
03/05/2021 18:29:51 periodic repaints.
03/05/2021 18:29:51
03/05/2021 18:29:51 XKEYBOARD: number of keysyms per keycode 7 is greater
03/05/2021 18:29:51 than 4 and 51 keysyms are mapped above 4.
03/05/2021 18:29:51 Automatically switching to -xkb mode.
03/05/2021 18:29:51 If this makes the key mapping worse you can
03/05/2021 18:29:51 disable it with the "-noxkb" option.
03/05/2021 18:29:51 Also, remember "-remap DEAD" for accenting characters.
03/05/2021 18:29:51
03/05/2021 18:29:51 X FBPM extension not supported.
Xlib: extension "DPMS" missing on display ":0".
03/05/2021 18:29:51 X display is not capable of DPMS.
03/05/2021 18:29:51 --------------------------------------------------------
03/05/2021 18:29:51
03/05/2021 18:29:51 Default visual ID: 0x21
03/05/2021 18:29:51 Read initial data from X display into framebuffer.
03/05/2021 18:29:51 initialize_screen: fb_depth/fb_bpp/fb_Bpl 24/32/5120
03/05/2021 18:29:51
03/05/2021 18:29:51 X display :0 is 32bpp depth=24 true color
03/05/2021 18:29:51
03/05/2021 18:29:51 Listening for VNC connections on TCP port 5900
03/05/2021 18:29:51
03/05/2021 18:29:51 Xinerama is present and active (e.g. multi-head).
03/05/2021 18:29:51 Xinerama: number of sub-screens: 1
03/05/2021 18:29:51 Xinerama: no blackouts needed (only one sub-screen)
03/05/2021 18:29:51
03/05/2021 18:29:51 fb read rate: 1382 MB/sec
03/05/2021 18:29:51 fast read: reset -wait ms to: 10
03/05/2021 18:29:51 fast read: reset -defer ms to: 10
03/05/2021 18:29:51 The X server says there are 10 mouse buttons.
03/05/2021 18:29:51 screen setup finished.
03/05/2021 18:29:51
The VNC desktop is: 7637456b0320:0
0
******************************************************************************
Have you tried the x11vnc '-ncache' VNC client-side pixel caching feature yet?
The scheme stores pixel data offscreen on the VNC viewer side for faster
retrieval. It should work with any VNC viewer. Try it by running:
x11vnc -ncache 10 ...
One can also add -ncache_cr for smooth 'copyrect' window motion.
More info: http://www.karlrunge.com/x11vnc/faq.html#faq-client-caching
Hi,
I'm wondering if there will be any changes to OpenCore instead of Clover.
Also, is there anywhere I can see a list of all the tweaks and changes that had to be made to make this run? Would be cool to learn from it!
XML error: Attempted double use of PCI Address 0000:00:02.0
I pulled the most recent pull requests, and forked a branch, unfortunately in Unraid when i change the repository to my own, it says that it : Unable to find image 'bluemanrising/macinabox:latest' locally
im assuming due to the pull request coming up with 0 bytes its not grabing my repo, since im new to unraid, is there a way to manually download and put on my unraid server, and if so, where does it save, so when it fails to pull, I can just grab what I uploaded manually?
sorry if this has ever been asked before, just trying to get a working copy and like everyone else im having the same issue with the wrong version of os being downloaded, and then again, during the last steps of updating the esi, it hanging in boot like a previous issue states.
the created script waits for the appdata path to be a directory. It would be nice if the script whould change the path acording to the settings in the docker template
EDIT: Same thing in 1_macinabox_helper
Hi! This looks absolutely amazing but I've run into this issue when I try to do Catalina full install:
Product ID 041-83630 could not be found.
I see that this product ID was specified in commit fa9f2e8 in order to fix issue #1 "Catalina downloads Mojave"
Running fetch.sh with -l
downloads Catalina now, not Mojave. Maybe we could fallback to -l
if specifying the product id fails? (or vice versa)
I'm brand new to unraid so I'm unsure how to tweak the install or troubleshoot there, but this is what I get when I clone the repo and run fetch.sh in macOS.
with -p 041-83630
: Product ID 041-83630 could not be found
$ "Macinabox/tools/FetchMacOS/fetch.sh" -p 041-83630 -c PublicRelease
2019-12-11 21:59:40,165 Network Request: Fetching https://swscan.apple.com/content/catalogs/others/index-10.15-10.14-10.13-10.12-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog
Product ID 041-83630 could not be found.
with -l
: downloads Catalina, product: 061-10700
$ "Macinabox/tools/FetchMacOS/fetch.sh" -l -c PublicRelease
2019-12-11 21:59:42,362 Network Request: Fetching https://swscan.apple.com/content/catalogs/others/index-10.15-10.14-10.13-10.12-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog
2019-12-11 21:59:43,837 Selected macOS Product: 061-10700
Fetching BaseSystem/BaseSystem.dmg ... [####################################] 100%
Tried to install Big Sur using method 1 and it would install Catalina. Removed all data and templates and tried method 2 install, installation wouldn't complete after waiting for about 45 minutes.
I then went through the appdata folder for macinabox and found "macinabox_Big Sur.log", this log said the following:
I am going to download the BigSur recovery media. Please be patient!
.
.
Product ID 001-86606 could not be found.
So I installed Big Sur on my unRaid machine with Macinabox while following instructions from SpaceincaderOne’s video on YouTube for the new version of Macinabox.
Everything went smoothly except I cant log into any Apple services.
I followed all instructions exactly but when I put in my login details in the System Preferences, it pinged my other devices, and when I allowed the login and put the code in, I get an error which says “Could not communicate with server.” and it stops at that. What is confusing is that even though my login does not go through, The VM or “My iMac Pro” is added in the iCloud devices when I check on my phone or iPad.
Can someone please help me with this?
Thanks, this is excellent! A bit odd though that I struggle with Photos. There is no all-photos tab under library.
I had reported this in the youtube video (https://www.youtube.com/watch?v=g_jk9D2e5q0) and ziggie216 confirmed having the same issue.
Also, ziggie216 tried and this worked with Mojave, but stopped working with Catalina.
Any thoughts?
I've got a weird issue with Macinabox. I installed BigSur and its mostly working great, but in some apps, like Apple Maps, all I get is a black screen. Specifically with Maps, the app is visible, but the actual map section is just black.
I've tried everything I can think of and I just can't get maps to show the actual maps.
The description text for the VM Images location field states: "normally /mnt/users/domains". This should read "normally /mnt/user/domains" instead.
I have watched your youtube video, but I still have many questions, thank you
1、Mount clover.qcow2 EFI, cp clover.qcow2 EFI to OSX EFI, remove clover.qcow2 and install image. Then reboot, can't boot,black screen
2、Changing the product model results in boot failure and black screen, imac 14 to imac 18、19
3、The launch logo is in the upper left, blurred screen
4、Can I customize the clover.qcow2 file?
Hello I have the problem when I want to start the VM in Unraid that this error is always displayed to me
Cannot access storage file '/mnt/user/isos/Catalina-install.img': No such file or directory
I ask for help
Apple appears to have changed things again. Perhaps it would be helpful to add some information on how users can obtain an updated code even if just in the script's comments.
please add the ability to install betas. It would be a neat way to test apps for the upcoming versions of macos. thx
On Windows VMs the RDP Client can handle or adopt the Resolution. Is there a way to achieve this with a mac VM?
Script location: /tmp/user.scripts/tmpScripts/1_macinabox_helper/script
Note that closing this window will abort the execution of this script
error: Failed to define domain from /mnt/user/appdata/macinabox/autoinstall/Macinabox Catalina.xml
error: unsupported configuration: Emulator '/usr/local/sbin/qemu' does not support virt type 'kvm'
VM is now installed. Goto VM tab to run
Rerun this script if you make any changes to the macOS VM using the Unraid VM manger
After looking at your youtube-video about using one gpu and switching between VMs it looked like you started MacOS Catalina using a nvidia 1080. Is that possible now? Do you have any instructions of how to do this?
Left the docker container at default settings and install flavour --catalina. The file tree/names all say Catalina as expected but once getting to the installation I am prompted with macOS Mojave installation.
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Starting process at Tue Oct 29 21:08:45 Europe 2019
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
I am going to download the Catalina recovery media. Please be patient!
.
.
Collecting requests (from -r requirements.txt (line 1))
Downloading https://files.pythonhosted.org/packages/51/bd/23c926cd341ea6b7dd0b2a00aba99ae0f828be89d72b2190f27c11d4b7fb/requests-2.22.0-py2.py3-none-any.whl (57kB)
Collecting click (from -r requirements.txt (line 2))
Downloading https://files.pythonhosted.org/packages/fa/37/45185cb5abbc30d7257104c434fe0b07e5a195a6847506c074527aa599ec/Click-7.0-py2.py3-none-any.whl (81kB)
Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 (from requests->-r requirements.txt (line 1))
Downloading https://files.pythonhosted.org/packages/e0/da/55f51ea951e1b7c63a579c09dd7db825bb730ec1fe9c0180fc77bfb31448/urllib3-1.25.6-py2.py3-none-any.whl (125kB)
Collecting certifi>=2017.4.17 (from requests->-r requirements.txt (line 1))
Downloading https://files.pythonhosted.org/packages/18/b0/8146a4f8dd402f60744fa380bc73ca47303cccf8b9190fd16a827281eac2/certifi-2019.9.11-py2.py3-none-any.whl (154kB)
Collecting chardet<3.1.0,>=3.0.2 (from requests->-r requirements.txt (line 1))
Downloading https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl (133kB)
Requirement already satisfied: idna<2.9,>=2.5 in /usr/lib/python2.7/dist-packages (from requests->-r requirements.txt (line 1))
Installing collected packages: urllib3, certifi, chardet, requests, click
Successfully installed certifi-2019.9.11 chardet-3.0.4 click-7.0 requests-2.22.0 urllib3-1.25.6
2019-10-29 21:08:47,592 Network Request: Fetching https://swscan.apple.com/content/catalogs/others/index-10.15-10.14-10.13-10.12-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog
2019-10-29 21:08:49,288 Selected macOS Product: 061-26589
Full install starting to unraid domain /image/MacinaboxCatalina
.
.
mkdir: created directory '/image/MacinaboxCatalina'
I have created the Macinabox directories
.
.
Formatting '//image/MacinaboxCatalina/macos_disk.img', fmt=raw size=68719476736
.
Created vdisk as type raw
.
.
dmg2img v1.6.7 (c) vu1tur ([email protected])
/Macinabox/tools/FetchMacOS/BaseSystem/BaseSystem.dmg --> /image/MacinaboxCatalina/Catalina-install.img
can you incorporate this change? kholia/OSX-KVM@453485e
I need this so I can set up content caching https://support.apple.com/guide/mac-help/set-up-content-caching-on-mac-mchl3b6c3720/mac
error: https://www.reddit.com/r/macsysadmin/comments/9zd5ca/cache_server_in_a_vm/
Allow us to specify the core/cpu count in the docker for the virtual machine.
Best would be to add a drop down to only allow OSX approved values.
ie. 2 / 4 / 8 / 16 / 32
I keep selecting to install Catalina but even though the disk image says "Catalina-install.img" it still downloads the Big Sur installer.
Each time I delete both disk image files the "1_macinabox_vmready_notify" script downloads as well as removing the macinabox template and appdata.
Hey @SpaceinvaderOne love the guides and this peace of piss container :D
not sure if this is just me,
but it seems the new catalina tag doesnt install? the clover loads but apon pressing enter to go to the boot os installer. it just stalls and the next keyboard input serves what looks like the start of a seabios screen
black with _
i can run the latest Mojave though, are you able to confirm this for me? thanks!
While installing Catalina (Full Install) the log stops here:
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Starting process at Sun Sep 27 11:41:43 Europe 2020
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
I am going to download the Catalina recovery media. Please be patient!
.
.
Collecting requests (from -r requirements.txt (line 1))
Downloading https://files.pythonhosted.org/packages/45/1e/0c169c6a5381e241ba7404532c16a21d86ab872c9bed8bdcd4c423954103/requests-2.24.0-py2.py3-none-any.whl (61kB)
Collecting click (from -r requirements.txt (line 2))
Downloading https://files.pythonhosted.org/packages/d2/3d/fa76db83bf75c4f8d338c2fd15c8d33fdd7ad23a9b5e57eb6c5de26b430e/click-7.1.2-py2.py3-none-any.whl (82kB)
Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 (from requests->-r requirements.txt (line 1))
Downloading https://files.pythonhosted.org/packages/9f/f0/a391d1463ebb1b233795cabfc0ef38d3db4442339de68f847026199e69d7/urllib3-1.25.10-py2.py3-none-any.whl (127kB)
Collecting chardet<4,>=3.0.2 (from requests->-r requirements.txt (line 1))
Downloading https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl (133kB)
Collecting certifi>=2017.4.17 (from requests->-r requirements.txt (line 1))
Downloading https://files.pythonhosted.org/packages/5e/c4/6c4fe722df5343c33226f0b4e0bb042e4dc13483228b4718baf286f86d87/certifi-2020.6.20-py2.py3-none-any.whl (156kB)
Requirement already satisfied: idna<3,>=2.5 in /usr/lib/python2.7/dist-packages (from requests->-r requirements.txt (line 1))
Installing collected packages: urllib3, chardet, certifi, requests, click
Successfully installed certifi-2020.6.20 chardet-3.0.4 click-7.1.2 requests-2.24.0 urllib3-1.25.10
2020-09-27 11:42:19,899 Network Request: Fetching https://swscan.apple.com/content/catalogs/others/index-10.15-10.14-10.13-10.12-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog
Product ID 061-94403 could not be found.
Hi, i hope this is not a dupplicate issue reported there i try to find an answer on my own without any sucessful result.
i'm following tutorial from space invader to create my own bigsur virtual machin through Unraid.
1st try yesterday, i manage to follwo method installation one which lead me to have working catalina instead of bigsur.
So i follow the recommendation linked in the issue closed #33
So i manage to remove macinabox and all traces of it thanks to the Bpelech's comment, and redo install w/ method 2
and now i'm stuck here :
instead to have this :
from my research there maybe a link with BigSur-opencore.img wich could be damaged or else.
My question is i would like to be able to download it again but each time i tried, img file is back to isos folder instantely and i've no clue where to clean it up.
Looking to log say : "BigSur-opencore.img already exists. If you want me to replace you will need to manually delete it first"
but no still no clue about folder location.
Anyway thx for your soft @SpaceinvaderOne and if you could help me it would be very appreciated !
Moustik !
I have tried following the guide several times but I always get the same error. Everything in the guide seams to work as expected until I get to the part where I run the user-scripts. Both scriptst finishes directly afer running them, and when I boot the newly created Mac-vm I only get three options. basehd, uefi and reset... If I choose basehd I get an apple logo and a progressbar that is visible for a couple of seconds then it reboots.
And If I try to change anything in the vm template like adding more cpu cores I just get an black screen with a number in the bottom right after starting the vm.
I have tried removing everything and starting over several times but I always get the same result.
I checked the macinabox log and it says something like that the size to download is ~650MB but that it only has downloaded ~2500bytes. And if I enter the download url in my browser I get Access denied. Is this the why it is failing ?
continuing
I am going to download the BigSur recovery media. Please be patient!
.
.
1. High Sierra (10.13)
2. Mojave (10.14)
3. Catalina (10.15)
4. Big Sur (11.6) - RECOMMENDED
5. Monterey (latest)
Big Sur (11.6) - RECOMMENDED
Downloading 694-35959...
Saving http://oscdn.apple.com/content/downloads/41/28/071-71279/5djpevqmc2w0ti2c4n1m8mkz7fm791t1ic/RecoveryImage/BaseSystem.dmg to BaseSystem.dmg...
Note: The total download size is 637.20 MB
Saving http://oscdn.apple.com/content/downloads/41/28/071-71279/5djpevqmc2w0ti2c4n1m8mkz7fm791t1ic/RecoveryImage/BaseSystem.chunklist to BaseSystem.chunklist...
Note: The total download size is 2596 bytes
.
.
mkdir: created directory '/domains/Macinabox BigSur'
I have created the Macinabox directories
.
.
Formatting '/domains/Macinabox BigSur/macos_disk.img', fmt=raw size=107374182400
.
Created vdisk
.
.
Saving http://oscdn.apple.com/content/downloads/41/28/071-71279/5djpevqmc2w0ti2c4n1m8mkz7fm791t1ic/RecoveryImage/BaseSystem.chunklist to BaseSystem.chunklist...
Note: The total download size is 2596 bytes
.
.
mkdir: created directory '/domains/Macinabox BigSur'
I have created the Macinabox directories
.
.
Formatting '/domains/Macinabox BigSur/macos_disk.img', fmt=raw size=107374182400
.
Created vdisk
.
.
Putting stock open core in the vm share
Archive: /Macinabox/bootloader/OpenCore-v16.img.zip
Putting stock open core in the vm share
Archive: /Macinabox/bootloader/OpenCore-v16.img.zip
inflating: /config/OpenCore-v16.img
Going with the default nic type for the macOS vm
macOS VM template generated and moved to server (You need to run macinabox_helper userscript)
.
.
A copy of macinabox helper and notify script has been put in appdata
Summary of what has been done
.
.
The reference /domains below refers to where you mapped that folder in the docker template on your server
(normally to /mnt/user/domains)
.
.
MacOS install media was put in your Unraid isos share named BigSur-install.img
.
.
A Vdisk of 100G was created in /domains/Macinabox BigSur
.
.
OpenCore bootloader image named BigSur-opencore.img was put in your Unraid vm share in the folder named BigSur
.
.
Custom ovmf files are in /mnt/user/system/custom_ovmf
.
.
XML template file for the vm is ready for install with macinabox helper user script.
Note This file assumes your vm share is the default location /mnt/user/domains
If it isnt you will need to change the locations accordingly after in unraid vm manager before running vm
A copy of the macinabox helper user script was placed in /mnt/user/appdata/macinabox
.
.
OK process is now complete
Hiya,
I am trying to get high sierra to work on my vm. I have installed the latest macinabox and in the drop down list I have selected the high sierra opperating system. when in the disk management it says that it has installed the big sur operating system. Can you help in fixing this please? The reason why i am wanting High Sierra is because i am running a gtx 1080ti.
Thanks Luis
[email protected]
I noticed that you don't have the paths for appdata defined in the VM helper scripts (either automatically using those from the docker container, or at the top of the file). I have 2 appdata folders, one that is cache only, and another one that uses the array and is covered by the parity drives. In this situation, the helper scripts don't work as the files it is trying to access aren't in the normal appdata folder, which it is set to look in.
Just a thought that you might either template them, move the path to a variable at the top, or at least mention that it may need to be changed.
With the same setup, I successful passthrough a RX480 4G GPU to mac os running on Unraid, then I try 6900xt, not work? What I've tried.
1.Download 6900xt bios from techpowerup, apply in configuration, not work.
2.Reset xml then boot with RX480, it works, reset xml then boot with 6900xt, not work.
3.add agdpmod=pikera boot arg, not work, and the issue happened before apple logo appear.
I've installed macOS Big Sur following the procedure to the letter and have already repeated the process twice. The config file appears correct from Unraid and running the helper script. This is my only macOS VM by the way:
And yet, this is what I get in System Preferences:
And like in #30, whenever I try to set up Apple services I get the same error:
No other network interface is set up and neither does any other appear in Network Preferences. Obviously I have already tried restarting the VM multiple times. Has anyone gotten Apple Services to work with Macinabox? If so, what does your Network System Preferences look like?
Please can you add Big Sur final? Released today :-)
Since macOS 10.14 and 10.15 does support virtio block, it is better to replace sata driver in the xml config with virtio.
<disk type='file' device='disk'>
<driver name='qemu' type='qcow2' cache='writeback'/>
<source file='/mnt/user/domains/MacinaboxCatalina/Clover.qcow2'/>
<target dev='hdc' bus='sata'/>
<boot order='1'/>
<address type='drive' controller='0' bus='0' target='0' unit='2'/>
</disk>
to
<disk type='file' device='disk'>
<driver name='qemu' type='qcow2' cache='writeback'/>
<source file='/mnt/user/domains/MacinaboxCatalina/Clover.qcow2'/>
<target dev='hdc' bus='virtio'/>
<boot order='1'/>
<address type='drive' controller='0' bus='0' target='0' unit='2'/>
</disk>
Hello,
i have a Problem with MacInABox.
the VM is Stuck at the Apple Logo after starting the MacOS Base System
but the vm is doing nothing anymore.
First I wanted to thank you for this great package, makes the configuration of macOS machines in Unraid a breeze.
Second wanted to request support for the macOS Monterey.
dear developer, this is log of docker
ErrorWarningSystemArrayLogin
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-app-niceness.sh: executing...
[cont-init.d] 00-app-niceness.sh: exited 0.
[cont-init.d] 00-app-script.sh: executing...
[cont-init.d] 00-app-script.sh: exited 0.
[cont-init.d] 00-app-user-map.sh: executing...
[cont-init.d] 00-app-user-map.sh: exited 0.
[cont-init.d] 00-clean-logmonitor-states.sh: executing...
[cont-init.d] 00-clean-logmonitor-states.sh: exited 0.
[cont-init.d] 00-clean-tmp-dir.sh: executing...
[cont-init.d] 00-clean-tmp-dir.sh: exited 0.
[cont-init.d] 00-set-app-deps.sh: executing...
[cont-init.d] 00-set-app-deps.sh: exited 0.
[cont-init.d] 00-set-home.sh: executing...
[cont-init.d] 00-set-home.sh: exited 0.
[cont-init.d] 00-take-config-ownership.sh: executing...
[cont-init.d] 00-take-config-ownership.sh: exited 0.
[cont-init.d] 00-xdg-runtime-dir.sh: executing...
[cont-init.d] 00-xdg-runtime-dir.sh: exited 0.
[cont-init.d] 10-certs.sh: executing...
[cont-init.d] 10-certs.sh: exited 0.
[cont-init.d] 10-cjk-font.sh: executing...
[cont-init.d] 10-cjk-font.sh: exited 0.
[cont-init.d] 10-nginx.sh: executing...
[cont-init.d] 10-nginx.sh: exited 0.
[cont-init.d] 10-vnc-password.sh: executing...
[cont-init.d] 10-vnc-password.sh: exited 0.
[cont-init.d] 10-web-index.sh: executing...
[cont-init.d] 10-web-index.sh: exited 0.
[cont-init.d] 20-machineid_fix.sh: executing...
[cont-init.d] 20-machineid_fix.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] starting s6-fdholderd...
[services.d] starting certsmonitor...
[services.d] starting nginx...
[services.d] starting xvfb...
[nginx] starting...
[certsmonitor] disabling service: secure connection not enabled.
[xvfb] starting...
[services.d] starting logmonitor...
[services.d] starting statusmonitor...
[logmonitor] no file to monitor: disabling service...
[services.d] starting openbox...
[statusmonitor] no file to monitor: disabling service...
[openbox] starting...
[services.d] starting x11vnc...
[services.d] starting app...
[x11vnc] starting...
[app] starting Macinabox with VirtManager...
[services.d] done.
12/04/2021 01:57:48 passing arg to libvncserver: -rfbport
12/04/2021 01:57:48 passing arg to libvncserver: 5900
12/04/2021 01:57:48 passing arg to libvncserver: -rfbportv6
12/04/2021 01:57:48 passing arg to libvncserver: -1
12/04/2021 01:57:48 passing arg to libvncserver: -httpportv6
12/04/2021 01:57:48 passing arg to libvncserver: -1
12/04/2021 01:57:48 passing arg to libvncserver: -desktop
12/04/2021 01:57:48 passing arg to libvncserver: Macinabox with VirtManager
12/04/2021 01:57:48 x11vnc version: 0.9.14 lastmod: 2015-11-14 pid: 815
12/04/2021 01:57:48 Using X display :0
12/04/2021 01:57:48 rootwin: 0x43 reswin: 0x400001 dpy: 0x7f914b20
12/04/2021 01:57:48
12/04/2021 01:57:48 ------------------ USEFUL INFORMATION ------------------
12/04/2021 01:57:48 X DAMAGE available on display, using it for polling hints.
12/04/2021 01:57:48 To disable this behavior use: '-noxdamage'
12/04/2021 01:57:48
12/04/2021 01:57:48 Most compositing window managers like 'compiz' or 'beryl'
12/04/2021 01:57:48 cause X DAMAGE to fail, and so you may not see any screen
12/04/2021 01:57:48 updates via VNC. Either disable 'compiz' (recommended) or
12/04/2021 01:57:48 supply the x11vnc '-noxdamage' command line option.
12/04/2021 01:57:48 X COMPOSITE available on display, using it for window polling.
12/04/2021 01:57:48 To disable this behavior use: '-noxcomposite'
12/04/2021 01:57:48
12/04/2021 01:57:48 Wireframing: -wireframe mode is in effect for window moves.
12/04/2021 01:57:48 If this yields undesired behavior (poor response, painting
12/04/2021 01:57:48 errors, etc) it may be disabled:
12/04/2021 01:57:48 - use '-nowf' to disable wireframing completely.
12/04/2021 01:57:48 - use '-nowcr' to disable the Copy Rectangle after the
12/04/2021 01:57:48 moved window is released in the new position.
12/04/2021 01:57:48 Also see the -help entry for tuning parameters.
12/04/2021 01:57:48 You can press 3 Alt_L's (Left "Alt" key) in a row to
12/04/2021 01:57:48 repaint the screen, also see the -fixscreen option for
12/04/2021 01:57:48 periodic repaints.
12/04/2021 01:57:48 GrabServer control via XTEST.
12/04/2021 01:57:48
12/04/2021 01:57:48 Scroll Detection: -scrollcopyrect mode is in effect to
12/04/2021 01:57:48 use RECORD extension to try to detect scrolling windows
12/04/2021 01:57:48 (induced by either user keystroke or mouse input).
12/04/2021 01:57:48 If this yields undesired behavior (poor response, painting
12/04/2021 01:57:48 errors, etc) it may be disabled via: '-noscr'
12/04/2021 01:57:48 Also see the -help entry for tuning parameters.
12/04/2021 01:57:48 You can press 3 Alt_L's (Left "Alt" key) in a row to
12/04/2021 01:57:48 repaint the screen, also see the -fixscreen option for
12/04/2021 01:57:48 periodic repaints.
12/04/2021 01:57:48
12/04/2021 01:57:48 XKEYBOARD: number of keysyms per keycode 7 is greater
12/04/2021 01:57:48 than 4 and 51 keysyms are mapped above 4.
12/04/2021 01:57:48 Automatically switching to -xkb mode.
12/04/2021 01:57:48 If this makes the key mapping worse you can
12/04/2021 01:57:48 disable it with the "-noxkb" option.
12/04/2021 01:57:48 Also, remember "-remap DEAD" for accenting characters.
12/04/2021 01:57:48
12/04/2021 01:57:48 X FBPM extension not supported.
Xlib: extension "DPMS" missing on display ":0".
12/04/2021 01:57:48 X display is not capable of DPMS.
12/04/2021 01:57:48 --------------------------------------------------------
12/04/2021 01:57:48
12/04/2021 01:57:48 Default visual ID: 0x21
12/04/2021 01:57:48 Read initial data from X display into framebuffer.
12/04/2021 01:57:48 initialize_screen: fb_depth/fb_bpp/fb_Bpl 24/32/5120
12/04/2021 01:57:48
12/04/2021 01:57:48 X display :0 is 32bpp depth=24 true color
12/04/2021 01:57:48
12/04/2021 01:57:48 Listening for VNC connections on TCP port 5900
12/04/2021 01:57:48
12/04/2021 01:57:48 Xinerama is present and active (e.g. multi-head).
12/04/2021 01:57:48 Xinerama: number of sub-screens: 1
12/04/2021 01:57:48 Xinerama: no blackouts needed (only one sub-screen)
12/04/2021 01:57:48
12/04/2021 01:57:48 fb read rate: 1095 MB/sec
12/04/2021 01:57:48 fast read: reset -wait ms to: 10
12/04/2021 01:57:48 fast read: reset -defer ms to: 10
12/04/2021 01:57:48 The X server says there are 10 mouse buttons.
12/04/2021 01:57:48 screen setup finished.
12/04/2021 01:57:48
The VNC desktop is: 97d4d66b6034:0
0
******************************************************************************
Have you tried the x11vnc '-ncache' VNC client-side pixel caching feature yet?
The scheme stores pixel data offscreen on the VNC viewer side for faster
retrieval. It should work with any VNC viewer. Try it by running:
x11vnc -ncache 10 ...
One can also add -ncache_cr for smooth 'copyrect' window motion.
More info: http://www.karlrunge.com/x11vnc/faq.html#faq-client-caching
2021-04-12 01:57:50,721 Network Request: Fetching https://swscan.apple.com/content/catalogs/others/index-10.13-10.12-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn
conn = connection.create_connection(
File "/usr/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection
raise err
File "/usr/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, in create_connection
sock.connect(sa)
TimeoutError: [Errno 110] Operation timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen
httplib_response = self._make_request(
File "/usr/lib/python3.8/site-packages/urllib3/connectionpool.py", line 381, in _make_request
self._validate_conn(conn)
File "/usr/lib/python3.8/site-packages/urllib3/connectionpool.py", line 976, in _validate_conn
conn.connect()
File "/usr/lib/python3.8/site-packages/urllib3/connection.py", line 308, in connect
conn = self._new_conn()
File "/usr/lib/python3.8/site-packages/urllib3/connection.py", line 171, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x14ddd4cf06a0>: Failed to establish a new connection: [Errno 110] Operation timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/requests/adapters.py", line 439, in send
resp = conn.urlopen(
File "/usr/lib/python3.8/site-packages/urllib3/connectionpool.py", line 724, in urlopen
retries = retries.increment(
File "/usr/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='swscan.apple.com', port=443): Max retries exceeded with url: /content/catalogs/others/index-10.13-10.12-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x14ddd4cf06a0>: Failed to establish a new connection: [Errno 110] Operation timed out'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "fetch-macos.py", line 165, in <module>
fetchmacos()
File "/usr/lib/python3.8/site-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "/usr/lib/python3.8/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/usr/lib/python3.8/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/lib/python3.8/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "fetch-macos.py", line 146, in fetchmacos
catalog = remote.getcatalog()
File "fetch-macos.py", line 95, in getcatalog
self.catalog_data = Filesystem.fetch_plist(self.catalog_url)
File "fetch-macos.py", line 54, in fetch_plist
plist_raw = requests.get(url, headers=ClientMeta.swupdate)
File "/usr/lib/python3.8/site-packages/requests/api.py", line 76, in get
return request('get', url, params=params, **kwargs)
File "/usr/lib/python3.8/site-packages/requests/api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/lib/python3.8/site-packages/requests/sessions.py", line 530, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python3.8/site-packages/requests/sessions.py", line 643, in send
r = adapter.send(request, **kwargs)
File "/usr/lib/python3.8/site-packages/requests/adapters.py", line 516, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='swscan.apple.com', port=443): Max retries exceeded with url: /content/catalogs/others/index-10.13-10.12-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x14ddd4cf06a0>: Failed to establish a new connection: [Errno 110] Operation timed out'))
Created a BigSur VM fails to start/hangs with:
2022-03-17 13:02:02.543+0000: Domain id=6 is tainted: high-privileges
2022-03-17 13:02:02.543+0000: Domain id=6 is tainted: custom-argv
2022-03-17 13:02:02.543+0000: Domain id=6 is tainted: host-cpu
char device redirected to /dev/pts/1 (label charserial0)
2022-03-17T13:02:02.619044Z qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.01H:ECX.pcid [bit 17]
2022-03-17T13:02:02.619114Z qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.80000001H:ECX.fma4 [bit 16]
2022-03-17T13:02:02.621214Z qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.01H:ECX.pcid [bit 17]
2022-03-17T13:02:02.621229Z qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.80000001H:ECX.fma4 [bit 16]
UNRAID running on AMD Ryzen 7 2700X
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.