462 Commits

Author SHA1 Message Date
Jack Smith
02dfe34e00 fixed OCR loop 2021-10-30 20:41:00 +03:00
Jack Smith
d7ae27ce68 escaped quote marks in documentation 2021-10-29 15:29:34 +03:00
Jack Smith
b82cd52a2b forgot to a word 2021-10-21 10:10:25 +03:00
Jack Smith
11e9278355 clarified final exit message 2021-10-21 10:06:32 +03:00
Jack
7d6a8b03d1 Merge pull request #540 from slowpeek/master
Tidy the script startup code
2021-10-14 19:08:42 +03:00
Jack
2d8c227a50 arrays instead of strings
int comparisons with `-eq` or `-ne` and without quotes
`do ${var}` without quotes
2021-10-14 00:30:09 +03:00
slowpeek
0ded89a78a Tidy the script startup code 2021-10-13 17:03:56 +03:00
Jack
d8fe2f6ed2 WSL2/WSLg 2021-10-07 16:43:15 +03:00
Jack Smith
81eb59053c check that dmg2img.exe is executable 2021-10-06 13:34:10 +03:00
Jack
a789a78410 clarifying VBox doesn't work without kernel module 2021-09-29 12:35:27 +03:00
Jack
9099277a2d better WSLg detection, still extremely slow
If you're using WSLg, consider using KVM instead of VirtualBox
2021-09-27 11:41:05 +03:00
Jack
8968e1028d Update README.md
changed link to WSLg issue
2021-08-27 15:55:31 +03:00
My Spaghetti
45bf3a436a WSL2/WSLg error messages 2021-08-23 20:07:02 +03:00
Jack
62e5f47ba9 WSL2/WSLg 2021-08-23 19:28:56 +03:00
My Spaghetti
269bf572a4 initial WSLg support 2021-08-23 18:23:30 +03:00
azdralovic
3b4c81ad2a Update README.md 2021-07-29 16:20:38 +03:00
My Spaghetti
9b360e729b MSYS2 unofficial support
MSYS does not recognize cmd.exe options with spaces between them
2021-07-14 12:17:36 +03:00
Jack
ecedb55013 Update README.md
link to Microsoft documentation
2021-07-11 10:46:24 +03:00
My Spaghetti
ab2f94ba48 minor output message fixes 2021-06-25 14:14:20 +03:00
Jack
cb806b70f2 Merge pull request #478 from dvershinin/master
Fix dmg2img check using exit code instead of output
2021-06-11 07:00:50 +03:00
Danila Vershinin
81554d0524 Fix up dmg2img for some versions (Linux)
Check exit code instead of output.
2021-06-11 01:11:50 +03:00
Jack
7ebe80626c updated OpenCore config.plist for FileVault 2 2021-06-04 22:31:54 +03:00
Jack
c679e65d34 Merge pull request #473 from KhushrajRathod/patch-1
Fix typo in docs
2021-06-03 13:39:08 +03:00
Khushraj Rathod
1c28c6c987 Fix typo in docs 2021-06-03 11:47:09 +05:30
My Spaghetti
08e99e81f1 incremented version number 2021-05-30 06:11:56 +03:00
My Spaghetti
011c2236ad workaround for bash 5.1 (issue #472) 2021-05-30 06:10:41 +03:00
My Spaghetti
e330d03816 added "-i" for suggested zsh invocation 2021-05-27 16:46:37 +03:00
My Spaghetti
17aa03f4f4 corrected indentation for output 2021-05-27 16:42:44 +03:00
My Spaghetti
41d91402b7 indented a line in documentation 2021-05-27 16:38:30 +03:00
My Spaghetti
ec58e4e0e9 changed interactivity test. more correct but less leeway for how people actually run scripts. reordered set_parameters for readability. 2021-05-27 16:37:18 +03:00
My Spaghetti
40519182cc check that xxd sees /dev/urandom 2021-05-17 04:27:05 +03:00
My Spaghetti
0030b4afab lowered startosinstall rebootdelay to 90 seconds 2021-05-07 13:30:42 +03:00
My Spaghetti
07b379fa58 newline in documentation for 80col wrap 2021-05-03 14:04:49 +03:00
My Spaghetti
7c97b324bb more better get_parameters implementation 2021-04-27 15:39:12 +03:00
My Spaghetti
93108f410b get_parameters_from_macOS_host documentation 2021-04-27 15:18:09 +03:00
My Spaghetti
c472a08622 automatically get genuine Mac NVRAM and EFI iMessage params 2021-04-27 15:00:12 +03:00
My Spaghetti
1e21924404 increment version number 2021-04-24 09:37:36 +03:00
My Spaghetti
97418578fd audio crashes VBox 6.1.20, disabling audio 2021-04-24 09:33:19 +03:00
My Spaghetti
473a72b76c typo 2021-04-18 19:22:46 +03:00
Jack
c8bba73989 Merge pull request #445 from thispsj/patch-1
Fix Typo: partitining -> partitioning
2021-04-18 17:47:44 +03:00
PSJ
b225de4cd1 Fix typo in comment 2021-04-18 18:27:19 +05:30
My Spaghetti
0855b1ea50 and_all_subsequent_stages function and documentation 2021-04-17 05:26:59 +03:00
My Spaghetti
28e75d5431 added failure error message to configure_vm 2021-04-11 14:25:56 +03:00
My Spaghetti
ff848c7301 typo in comment 2021-04-06 10:06:58 +03:00
Jack
49e0a09f05 Update README.md 2021-03-24 18:25:43 +02:00
Jack
c504fb04d5 Update README.md 2021-03-24 18:23:12 +02:00
My Spaghetti
b47fbd977e exit if tesseract is not installed and shell is not interactive 2021-02-15 07:06:10 +02:00
My Spaghetti
af1c8d71c9 clarified documentation: VISO mountpoint 2021-01-29 10:27:21 +02:00
Jack
3e8dae1919 Update README.md 2021-01-26 14:15:42 +02:00
Jack
d405dbe937 Big Sur 11.1 2021-01-12 13:43:44 +02:00
Jack
7b03389f78 Update README.md 2021-01-08 15:58:24 +02:00
Jack
f3e1346d6a Update README.md 2021-01-08 15:42:20 +02:00
Jack
d9a7d03734 CPUs 2021-01-08 15:41:30 +02:00
My Spaghetti
45709367fe prepending "function" to function declaration 2020-12-16 02:06:24 +02:00
Jack
88e625d952 Merge pull request #354 from steeleduncan/master
Fix for typo in documentation iCould -> iCloud
2020-12-09 21:52:45 +02:00
Duncan Steele
033e3670cf Fix for typo in documentation iCould -> iCloud 2020-12-09 09:46:19 +00:00
Jack
240ba08c0d Merge pull request #348 from rafork/fixdoctypo
Fixed doc typo: additonal
2020-12-04 19:07:36 +02:00
raf
ffa4f9006d Fixed doc typo: additonal
macos-guest-virtualbox.sh / documentation() - Fixed typo: "additonal" -> "additional".
2020-12-04 21:10:35 +11:00
Jack
65cca7fb3d Merge pull request #346 from padresmurfa/padresmurfa
Add '"${macOS_release_name}_"*".viso"' to list of temporary files that are safe to delete
2020-11-26 11:46:02 +02:00
David Brandt
80908ff743 Add '"${macOS_release_name}_"*".viso"' to list of temporary files that are safe to delete 2020-11-26 09:21:48 +00:00
My Spaghetti
cb902fcf82 removed extraneous parenthesis 2020-11-25 16:47:43 +02:00
My Spaghetti
9fdbe665e7 +modern 2020-11-24 18:44:17 +02:00
My Spaghetti
3ee28be973 changed xxd dependency error message 2020-11-24 18:40:49 +02:00
My Spaghetti
b6ba0fd2ae version number 2020-11-15 16:00:46 +02:00
My Spaghetti
366c93a7c4 typo 2020-11-15 14:57:15 +02:00
My Spaghetti
a942be2ab0 possible issue with bad pipes 2020-11-15 14:31:27 +02:00
My Spaghetti
cce2480d8d minor error/info message changes 2020-11-15 05:01:57 +02:00
My Spaghetti
bcd07f5ab8 sed regexp pattern error 2020-11-05 15:03:31 +02:00
My Spaghetti
51c272deb5 terrabyte and petabyte workaround 2020-11-05 14:37:27 +02:00
Jack
5f13e2a80e thank you jmesmon 2020-11-05 12:24:43 +02:00
Jack
e8d60db435 Merge pull request #331 from jmesmon/remove-stray-then
fix syntax error due to stray `then`
2020-11-05 12:24:03 +02:00
Cody P Schafer
69c6bb56c7 fix syntax error due to stray then 2020-11-05 02:38:47 -05:00
My Spaghetti
f5399bc461 infinite loop! 2020-11-04 18:29:35 +02:00
My Spaghetti
f7f3a60cbe infinite loop! 2020-11-04 18:23:54 +02:00
My Spaghetti
004199ef8f fix ocr for High Sierra 2020-10-28 14:37:28 +02:00
My Spaghetti
eb4f3baadf documentation: adding (unsupported) tag 2020-10-15 19:50:14 +03:00
My Spaghetti
a07cf3b1b9 documentation, minor storage estimate update 2020-10-15 12:04:50 +03:00
Jack
b177b0e760 Big Sur 2020-10-14 20:23:31 +03:00
My Spaghetti
2823307867 minor output message formatting 2020-10-14 07:25:11 +03:00
My Spaghetti
a2e19dc6c8 minor error message and comment changes 2020-10-07 14:07:29 +03:00
Jack
aa8764db18 Merge pull request #301 from MechantRouquin/master
remove '.exe' from tesseract-ocr
2020-09-02 20:16:16 +03:00
Mechant Rouquin
e1fd1988fc remove '.exe' from tesseract-ocr 2020-09-02 17:11:20 +02:00
My Spaghetti
1c2c66532c better ocr performance 2020-08-23 22:55:03 +03:00
My Spaghetti
7e0ccd863c comments and ocr regex 2020-08-23 22:40:28 +03:00
My Spaghetti
d0f1dd7a9f minor text prompt changes 2020-08-20 21:22:54 +03:00
My Spaghetti
e44e8a32ce test "[[" doesn't require .* before regex, unlike "match" 2020-08-14 11:16:55 +03:00
My Spaghetti
da2c6f8512 documentation 2020-08-14 04:20:44 +03:00
My Spaghetti
5c181695aa delete the screenshot 2020-08-13 19:25:34 +03:00
My Spaghetti
d6ff74e574 tesseract ocr 2020-08-13 19:16:02 +03:00
Jack
75ed8071f0 Update README.md 2020-08-13 18:03:48 +03:00
My Spaghetti
1e4bf5d150 slight indentation cleanup 2020-08-06 11:23:37 +03:00
My Spaghetti
a83e5de9c1 fixed incorrect usage of SHELL (issue #288 ) 2020-08-05 13:08:51 +03:00
My Spaghetti
261b2bb61e fixed cygwin dmg2img condition 2020-08-03 05:03:09 +03:00
Jack
7e67c3b653 Update README.md 2020-07-30 14:58:43 +03:00
Jack
3b252ba272 Update README.md 2020-07-28 22:06:03 +03:00
My Spaghetti
94e8f98c59 fixed zsh \c bug (issue #281) 2020-07-28 21:36:44 +03:00
My Spaghetti
443a781dba delete_temporary_files changed to prompt_delete_temporary_files 2020-07-28 12:59:41 +03:00
My Spaghetti
0b5119ebda documentation 2020-07-28 12:21:00 +03:00
My Spaghetti
d3b39d03e6 reordered functions, made the "populate" functions atomic.
This looks like a big diff but it isn't
2020-07-27 17:55:56 +03:00
My Spaghetti
4654b7b7e7 simplified dmg2img conditionals 2020-07-26 22:47:31 +03:00
My Spaghetti
af8c16b8ee simplified dmg2img conditionals 2020-07-26 22:45:33 +03:00
My Spaghetti
238af06c80 documentation 2020-07-26 17:15:34 +03:00
My Spaghetti
1b8af3de11 sleep already built into function 2020-07-24 11:33:59 +03:00
My Spaghetti
e277c02361 corrected 1-second sleep position 2020-07-22 13:07:30 +03:00
My Spaghetti
825a581033 fixed sh pid bug 2020-07-22 13:03:41 +03:00
My Spaghetti
086e498fc8 improved readability 2020-07-20 11:25:32 +03:00
My Spaghetti
88d761ba66 shoved most of the Terminal commands into viso sh files 2020-07-19 18:35:11 +03:00
My Spaghetti
c7ffb48e8e xhci check no longer used 2020-07-19 16:38:22 +03:00
My Spaghetti
e9673b679b documentation 2020-07-19 16:30:14 +03:00
My Spaghetti
9fa7e4ad03 performance regression due to scancode behavior 2020-07-19 16:27:58 +03:00
My Spaghetti
df393ec711 now I remember why I did that workaround 2020-07-19 13:21:50 +03:00
My Spaghetti
6cad9b4bdb moved xhci check earlier 2020-07-19 13:01:56 +03:00
My Spaghetti
81feeb484e enterprise users rejoice, removed extpack dependency 2020-07-19 12:51:26 +03:00
My Spaghetti
083bde45c4 forgot to close double-quotes 2020-07-17 16:08:52 +03:00
My Spaghetti
e7459198f1 documentation 2020-07-17 16:07:46 +03:00
My Spaghetti
c832e0fd50 documentation 2020-07-16 14:34:56 +03:00
My Spaghetti
a35fd0d398 documentation 2020-07-15 19:50:36 +03:00
My Spaghetti
38a2750e91 qualifying the word "required" 2020-07-12 12:51:51 +03:00
My Spaghetti
e6e9786c6a added minor sanity check 2020-07-10 10:17:34 +03:00
My Spaghetti
a50857fa04 xxd V1.11 2020-07-08 16:24:37 +03:00
My Spaghetti
89b15410f7 fixed xxd ver requirement, applies to script versions 0.81.0 and later 2020-07-08 15:38:40 +03:00
Jack
e6d8d1f9d3 Update README.md 2020-07-08 03:37:45 +03:00
My Spaghetti
6a9d1a22bd decreasing required coreutils version back to 8.22, removed od 2020-07-08 03:34:57 +03:00
My Spaghetti
26961f842e typo 2020-07-08 02:52:09 +03:00
My Spaghetti
9ae37b9c58 Update README.md 2020-07-08 02:46:54 +03:00
My Spaghetti
495dd56014 incrementing required coreutils version until od is replaced 2020-07-08 02:45:31 +03:00
Jack
4eb25f3bf1 Merge branch 'master' of https://github.com/myspaghetti/macos-virtualbox 2020-07-04 10:39:47 +03:00
Jack
02aa945f77 documentation 2020-07-04 10:39:14 +03:00
Jack
4146e863bf Update README.md 2020-07-04 10:38:16 +03:00
Jack
97fb738d56 Update README.md 2020-07-04 10:37:09 +03:00
Jack
4b02d4e907 Update README.md 2020-07-04 10:36:25 +03:00
Jack
5b54cdc38b Update README.md 2020-07-04 10:35:07 +03:00
Jack
c4f5b05422 Update README.md 2020-07-04 10:34:11 +03:00
Jack
a089359d14 documentation: NEM 2020-07-04 10:23:59 +03:00
Jack
899c27905f added timeout to wget 2020-07-01 20:35:53 +03:00
Jack
701c44854d clarifying that MLB and DmiBoardSerial are separately stored 2020-06-30 12:09:56 +03:00
Jack
ee39fc7bc3 config prompt more readable; preparing macOS version selection for upcoming version 2020-06-29 15:29:44 +03:00
Jack
9a207f2619 Update README.md 2020-06-25 07:20:42 +03:00
Jack
636bae86c8 Big Sur image 2020-06-25 07:17:29 +03:00
Jack
7bae5bf1a4 Merge pull request #250 from tiagofilipesilva/master
Update README.md
2020-06-12 19:43:02 +03:00
Jack
11af9b2e9a h1 considered harmful
"Push-button installer of macOS on VirtualBox" is not the header of the entire readme but of the first section. Similarly, all of the other headers except the ones under "Unsupported features" do not belong to any other section, they headline their own sections.
2020-06-12 19:40:15 +03:00
Tiago Filipe Silva
614d1b490e Update README.md
This commit updates README.md with Markdown's best practices and accessibility tweaks.
2020-06-12 16:52:44 +01:00
Jack
00d788cd14 Catalina now takes up 25GB of storage on initial installation 2020-06-03 13:35:22 +03:00
Jack
b000b49946 Catalina keeps getting bigger 2020-06-03 13:31:27 +03:00
Jack
5fa840343b documentation 2020-05-31 05:21:17 +03:00
Jack
61f8fccd49 do not download beta version 2020-05-28 09:48:26 +03:00
Jack
5883b7da96 cleanup for a bit of terminal output 2020-05-28 02:46:27 +03:00
Jack
dc2477337c newlines 2020-05-28 02:38:03 +03:00
Jack
71696b2489 even more verbose CPUID documentation 2020-05-28 02:35:37 +03:00
Jack
ec273047a7 more verbose CPUID documentation 2020-05-28 02:11:16 +03:00
Jack
1eed1f1b1e removed redundant wait after running VBoxManage 2020-05-27 18:56:12 +03:00
Jack
78d7353d42 increased wait for VirtualBox GUI to shut off from 3 seconds to 5 2020-05-27 18:53:34 +03:00
Jack
89b20ce67f wrong md5 executable name 2020-05-27 11:58:58 +03:00
Jack
39856fa0c4 typo 2020-05-26 08:04:30 +03:00
Jack
f02283efa7 zsh comments 2020-05-26 07:51:21 +03:00
Jack
a453685a7f documentation 2020-05-26 07:31:47 +03:00
Jack
df1a53e8de documentation 2020-05-25 22:21:12 +03:00
Jack
0661ce2252 Merge pull request #219 from bittner/patch-1
added information about deployment
2020-05-25 22:00:44 +03:00
Jack
e40fbffcb4 incorporated "how" section into "documentation", added "deployment" to "performance" section 2020-05-25 21:58:01 +03:00
Peter Bittner
582e19d08a Add "How does it work?" section
Fixes #217
2020-05-25 19:57:48 +02:00
Jack
56cce9074a restored 2560x1600 2020-05-25 05:43:29 +03:00
Jack
9143ff173a Merge branch 'master' of https://github.com/myspaghetti/macos-virtualbox 2020-05-25 05:41:46 +03:00
Jack
bdbfbacf25 restored 2560x1600 2020-05-25 05:41:16 +03:00
Jack
81919b7a31 removed 2560x1600 from suppored display resolutions 2020-05-25 05:20:20 +03:00
Jack
f93ed7f11c Update README.md 2020-05-25 05:17:36 +03:00
Jack
39ab5efa1b Update README.md 2020-05-25 02:43:26 +03:00
Jack
2f478258ac documentation regarding EDID 2020-05-24 21:16:14 +03:00
Jack
9053ac4b59 Update README.md 2020-05-24 18:36:35 +03:00
Jack
887b495451 Update README.md 2020-05-24 18:36:14 +03:00
Jack
44a21f7aa5 documentation 2020-05-18 11:25:57 +03:00
Jack
9ebde4207a Update README.md 2020-05-17 20:25:48 +03:00
Jack
1dd79acd7c comment 2020-05-17 17:40:39 +03:00
Jack
5f715121c3 comment 2020-05-17 17:35:10 +03:00
Jack
40f63146ea missing slash before newline 2020-05-17 16:41:34 +03:00
Jack
3a9edfa2b6 "--format=${storage_format}" flag, otherwise defaults to vdi 2020-05-17 16:20:28 +03:00
Jack
73e7af7841 documentation 2020-05-17 15:05:49 +03:00
Jack
896cfba50f Update README.md 2020-05-17 14:55:37 +03:00
Jack
1840a08498 documentation 2020-05-17 14:45:22 +03:00
Jack
bf26386b9c clean old storage registration before creating new storage 2020-05-17 14:43:11 +03:00
Jack
c2a8a359a7 documentation and stage names 2020-05-17 14:32:59 +03:00
Jack
b9c351ef3f added VMDK compatibility 2020-05-17 14:03:56 +03:00
Jack
072c5b1408 Update README.md 2020-05-13 11:47:47 +03:00
Jack
159f2362e9 echo cleanup and version bump 2020-05-13 11:01:37 +03:00
Jack
371b8765f1 even further echo cleanup 2020-05-13 06:44:19 +03:00
Jack
a0355f6d29 further echo cleanup 2020-05-13 06:40:47 +03:00
Jack
c1a11d409a more echo cleanup 2020-05-13 06:34:04 +03:00
Jack
df20843337 standardizing on 'echo' and double-quotes 2020-05-13 06:23:11 +03:00
Jack
1891334f3b documentation 2020-05-12 18:05:09 +03:00
Jack
d3f29d9e33 documentation 2020-05-12 18:03:36 +03:00
Jack
afe2c1e81d added check for hardware supported virtualization, fixed zsh check 2020-05-12 16:50:08 +03:00
Jack
6a78b3fc32 documentation 2020-05-09 02:06:37 +03:00
Jack
f3bdc7bd93 avoid doing md5sums twice 2020-05-09 01:57:20 +03:00
Jack
0f0648301a fix vbox version check on last reboot, fix pid matching 2020-05-07 15:42:52 +03:00
Jack
6fe47defab documentation 2020-05-06 23:11:10 +03:00
Jack
8663ef8a66 documentation 2020-05-06 23:07:37 +03:00
Jack
6d19d11714 moved some error messages around, disabled user input when not in terminal 2020-05-06 22:49:01 +03:00
Jack
9c46566b6c trying to reduce syntactic nose by switching "printf" to "echo -e"
not sure I like it
2020-05-06 13:39:28 +03:00
Jack
ad25c5c155 Update README.md 2020-05-05 09:39:15 +03:00
Jack
dd4676ed31 Update README.md 2020-05-05 09:37:39 +03:00
Jack
e3765cc53a Update README.md 2020-05-05 09:28:12 +03:00
Jack
d731f6fcc9 Update README.md 2020-05-05 09:26:37 +03:00
Jack
6429a0a2aa Update README.md 2020-05-05 09:06:54 +03:00
Jack
99b4c73fd8 simplified command-line argument matching 2020-05-02 12:43:09 +03:00
Jack
9dfc77f2fd unnecessary assignment 2020-05-02 09:51:34 +03:00
Jack
9f286192f6 replaced various newlines with $'\n' 2020-04-27 20:59:53 +03:00
Jack
13cde82df1 alphabetized gnu utils, cleaned up delete_temporary_files() 2020-04-27 19:59:15 +03:00
Jack
bcd9392d60 correct version checking, raised required zsh ver to 5.5, fixed zsh error in nvram generation 2020-04-27 19:04:29 +03:00
Jack
a183b86aa9 mention that gzip needs to be GNU too 2020-04-27 13:38:48 +03:00
Jack
add5dbd945 indentation 2020-04-27 13:12:25 +03:00
Jack
87158a720d better++ error message for bash inside zsh 2020-04-27 13:10:18 +03:00
Jack
cdd1893a31 better zsh error message 2020-04-27 13:02:24 +03:00
Jack
20267826cf Update README.md 2020-04-26 09:50:25 +03:00
Jack
82d53cfb32 primary display resolution documentation 2020-04-26 09:46:43 +03:00
Jack
a97db97dc4 added earlier failure detection for BaseSystem.vdi 2020-04-20 12:01:07 +03:00
Jack
fbb4dbe77d Update README.md 2020-04-17 12:27:16 +03:00
Jack
b5e79504c8 better grammar 2020-04-16 21:49:50 +03:00
Jack
20c39f4ebe slight documentation wording changes 2020-04-16 19:57:28 +03:00
Jack
7a928fa9b9 bump supported VBox version to 6.1.6 2020-04-16 19:50:25 +03:00
Jack
0bb753c392 welcome message formatting 2020-04-16 19:48:10 +03:00
Jack
f31c8f1484 graphics performance improvements with VBox 6.1.6 2020-04-16 15:58:39 +03:00
Jack
86acfc7998 VBox 6.1.6 graphics performance improvements 2020-04-16 05:13:02 +03:00
Jack
b8278f505f updated welcome message with interaction warning 2020-04-14 22:26:49 +03:00
Jack
b28b121fc2 Update README.md 2020-04-14 22:08:52 +03:00
Jack
2e6166edc7 Update README.md 2020-04-09 12:04:58 +03:00
Jack
08af5a567d making script compatible with zsh for absolutely no reason 2020-04-09 01:04:10 +03:00
Jack
c0dda851d1 Update README.md 2020-04-08 08:51:46 +03:00
Jack
13e8a8d2ff Merge branch 'master' of https://github.com/myspaghetti/macos-guest-virtualbox 2020-04-07 14:36:26 +03:00
Jack
04bac058e2 explicit version numbers 2020-04-07 14:35:48 +03:00
Jack
7a30a91947 Update README.md 2020-04-07 14:29:13 +03:00
Jack
447bb851fc explicit package distributions and versions 2020-04-07 13:56:31 +03:00
Jack
f671b350d9 added a pause after detaching the base system 2020-04-07 08:42:25 +03:00
Jack
001ad54e92 newline 2020-04-05 15:00:34 +03:00
Jack
cfa76a8655 more readable command-line argument parsing order 2020-04-05 14:53:13 +03:00
Jack
e0089ea684 replaced / with // to strip all occurrences instead of the first occurrence 2020-04-05 13:14:11 +03:00
Jack
88147ea6af prettier command-line argument handling 2020-04-05 13:07:21 +03:00
Jack
e61156b1c5 fixed argument-less execution 2020-04-05 12:43:05 +03:00
Jack
350838e0b0 interaction warning 2020-04-04 13:21:06 +03:00
Jack
7968d11493 a bit of cleanup on troubleshoot output 2020-04-02 03:09:30 +03:00
Jack
d51e310e7e comment about for-loop in startup.nsh 2020-03-29 05:27:04 +03:00
Jack
98541ebf12 Update README.md 2020-03-24 20:21:44 +02:00
Jack
9fd339fdf6 slight wording change 2020-03-24 20:06:04 +02:00
Jack
f6c6b8d8cc better phrasing? 2020-03-24 20:02:12 +02:00
Jack
86a4c65853 new "troubleshoot" stage for log-dumping 2020-03-24 19:59:09 +02:00
Jack
3810159f05 typo 2020-03-17 09:00:57 +02:00
Jack
bd57143dc7 making error message more verbose 2020-03-17 08:59:35 +02:00
Jack
6743e838a8 typo 2020-03-08 16:03:40 +02:00
Jack
d29a2b0811 FileVault 2020-03-07 23:27:46 +02:00
Jack
bdbba666f5 Update README.md 2020-03-07 23:23:43 +02:00
Jack
0e79e08900 FileVault 2020-03-07 23:22:21 +02:00
Jack
c414f9cb95 fixed variable name 2020-03-06 04:15:06 +02:00
Jack
d027250a35 external configuration file 2020-03-06 00:01:11 +02:00
Jack
7fcf1ec9a5 download and install Catalina by default 2020-03-05 22:50:07 +02:00
Jack
c4208f771e standardize vars_with_underscores and built-in [[ ]] test 2020-02-23 21:07:15 +02:00
Jack
852ef63bf8 Update README.md 2020-02-22 17:29:31 +02:00
Jack
54ed5dc3b7 documentation 2020-02-22 17:24:03 +02:00
Jack
6397460b35 better VirtualBox version checking for Catalina 2020-02-20 22:42:00 +02:00
Jack
dba08098f2 Update README.md 2020-02-20 16:22:03 +02:00
Jack
a8744bc337 typo 2020-02-20 16:21:36 +02:00
Jack
647b0b7931 Update README.md 2020-02-20 16:20:31 +02:00
Jack
c3a3cec6a9 VBox 6.1.4 supports Catalina 2020-02-20 16:11:27 +02:00
Jack
28e20f140b VBox 6.1.4 supports Catalina again 2020-02-20 16:07:46 +02:00
Jack
cd021ca6b9 Update README.md 2020-02-19 14:37:42 +02:00
Jack
3f56594242 god 2020-02-11 17:12:15 +02:00
Jack
0d1dda866a script name 2020-02-09 17:40:37 +02:00
Jack
0525b09e83 Update README.md 2020-02-09 00:56:45 +02:00
Jack
856d0dbedc Update README.md 2020-02-08 11:16:20 +02:00
Jack
36fd9c0ea6 Catalina 10.15.3 workaround URL 2020-02-07 05:35:41 +02:00
Jack
ff5ceaac8d Catalina 10.15.3 workaround 2020-02-07 05:30:51 +02:00
Jack
91a2cf2ef9 OpenCore again 2020-02-06 14:13:38 +02:00
Jack
e4caea9ae9 replaced 'mkdir -p' with 'cp -r' 2020-02-05 20:03:57 +02:00
Jack
0ace086a21 using the EFI system partition directory structure of OpenCore 2020-02-05 19:55:31 +02:00
Jack
c42c2e6e51 OpenCore 2020-02-04 19:22:18 +02:00
Jack
ca347878ba better check that the VM is powered off 2020-02-04 17:57:36 +02:00
Jack
f0edf53fbc discard suspended state before deleting temporary files 2020-02-04 17:47:16 +02:00
Jack
ac3a9fa686 more output message formatting 2020-02-03 19:25:18 +02:00
Jack
d26eea2082 message formatting 2020-02-03 19:22:06 +02:00
Jack
0ac0f4ba47 -ntfs +msdos 2020-02-03 19:19:38 +02:00
Jack
fae435f810 Merge branch 'master' of https://github.com/myspaghetti/macos-guest-virtualbox 2020-02-03 18:08:50 +02:00
Jack
ed7e529e2c fix other occurences of regex 2020-02-03 18:07:45 +02:00
Jack
4459af9ad2 typo 2020-02-03 17:51:14 +02:00
Jack
93e3e19828 switch to less accurate regex due to improper handling of newlines 2020-02-03 17:35:28 +02:00
Jack
832c161a17 made WSL2 message more explicit 2020-02-03 17:23:29 +02:00
Jack
3e76b46481 prompt for deletion of install vdi which if partitioned cannot be unmounted 2020-02-02 10:04:02 +02:00
Jack
188d14fcbd removed checks from prepare_macos_installation_files 2020-02-02 08:04:21 +02:00
Jack
1414395c77 updated a success message and an error message 2020-02-01 10:47:28 +02:00
Jack
dccaf672b0 incremented version number 2020-01-31 14:18:39 +02:00
Jack
d36132b0a3 if less is installed, suggest "script.sh documentation | less -R" 2020-01-31 14:14:46 +02:00
Jack
4c3db4b3f6 slight wording for the final reboot sequence 2020-01-31 10:43:31 +02:00
Jack
e92563bc4d evaluate "stages" value without newlines for bash 5 compatibility 2020-01-31 10:18:39 +02:00
Jack
35a71eda27 WSL warning for all versions 2020-01-30 18:49:56 +02:00
Jack
d891fd5796 Catalina 10.15.3, split --verbose, "verbose" cat 2020-01-30 01:14:04 +02:00
Jack
e17df50b5c tested with 5.2.36 2020-01-29 13:14:49 +02:00
Jack
f53000c868 incremented version number 2020-01-29 02:46:51 +02:00
Jack
9c27d8569c intendation for clearer if-fi pairing 2020-01-29 02:45:56 +02:00
Jack
d56f6926ea ...wrong fi... 2020-01-29 02:43:41 +02:00
Jack
50176ca7de removed leftover fi 2020-01-29 02:39:52 +02:00
Jack
a320651a5f typos 2020-01-28 19:05:10 +02:00
Jack
840978e184 completely inconsequential change to the temporary files cleanup 2020-01-28 19:03:22 +02:00
Jack
1662f3e5bf if anything fails, stop 2020-01-28 18:58:49 +02:00
Jack
d60d79fc0a copying EFI drivers just in case 2020-01-28 18:56:44 +02:00
Jack
0783988901 better explanation for when to press enter 2020-01-28 18:20:47 +02:00
Jack
f9a4785b60 typo, replaced -a with -s, broken EFI copying command 2020-01-28 18:08:46 +02:00
Jack
066825aaf4 Update README.md 2020-01-27 16:15:27 +02:00
Jack
bc4e16d39c incremented version number 2020-01-27 14:35:37 +02:00
Jack
177b3601a8 more strings instead of variables 2020-01-27 14:34:21 +02:00
Jack
e7cd4d8a86 incremented version number 2020-01-27 14:23:43 +02:00
Jack
80683beb31 used string instead of variable... 2020-01-27 14:22:04 +02:00
Jack
0751b50f05 Merge branch 'master' of https://github.com/myspaghetti/macos-guest-virtualbox 2020-01-27 12:11:18 +02:00
Jack
92f3c05e06 typo in Catalina software update catalog URL 2020-01-27 12:11:01 +02:00
Jack
8d9a01722b Merge branch 'master' of https://github.com/myspaghetti/macos-guest-virtualbox 2020-01-27 12:08:44 +02:00
Jack
546d76e0cc typo in Catalina software update catalog URL 2020-01-27 12:07:43 +02:00
Jack
9f90783344 Update README.md 2020-01-27 11:41:05 +02:00
Jack
c96428608a incremented version number 2020-01-27 11:32:17 +02:00
Jack
847823d3c5 changed output messages 2020-01-27 11:30:17 +02:00
Jack
12e856a4ae reverted to working Apple URLs 2020-01-27 11:15:18 +02:00
Jack
016de93402 better error handling; made "declare kscd" global again 2020-01-27 11:05:16 +02:00
Jack
94732237f4 better error handling 2020-01-27 10:52:14 +02:00
Jack
f23037c2e0 moved global variables and functions, reworked cmd-line argument flow 2020-01-27 09:42:52 +02:00
Jack
df210377f8 wording 2020-01-26 12:26:20 +02:00
Jack
308e3aed51 wording 2020-01-26 12:22:46 +02:00
Jack
aaf7ec03c4 VoodooHDA and other minor changes 2020-01-26 11:33:04 +02:00
Jack
0843118996 typo 2020-01-25 22:50:38 +02:00
Jack
7698e582b7 added "graphics controller" section to documentation 2020-01-25 22:02:13 +02:00
Jack
aff95aa72d trimming readme in favor of built-in documentation 2020-01-25 21:59:09 +02:00
Jack
ff5f0620a9 see documentation 2020-01-25 21:54:28 +02:00
Jack
4bc8c21ce0 Update README.md 2020-01-25 21:50:13 +02:00
Jack
d51caa6074 increment version 2020-01-25 21:20:21 +02:00
Jack
4d232e7775 added newline 2020-01-25 21:09:30 +02:00
Jack
13fecd45a7 documentation 2020-01-25 20:45:31 +02:00
Jack
be755222ef don't forget the bin files 2020-01-25 18:59:44 +02:00
Jack
1924198bb1 configure_nvram_parameters doesn't exist any more 2020-01-25 18:30:42 +02:00
Jack
930bb90901 reverted to binary NVRAM file method 2020-01-25 18:17:44 +02:00
Jack
26ba1fb9ac reverted NVRAM from setvar to dmpstore
"there is always a well-known solution to every human problem—neat, plausible, and wrong"
Apparently setvar only works AFTER dmpstore has been used to create the NVRAM entries.
2020-01-25 18:14:05 +02:00
Jack
da5b1a5e20 csr-active-config missing space and wrong guid 2020-01-25 16:32:03 +02:00
Jack
47aae90046 Update README.md 2020-01-25 16:19:42 +02:00
Jack
9837a67b09 version 0.81.0 2020-01-25 16:04:23 +02:00
Jack
c7c70fe9b3 turns out there's a much easier way to set NVRAM vars
Removed NVRAM binary file creation. This simplifies things greatly.
2020-01-25 15:43:58 +02:00
Jack
41c25d758c cleaned up the function generate_nvram_bin_file 2020-01-25 10:56:39 +02:00
Jack
0a055e7791 fun with escaped doube-quote marks for filenames with spaces 2020-01-25 03:40:17 +02:00
Jack
fa7902ae09 if-ed out a fix that's not an issue in VBox 6.1 2020-01-25 02:41:40 +02:00
Jack
569ffa963a fixed cp command that was broken on VBox 5.1 2020-01-25 02:31:47 +02:00
Jack
2a4845b706 fixed broken app_path detection 2020-01-25 02:12:19 +02:00
Jack
08f356f252 clear_input_buffer_then_read
shouldn't be a huge problem now
2020-01-25 02:02:53 +02:00
Jack
ef8d2abdac version 0.80.0, now with full NVRAM support 2020-01-25 00:25:43 +02:00
Jack
245f532572 version 0.80.0 2020-01-25 00:09:12 +02:00
Jack
68c9fb7f76 upped Bash version requirement to 4.3
upped Bash version requirement to 4.3 due to buggy associative array implementation (see [issue 147](https://github.com/myspaghetti/macos-guest-virtualbox/issues/147))
2020-01-13 23:36:14 +02:00
Jack
52608614e8 raising Bash version requirement to 4.3
Bash 4.1 and 4.2 have a buggy implementation of associative array and require escaping where they shouldn't
2020-01-13 23:25:46 +02:00
Jack
1293dd6d4b incrementing version number 2020-01-13 09:49:52 +02:00
Jack
895ba2f435 single-quote breaks printf command 2020-01-13 09:48:33 +02:00
Jack
d218b3e674 Update README.md 2020-01-12 13:20:17 +02:00
Jack
1c9fee0b15 set default target disk image size to 80GB 2020-01-12 13:18:23 +02:00
Jack
6960e553d9 added gexpr to gnu g-prefixed binaries 2020-01-10 05:25:52 +02:00
Jack
f684e82240 missing space after gsplit 2020-01-09 19:31:02 +02:00
Jack
0f0615250d earlier execution of gnu coreutils prefix check 2020-01-09 11:26:06 +02:00
Jack
5e46bf03d5 added g-prefixed to another GNU coreutils binary 2020-01-09 11:11:13 +02:00
Jack
9268d9c70b added g prefix for MacPorts GNU coreutils 2020-01-09 10:31:18 +02:00
Jack
f81696c54e Merge pull request #143 from RICCIARDI-Adrien/master
Made script file executable.
2020-01-09 10:17:35 +02:00
RICCIARDI-Adrien
68834516d3 Made script file executable. 2020-01-09 09:03:00 +01:00
Jack
67a66cca81 line breaks for messages that went over 80 columns
printf doesn't append a newline by default
2019-12-19 19:42:09 +02:00
Jack
a3c3dfc453 clarifying that there is a prompt before deletion 2019-12-19 18:10:46 +02:00
Jack
c2891c0d16 changing the printf formatting for no good reason 2019-12-17 19:49:32 +02:00
Jack
8b00a66a02 typo 2019-12-17 18:47:03 +02:00
Jack
cae330379e VirtualBox 6.1 doesn't need 3rd party APFS drivers 2019-12-17 16:28:16 +02:00
Jack
f409317444 Update README.md 2019-12-13 01:58:46 +02:00
Jack
a557415499 Catalina 10.15.2 and VirtualBox 6.1 2019-12-13 01:56:55 +02:00
Jack
9f33000fb8 warning that VBox 6.1 NVRAM doesn't work 2019-12-13 01:38:33 +02:00
Jack
a7bdbf320a removed Catalina workaround; currently doesn't work 2019-12-12 00:15:01 +02:00
Jack
26ef1c5da4 Catalina temporarily not supported 2019-12-12 00:11:48 +02:00
Jack
9b00b0240e emergency workaround for Catalina 10.15.2
Avoid the latest version of Catalina (10.15.2.0.0.1575534587), use older version instead (10.15.1.0.0.1573248873)
2019-12-11 16:13:05 +02:00
Jack
bf6bf77ad1 WSL2 2019-12-03 08:34:06 +02:00
Jack
97a848a8fd warning about default macOS /bin/bash version 2019-11-26 18:20:34 +02:00
Jack
824e9bbbb9 Update README.md 2019-11-15 02:33:07 +02:00
Jack
89884c6264 clarifying that importing to QEMU is out-of-scope 2019-11-15 02:32:20 +02:00
Jack
96292ae174 slight phrasing change to comment 2019-11-13 01:56:04 +02:00
Jack
dbd4fd880f Update README.md 2019-11-12 11:09:08 +02:00
Jack
c878f05790 minor terminal output message changes 2019-10-22 09:46:24 +03:00
Jack
0642d90ac7 startup.nsh compatible with VirtualBox 6.0.14
VirtualBox version 6.0.14 aborts efi scripts on failure, apparently.
2019-10-19 19:05:49 +03:00
Jack
3e2cc4c75e reverting startup.nsh changes until bug is fixed 2019-10-19 18:29:59 +03:00
Jack
7bde335163 try to boot updates before trying to boot macOS 2019-10-16 14:26:51 +03:00
Jack
e3e9593202 Catalina released 2019-10-08 15:11:59 +03:00
Jack
961b4e9ad5 WSL warning 2019-09-22 21:23:01 +03:00
Jack
0031242cf9 Update README.md 2019-09-20 14:05:16 +03:00
Jack
3ac0ef190a raised default storage size for compatibility with Catalina 2019-09-20 14:01:05 +03:00
Jack
5827dc76a8 delete template 2019-09-18 12:30:47 +03:00
Jack
34e49a0171 Update issue templates - "starttoinstall"
Created "starttoinstall" template
2019-09-17 15:03:38 +03:00
Jack
d2dc2403f0 agree to license with --agreetolicense 2019-09-11 13:57:17 +03:00
Jack
2d05d7b7be Update README.md 2019-09-03 01:02:27 +03:00
Jack
78fc7f6a47 added pkgsrc to list of recommended macOS package managers 2019-08-31 14:02:01 +03:00
Jack
bd79b0b6b3 Merge pull request #94 from bronson/coreutils
add GNU coreutils path if in the default homebrew gnubin path
2019-08-31 13:45:50 +03:00
Jack
c1bb67d104 incremented version number 2019-08-31 13:44:46 +03:00
Jack
57a0e64df2 moved dependency check to the dependency checking section 2019-08-31 13:44:22 +03:00
Scott Bronson
b8c6d01d5d Use GNU coreutils if they're installed 2019-08-29 15:31:49 -07:00
Jack
ab6d514d47 truncated filename and trailing slash from path 2019-08-22 11:09:43 +03:00
Jack
6ad3b5f991 workaround for WSL path issues 2019-08-22 11:03:20 +03:00
Jack
c001660730 typo in log messge 2019-08-18 12:51:37 +03:00
Jack
39e121268e documentation 2019-08-10 16:50:05 +03:00
Jack
55d7ae4e7d trimmed error message to 80 cols 2019-08-10 16:38:54 +03:00
Jack
c5ac9e86cc early bash version check 2019-08-10 16:36:12 +03:00
Jack
5852996670 enable/disable System Integrity Protection 2019-08-10 13:00:13 +03:00
Jack
27378e1e54 Update macos-guest-virtualbox.sh 2019-08-09 20:39:44 +03:00
Jack
af7fedb5d9 unique variable index 2019-08-09 20:39:25 +03:00
Jack
009688dc0e Support for NVRAM variable system-id 2019-08-09 20:27:34 +03:00
Jack
b4f1e8eef9 Update macos-guest-virtualbox.sh 2019-07-31 18:26:20 +03:00
Jack
ced167a082 Update README.md 2019-07-31 18:21:21 +03:00
Jack
ff0644d775 Update README.md 2019-07-31 18:20:39 +03:00
Jack
2e0ed4f92f Merge pull request #88 from deepio/master
Fixes: #39 MacOS Compat
2019-07-31 18:17:32 +03:00
Jack
b9b9543609 Update macos-guest-virtualbox.sh 2019-07-31 18:15:18 +03:00
Jack
d881bed4a2 macOS coreutils 2019-07-31 18:11:41 +03:00
Alex Daigle
9a6faff3de Fixed: Typo, lingering \n 2019-07-31 09:49:58 -04:00
deepio
9b87484fd2 Added: MacOS compat.
https://github.com/myspaghetti/macos-guest-virtualbox/issues/39
2019-07-29 14:37:54 -04:00
Jack
9c66e3d789 Update README.md 2019-07-23 19:35:32 +03:00
Jack
79f877dcb9 raised VBox version requirement to 6.0 because of VISO issues 2019-07-23 17:26:40 +03:00
Jack
7de4173f34 truncated log lines at 80 columns 2019-07-22 20:29:12 +03:00
Jack
a921600e1d comment about ROM and UUID variables and xxd package 2019-07-15 05:13:13 +03:00
Jack
0b192ef515 fail if xxd fails and ROM or UUID are modified
SECRET DEPENDENCY
2019-07-15 05:07:44 +03:00
Jack
41b15fc8f0 accept VBox versions 5.3-5.9.* too 2019-07-12 17:08:04 +03:00
Jack
471034417a Update README.md 2019-07-12 14:44:17 +03:00
Jack
2740b9f845 Update README.md 2019-07-12 14:39:38 +03:00
Jack
8b99bc92ea lowering VBox version requirement 2019-07-12 14:36:25 +03:00
Jack
129bf61030 changed Uuid to UUID to prevent startvm error 2019-07-05 06:27:14 +03:00
Jack
aac4cd94a8 minor log changes 2019-07-05 06:09:06 +03:00
Jack
956a9752fb iMessage! 2019-07-05 00:55:30 +03:00
Jack
f5deba6b4f Goodbye Clover, we hardly knew ye 2019-07-05 00:53:52 +03:00
Jack
eae0d0c4c8 added (working) iMessage support
removed global variable, xxd is kinda-sorta a dependency now
2019-07-05 00:45:18 +03:00
Jack
928887d1ed Merge pull request #80 from trikosuave/master
Make installation files variable global.
2019-07-05 00:42:25 +03:00
Patrick Ryan
8d6b4ee08f moved variable to global as needed in several functions that would fail if ran via stages, place_efi_apfs_drivers for example. 2019-07-04 09:10:17 -07:00
Jack
4165d58ec9 underscores, certificate error message 2019-07-04 12:39:51 +03:00
Jack
0dcd9d9eab board id for MacBookPro11,2 2019-07-03 12:27:54 +03:00
Jack
ee7ae218f8 a few more extradata parameters 2019-07-03 12:26:18 +03:00
Jack
3ea3204bb7 Update README.md 2019-07-03 03:49:35 +03:00
Jack
638da20802 updated Catalina URL 2019-07-03 03:39:57 +03:00
Jack
797dc1c3be restore EFI parameters to avoid installer warnings 2019-07-02 22:31:03 +03:00
Jack
af124a4d90 removed duplicate 'disks=' command 2019-07-02 22:01:09 +03:00
Jack
c878916e22 Clover 2019-07-02 17:51:05 +03:00
Jack
d6c5ebb542 removed some EFI parameters
DmiSystemProduct, DmiSystemSerial, DmiBoardProduct, DmiBoardSerial, DmiSystemUuid, UUID
2019-07-02 17:09:15 +03:00
Jack
6507df1983 Update macos-guest-virtualbox.sh 2019-07-02 14:08:57 +03:00
Jack
7078bf5c0c investigating iMessage 2019-07-02 13:57:31 +03:00
Jack
ceb79b68b9 Update macos-guest-virtualbox.sh 2019-07-02 11:17:36 +03:00
Jack
66bcfeb2b8 still investigating iMessage 2019-07-02 11:14:25 +03:00
img2tab
d5706eacf1 investigating which EFI values are required for iMessage 2019-07-01 12:17:13 +03:00
img2tab
5b5228445a serial number etc 2019-06-30 13:10:59 +03:00
img2tab
b694ff4cde added a couple of missing "prompt_terminal_ready"s 2019-06-29 19:59:32 +03:00
img2tab
0c4951d2b7 incrementing version number 2019-06-29 19:04:26 +03:00
img2tab
aba24bb85c splitting log line 2019-06-29 19:04:06 +03:00
img2tab
e8a319b80b welcome message formatting 2019-06-29 18:33:45 +03:00
img2tab
fba5b36a68 moved "exception handling" to the top of the loop 2019-06-29 05:06:10 +03:00
img2tab
d8fbd564cf fixed sucatalog search 2019-06-29 05:01:55 +03:00
img2tab
9918fb116e added newline after log message 2019-06-28 21:36:24 +03:00
img2tab
aa7270cbf2 might as well delete dmg2img.exe too 2019-06-28 21:23:10 +03:00
img2tab
638f547767 delete leftover temporary file 2019-06-28 21:21:56 +03:00
img2tab
b73bc3d6a2 newline after error message 2019-06-28 21:18:31 +03:00
img2tab
60d6c78f65 more old filenames... 2019-06-28 21:09:40 +03:00
img2tab
be6513b247 could not download BaseSystem... 2019-06-28 21:06:46 +03:00
img2tab
55a17c8eb7 don't care if VBoxManage closemedium fails 2019-06-28 21:02:27 +03:00
img2tab
f77071e014 Update macos-guest-virtualbox.sh 2019-06-28 18:18:50 +03:00
img2tab
61f1866a91 removed rate limit that was for testing purposes 2019-06-28 18:14:35 +03:00
img2tab
dfc0fd22ce implemented VISO for Catalina
VISO file format support requires VirtualBox version 6 or higher
2019-06-28 18:11:04 +03:00
img2tab
e1041fd6b0 Update README.md 2019-06-28 17:10:44 +03:00
img2tab
7ab3fc0f46 Update README.md 2019-06-28 17:04:31 +03:00
img2tab
17ce2f51a1 Update README.md 2019-06-28 17:03:28 +03:00
img2tab
09eb02cd55 requires VirtualBox 6.0 as of version 0.65 2019-06-28 17:03:00 +03:00
img2tab
6342cec292 Update README.md 2019-06-17 10:10:28 +03:00
2 changed files with 1675 additions and 685 deletions
+69 -12
View File
@@ -1,26 +1,83 @@
## One-key semi-automatic installer of macOS Mojave 10.14 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!) ![macOS inside a VirtualBox window with the dock positioned on the left](https://repository-images.githubusercontent.com/156108442/c501b100-0e5a-11eb-8b49-90afd63f5d03 "macos-guest-virtualbox.sh")
The goal of the script is to allow for a very easy installation without any closed-source additions or extra bootloaders. ## Push-button installer of macOS on VirtualBox
Tested on Cygwin and WSL, should work on most Linux distros. [`macos-guest-virtualbox.sh`](https://raw.githubusercontent.com/myspaghetti/macos-guest-virtualbox/master/macos-guest-virtualbox.sh) is a Bash script that creates a macOS virtual machine guest on VirtualBox with unmodified macOS installation files downloaded directly from Apple servers.
## iCloud and iMessage connectivity A default install only requires the user to sit patiently and, less than ten times, press enter when prompted by the script, without interacting with the virtual machine.
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. Tested on `bash` and `zsh` on [Cygwin](https://cygwin.com/install.html). Works on macOS, CentOS 7, and Windows. Should work on most modern Linux distros.
macOS Catalina (10.15), Mojave (10.14), and High Sierra (10.13) currently supported. The virtual machine may be upgraded to the latest Big Sur (11) version through Software Update.
## Documentation
Documentation can be viewed by executing the command `./macos-guest-virtualbox.sh documentation`
The majority of the script is either documentation, comments, or actionable error messages, which should make the script straightforward to inspect and understand.
## iCloud and iMessage connectivity and NVRAM
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 can be set in EFI and NVRAM by editing the script. See the [documentation command](#documentation) for further information.
## Storage size ## 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 25GB on the host on initial installation. After the installation is complete, the storage size may be increased. See the [documentation command](#documentation) for further information.
## Primary display resolution
The following primary display resolutions are supported by macOS on VirtualBox: `5120x2880` `2880x1800` `2560x1600` `2560x1440` `1920x1200` `1600x1200` `1680x1050` `1440x900` `1280x800` `1024x768` `640x480`. See the [documentation command](#documentation) for further information.
## Unsupported features ## 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, FileVault boot password prompt support, and other features.
### CPU compatibility
macOS guests on VirtualBox are incompatible with some CPU models. If the guest macOS boot process hangs on “LoadKernelFromStream”, “EndRandomSeed”, or "EXITBS", see the [documentation command](#documentation) regarding VirtualBox CPU profiles and [CPUID settings](https://www.virtualbox.org/manual/ch08.html#vboxmanage-modifyvm-teleport). Some CPU models released in 2020 and later may fail to start or complete the installer, and may require manually adjusting the CPUID settings.
### Performance and deployment
After successfully creating a working macOS virtual machine, consider importing it into more performant virtualization software, or packaging it for configuration management platforms for automated deployment. These virtualization and deployment applications require additional configuration that is beyond the scope of the script.
QEMU with KVM is capable of providing virtual machine hardware passthrough for near-native performance. QEMU supports the `VMDK` virtual disk image storage format, which can be configured to be created by the script. See the [documentation command](#documentation) for further information. QEMU and KVM require additional configuration that is beyond the scope of the script.
#### VirtualBox Native Execution Manager (NEM)
The VirtualBox Native Execution Manager (NEM) is an experimental VirtualBox feature. [VirtualBox uses NEM when access to VT-x and AMD-V is blocked by virtualization software or execution protection features such as Hyper-V, WSL2, WSLg, Windows Sandbox, memory integrity protection, Application Guard, Credential Guard, Device Guard, and other features and software.](https://docs.microsoft.com/en-us/troubleshoot/windows-client/application-management/virtualization-apps-not-work-with-hyper-v) macOS and the macOS installer have memory corruption issues under NEM virtualization. The script checks for NEM and exits with an error message if it is detected.
[VirtualBox can run on WSL2 and WSLg with some kernel module compilation](https://github.com/myspaghetti/macos-virtualbox/issues/525), though performance is extremely low. At the point that kernel module compilation is required, it's preferable to use QEMU/KVM. QEMU/KVM on WSL2 and WSLg is orders of magnitude faster than VirtualBox. WSL2, WSLg, QEMU, and KVM require additional configuration that is beyond the scope of the script.
### Bootloaders
The macOS VirtualBox guest is loaded without extra bootloaders, but it is compatible with [OpenCore](https://github.com/acidanthera/OpenCorePkg/releases). OpenCore requires additional configuration that is beyond the scope of the script.
### Audio
macOS may not support any built-in VirtualBox audio controllers. The bootloader [OpenCore](https://github.com/acidanthera/OpenCorePkg/releases) may be able to load open-source or built-in audio drivers in VirtualBox, providing the configuration for STAC9221 (Intel HD Audio) or SigmaTel STAC9700,83,84 (ICH AC97) is available.
### Display scaling
VirtualBox does not supply an EDID for its virtual display, and macOS does not enable display scaling (high PPI) without an EDID. The bootloader OpenCore can [inject an EDID](https://github.com/acidanthera/WhateverGreen/blob/master/Manual/FAQ.IntelHD.en.md#edid) which enables display scaling.
### FileVault
The VirtualBox EFI implementation does not properly load the FileVault full disk encryption password prompt upon boot. The bootloader [OpenCore](https://github.com/acidanthera/OpenCorePkg/releases/tag/0.6.9) is able to load the password prompt with the parameter `ProvideConsoleGop` set to `true`. See sample [config.plist](https://github.com/myspaghetti/macos-virtualbox/files/6600860/config.plist.txt)
## Dependencies ## Dependencies
* [VirtualBox](https://www.virtualbox.org/wiki/Downloads)≥5.2 with Extension Pack The following dependencies should be available through a package manager:
* `Bash`≥4 (run on Windows through [Cygwin](https://cygwin.com/install.html) or WSL) `bash` `coreutils` `gzip` `unzip` `wget` `xxd` `dmg2img` `virtualbox`
* `coreutils`, `unzip`, `wget` (install through package manager)
* `dmg2img` (install through package manager on Linux or WSL; let the script download it automatically on Cygwin) The following optional packages provide optical character recognition that reduces the required interaction with the script:
`tesseract-ocr` `tesseract-ocr-eng`
Supported versions:
* [VirtualBox](https://www.virtualbox.org/wiki/Downloads) ≥ 6.1.6, though versions as low as 5.2 may work.
* GNU `Bash` ≥ 4.3, on Windows run through [Cygwin](https://cygwin.com/install.html) or WSL "1", see [NEM](#virtualbox-native-execution-manager-nem)
* GNU `coreutils` ≥ 8.22, GNU `gzip` ≥ 1.5, Info-ZIP `unzip` ≥ v6.0, GNU `wget` ≥ 1.14, `xxd` ≥ 1.11
* `dmg2img` ≥ 1.6.5, on Cygwin the package is not available through the package manager so the script downloads it automatically.
* `tesseract-ocr` ≥ 4
Regular → Executable
+1442 -509
View File
File diff suppressed because it is too large Load Diff