OSX-PROXMOX/README.md

110 lines
4.2 KiB
Markdown
Raw Normal View History

2021-11-03 03:43:26 +01:00
# OSX-PROXMOX - Run macOS on ANY Computer - AMD & Intel
Install `** FRESH/CLEAN **` Proxmox VE v7.0.XX ~ 8.2.XX - Next, Next & Finish (NNF).
2021-11-03 03:43:26 +01:00
Open Proxmox Web Console -> Datacenter > NAME OF YOUR HOST > Shell.
Copy, paste and execute (code below).
2021-11-03 03:43:26 +01:00
Voilà, install macOS! This is really and magic **easiest way**!
2024-10-24 21:57:55 +02:00
![overview](./Artefacts/proxmox-screen.png)
## COPY & PASTE - in shell of Proxmox (for Install or Update this solution)
2021-11-03 03:43:26 +01:00
```
2021-11-08 23:27:45 +01:00
/bin/bash -c "$(curl -fsSL https://install.osx-proxmox.com)"
2021-11-03 03:43:26 +01:00
```
2022-05-31 21:21:19 +02:00
## For install EFI Package in macOS, first disable Gatekeeper
```
sudo spctl --master-disable
```
2021-11-04 02:37:14 +01:00
## Versions of macOS Supported
2021-11-03 03:43:26 +01:00
* macOS High Sierra - 10.13
* macOS Mojave - 10.14
* macOS Catalina - 10.15
* macOS Big Sur - 11
* macOS Monterey - 12
* macOS Ventura - 13
2023-09-27 22:46:35 +02:00
* macOS Sonoma - 14
2024-10-24 21:56:13 +02:00
* macOS Sequoia - 15
2021-11-03 03:43:26 +01:00
## Versions of Proxmox VE Supported
* v7.0.XX ~ 8.2.XX
2021-11-03 03:43:26 +01:00
## Opencore version
2024-10-24 21:56:13 +02:00
* Oct/2024 - 1.0.2 Added support to macOS Sequoia
2021-11-03 03:43:26 +01:00
## Cloud Support (Yes, install your Hackintosh in Cloud Environment)
- [VultR](https://www.vultr.com/?ref=9035565-8H)
- [Vídeo/Tutorial](https://youtu.be/8QsMyL-PNrM), please activate captions!
2021-11-03 03:43:26 +01:00
## Disclaimer
- FOR DEV/STUDENT/TEST ONLY PURPOSES.
- I'm not responsible for any problem and/or equipment damage or loss of files.
- Always back up everything before any changes to your computer.
2021-11-03 03:43:26 +01:00
2024-11-01 22:50:33 +01:00
## Requirements
Since Monterey, your host must have a working TSC (timestamp counter), because otherwise if you give the VM more than one core, macOS will observe the skew between cores and **kernel/memory panic** when it sees time ticking backwards. To check this, on Proxmox run:
```
dmesg | grep -i -e tsc -e clocksource
...
# for working host must be:
...
clocksource: Switched to clocksource tsc
...
# for broken host could be:
tsc: Marking TSC unstable due to check_tsc_sync_source failed
clocksource: Switched to clocksource hpet
```
Below is a possible workaround from here: https://www.nicksherlock.com/2022/10/installing-macos-13-ventura-on-proxmox/comment-page-1/#comment-55532
1. Try to turn off “ErP mode” or any C state power saving modes your BIOS supports and poweroff/poweron device (including physical cable). It could help host OS to init TSC correctly, but no guarantee.
2. Or try to activate TSC force in GRUB by adding boot flags `clocksource=tsc tsc=reliable` in the `GRUB_CMDLINE_LINUX_DEFAULT` and call `update-grub`. In this case host OS probably could work unstable in some cases.
3. Check the current TSC by call `cat /sys/devices/system/clocksource/clocksource0/current_clocksource` must be `tsc`.
2024-11-06 07:34:35 +01:00
## Troubleshooting
### High Siearra and below installation issues
To solve error *The Recovery Server Could Not Be Contacted* you need to change the protocol from `https://` to `http://`. To do this, follow:
- start installation and get error *The Recovery Server Could Not Be Contacted*, hold the window with error opened
- open Window -> Installer Log
- search for the line "Failed to load catalog" -> select line in log windows -> Edit -Copy
- close the error message and return to `macOS Utilities` window
- open Utilities -> Terminal, right click -> paste
- edit the pasted data, remove everything except URL, like `https://blablabla.sucatalog`
- change https -> http
- adjust the command to be like: nvram IASUCatalogURL="<your HTTP URL here>"
- press enter, quit Terminal and try to start installation again
After this, no additional ISO needed, HighSierra must be installed well from recovey.
Here a sample how need to change the error message to the final URL:
`nIUvram IASUCatalogURL="http://swscan.apple.com/content/catalogs/others/index-10.13-10.12-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog"`
The solution took from here: https://mrmacintosh.com/how-to-fix-the-recovery-server-could-not-be-contacted-error-high-sierra-recovery-is-still-online-but-broken/
## Demonstration (in Portuguese/Brazil)
https://youtu.be/dil6iRWiun0
\* Please use CC with Auto Translate to English for your convenience.
2021-11-03 03:43:26 +01:00
## Credits
- Opencore/Acidanthera Team
- Corpnewt for Applications (ProperTree, genSMBIOS, etc)
- Apple for macOS
- Proxmox - Excelent and better documentation for Virtualization
2022-01-13 19:11:39 +01:00
## Discord - Universo Hackintosh
- [Discord](https://discord.universohackintosh.com.br)