Compare commits
117 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
68c9fb7f76 | ||
|
|
52608614e8 | ||
|
|
1293dd6d4b | ||
|
|
895ba2f435 | ||
|
|
d218b3e674 | ||
|
|
1c9fee0b15 | ||
|
|
6960e553d9 | ||
|
|
f684e82240 | ||
|
|
0f0615250d | ||
|
|
5e46bf03d5 | ||
|
|
9268d9c70b | ||
|
|
f81696c54e | ||
|
|
68834516d3 | ||
|
|
67a66cca81 | ||
|
|
a3c3dfc453 | ||
|
|
c2891c0d16 | ||
|
|
8b00a66a02 | ||
|
|
cae330379e | ||
|
|
f409317444 | ||
|
|
a557415499 | ||
|
|
9f33000fb8 | ||
|
|
a7bdbf320a | ||
|
|
26ef1c5da4 | ||
|
|
9b00b0240e | ||
|
|
bf6bf77ad1 | ||
|
|
97a848a8fd | ||
|
|
824e9bbbb9 | ||
|
|
89884c6264 | ||
|
|
96292ae174 | ||
|
|
dbd4fd880f | ||
|
|
c878f05790 | ||
|
|
0642d90ac7 | ||
|
|
3e2cc4c75e | ||
|
|
7bde335163 | ||
|
|
e3e9593202 | ||
|
|
961b4e9ad5 | ||
|
|
0031242cf9 | ||
|
|
3ac0ef190a | ||
|
|
5827dc76a8 | ||
|
|
34e49a0171 | ||
|
|
d2dc2403f0 | ||
|
|
2d05d7b7be | ||
|
|
78fc7f6a47 | ||
|
|
bd79b0b6b3 | ||
|
|
c1bb67d104 | ||
|
|
57a0e64df2 | ||
|
|
b8c6d01d5d | ||
|
|
ab6d514d47 | ||
|
|
6ad3b5f991 | ||
|
|
c001660730 | ||
|
|
39e121268e | ||
|
|
55d7ae4e7d | ||
|
|
c5ac9e86cc | ||
|
|
5852996670 | ||
|
|
27378e1e54 | ||
|
|
af7fedb5d9 | ||
|
|
009688dc0e | ||
|
|
b4f1e8eef9 | ||
|
|
ced167a082 | ||
|
|
ff0644d775 | ||
|
|
2e0ed4f92f | ||
|
|
b9b9543609 | ||
|
|
d881bed4a2 | ||
|
|
9a6faff3de | ||
|
|
9b87484fd2 | ||
|
|
9c66e3d789 | ||
|
|
79f877dcb9 | ||
|
|
7de4173f34 | ||
|
|
a921600e1d | ||
|
|
0b192ef515 | ||
|
|
41b15fc8f0 | ||
|
|
471034417a | ||
|
|
2740b9f845 | ||
|
|
8b99bc92ea | ||
|
|
129bf61030 | ||
|
|
aac4cd94a8 | ||
|
|
956a9752fb | ||
|
|
f5deba6b4f | ||
|
|
eae0d0c4c8 | ||
|
|
928887d1ed | ||
|
|
8d6b4ee08f | ||
|
|
4165d58ec9 | ||
|
|
0dcd9d9eab | ||
|
|
ee7ae218f8 | ||
|
|
3ea3204bb7 | ||
|
|
638da20802 | ||
|
|
797dc1c3be | ||
|
|
af124a4d90 | ||
|
|
c878916e22 | ||
|
|
d6c5ebb542 | ||
|
|
6507df1983 | ||
|
|
7078bf5c0c | ||
|
|
ceb79b68b9 | ||
|
|
66bcfeb2b8 | ||
|
|
d5706eacf1 | ||
|
|
5b5228445a | ||
|
|
b694ff4cde | ||
|
|
0c4951d2b7 | ||
|
|
aba24bb85c | ||
|
|
e8a319b80b | ||
|
|
fba5b36a68 | ||
|
|
d8fbd564cf | ||
|
|
9918fb116e | ||
|
|
aa7270cbf2 | ||
|
|
638f547767 | ||
|
|
b73bc3d6a2 | ||
|
|
60d6c78f65 | ||
|
|
be6513b247 | ||
|
|
55a17c8eb7 | ||
|
|
f77071e014 | ||
|
|
61f1866a91 | ||
|
|
dfc0fd22ce | ||
|
|
e1041fd6b0 | ||
|
|
7ab3fc0f46 | ||
|
|
17ce2f51a1 | ||
|
|
09eb02cd55 | ||
|
|
6342cec292 |
@@ -1,26 +1,34 @@
|
||||
## One-key semi-automatic installer of macOS Mojave 10.14 on VirtualBox
|
||||
## Semi-automatic installer of macOS on VirtualBox
|
||||
|
||||
The "one key" is enter, which has to be pressed whenever the virtual machine is ready for the next command. (Contrary to the script's name, the user has to use more than one key! There is one instance when the right control key or "host key" is used to release the mouse from the virtual machine, and a couple of instances where the user has to choose [y]es or [n]o!)
|
||||
### Supports macOS Mojave (10.14) and High Sierra (10.13)
|
||||
### macOS Catalina 10.15.2 fails to boot on VirtualBox as of the date of its release. Earlier versions of Catalina work, but they are not currently being distributed by Apple's software update servers, from which the script fetches the installer.
|
||||
|
||||
The script is semi-automatic and requires a little user interaction. Most of the time the user simply has to press enter. There is one step where the user has to choose between [C]atalina, [M]ojave, or [H]igh Sierra, and a couple of instances where the user has to choose whether to delete or keep temporary files and previous installations.
|
||||
|
||||
The goal of the script is to allow for a very easy installation without any closed-source additions or extra bootloaders.
|
||||
|
||||
Tested on Cygwin and WSL, should work on most Linux distros.
|
||||
Tested on Cygwin. Works on macOS and WSL, should work on most Linux distros.
|
||||
|
||||
## iCloud and iMessage connectivity
|
||||
### Due to VirtualBox 6.1 NVRAM issues, iCloud and iMessage connectivity is not available on VirtualBox 6.1 as of the date of its release. Please use VirtualBox 6.0 instead.
|
||||
|
||||
iCloud and iMessage and other connected Apple services require a valid device serial number. Set it before the installation by replacing `NOTAVALIDSN0` with a valid serial number, or after the installation with `VBoxManage setextradata "${vmname}" "VBoxInternal/Devices/efi/0/Config/DmiSystemSerial" "${serialnumber}"`. An invalid serial number that matches the correct structure for the device name and board ID might work, too.
|
||||
iCloud, iMessage, and other connected Apple services require a valid device name and serial number, board ID and serial number, and other genuine (or genuine-like) Apple parameters. These parameters may be set in the script before installation, or set after installation and applied with `./macos-guest-virtualbox.sh configure_vm`
|
||||
|
||||
## Storage size
|
||||
|
||||
The script assigns the minimum required storage size for the installation. After the installation is complete, the virtual disk image may be increased through VirtualBox, and then the macOS system APFS container size may be increased. Inside the virtual machine run `sudo diskutil repairDisk disk0` and then from Disk Utility delete the "Free space" partition, allowing the system APFS container to take up the available space.
|
||||
The script by default assigns a target virtual disk storage size of 80GB, which is populated to about 15GB on the host on initial installation. After the installation is complete, the storage size may be increased. First increase the virtual disk image size through VirtualBox Manager or `VBoxManage`, then in Terminal in the virtual machine run `sudo diskutil repairDisk disk0`, and then `sudo diskutil apfs resizeContainer disk1 0` or from Disk Utility, after repairing the disk from Terminal, delete the "Free space" partition so it allows the system APFS container to take up the available space.
|
||||
|
||||
## Unsupported features
|
||||
## Performance and unsupported features
|
||||
|
||||
Developing and maintaining VirtualBox or macOS features is beyond the scope of this script. Some features may behave unexpectedly, such as USB device support, [audio support](https://github.com/chris1111/VoodooHDA-2.9.2-Clover-V13/releases), and other features.
|
||||
Developing and maintaining VirtualBox or macOS features is beyond the scope of this script. Some features may behave unexpectedly, such as USB device support, audio support, and other features.
|
||||
|
||||
After successfully creating a working macOS virtual machine, consider importing it into QEMU/KVM so it can run with hardware passthrough at near-native performance. QEMU/KVM requires additional configuration that is beyond the scope of the script.
|
||||
|
||||
## Dependencies
|
||||
|
||||
* [VirtualBox](https://www.virtualbox.org/wiki/Downloads)≥5.2 with Extension Pack
|
||||
* `Bash`≥4 (run on Windows through [Cygwin](https://cygwin.com/install.html) or WSL)
|
||||
* `coreutils`, `unzip`, `wget` (install through package manager)
|
||||
* `dmg2img` (install through package manager on Linux or WSL; let the script download it automatically on Cygwin)
|
||||
* [VirtualBox](https://www.virtualbox.org/wiki/Downloads)≥6.0 with Extension Pack
|
||||
* `Bash`≥4.3 (GNU variant; run on Windows through [Cygwin](https://cygwin.com/install.html) or WSL)
|
||||
* `coreutils` (GNU variant; install through package manager)
|
||||
* `unzip` (install through package manager)
|
||||
* `wget` (install through package manager)
|
||||
* `dmg2img` (install through package manager on Linux, macOS, or WSL; let the script download it automatically on Cygwin)
|
||||
|
||||
Regular → Executable
+611
-337
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user