Batch Update 1 - January 2023

Changes:

- Update to OpenCore 0.8.8

- New 'ISO' creation scripts (mikehardy)
This commit is contained in:
Dhiru Kholia 2023-01-26 10:49:05 +05:30 committed by Dhiru Kholia
parent fbd4d73ce8
commit 7fed0d7c5c
56 changed files with 103 additions and 1 deletions

View file

@ -42,7 +42,7 @@
* Jan Kuri (jkuri) - Mojave ISO creation fixes * Jan Kuri (jkuri) - Mojave ISO creation fixes
* Mike Hardy (mikehardy) - Network documentation improvements * Mike Hardy (mikehardy) - Network documentation improvements, Ventura 'ISO' script
* CuriousTommy + pickled_monkey - Information on vmxnet3 network adapter * CuriousTommy + pickled_monkey - Information on vmxnet3 network adapter

BIN
OVMF_VARS-1920x1080.fd Normal file

Binary file not shown.

Binary file not shown.

View file

@ -0,0 +1 @@
OpenCore

View file

@ -0,0 +1 @@
Disabled

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -16,6 +16,30 @@ This fix was found by `Glnk2012` of https://www.tonymacx86.com/ site.
Also tweaking the `smbios.plist` file can help (?). Also tweaking the `smbios.plist` file can help (?).
### Resolution in Ventura (WIP)
From https://superuser.com: macOS Ventura screen resolution settings includes
only 3 predefined options but choosing any of them breaks my installation (I'm
getting black screen with only small portion visible).
Process to reset the resolution (using that small visible) display portion:
Log in (in a blind fashion!), open Terminal and run the following commands:
```
sudo rm /Library/Preferences/com.apple.windowserver.plist
rm ~/Library/Preferences/ByHost/com.apple.windowserver*
sudo reboot
```
Reboot the macOS Ventura VM.
Note: Running `displayplacer "id:FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF mode:10"`
doesn't help with this resolution problem on macOS Ventura.
### Change resolution in OpenCore ### Change resolution in OpenCore
```diff ```diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 392 KiB

38
scripts/create_dmg_monterey.sh Executable file
View file

@ -0,0 +1,38 @@
#!/usr/bin/env bash
# Create a DMG from the Monterey installer app
# Bail at first DMG creation error
set -e
display_help() {
echo "Usage: $(basename $0) [-h] [<path/to/install_app.app> <path/to/output_dmg_file.dmg>]"
exit 0
}
if [ "$1" == "-h" ] ; then
display_help
fi
if [ "$#" -eq 2 ]
then
in_path=$1
dmg_path=$2
elif [ "$#" -eq 0 ]
then
in_path=/Applications/Install\ macOS\ Monterey.app
dmg_path=~/Desktop/Monterey.dmg
echo "Using default paths:"
echo "Install app: $in_path"
echo "Output disk: $dmg_path"
else
display_help
fi
hdiutil create -o "$dmg_path" -size 14g -layout GPTSPUD -fs HFS+J
hdiutil attach "$dmg_path" -noverify -mountpoint /Volumes/install_build
sudo "$in_path/Contents/Resources/createinstallmedia" --volume /Volumes/install_build --nointeraction
# createinstallmedia leaves a bunch of subvolumes still mounted when it exits, so we need to use -force here.
# This might be fixed in a later Beta release:
hdiutil detach -force "/Volumes/Install macOS Monterey"

38
scripts/create_dmg_ventura.sh Executable file
View file

@ -0,0 +1,38 @@
#!/usr/bin/env bash
# Create a "ISO" (DMG) image for powering offline macOS installations
# Bail at first ISO creation error
set -e
display_help() {
echo "Usage: $(basename $0) [-h] [<path/to/install_app.app> <path/to/output_iso_file.iso>]"
exit 0
}
if [ "$1" == "-h" ] ; then
display_help
fi
if [ "$#" -eq 2 ]
then
in_path=$1
dmg_path=$2
elif [ "$#" -eq 0 ]
then
in_path=/Applications/Install\ macOS\ Ventura.app
dmg_path=~/Desktop/Ventura.dmg
echo "Using default paths:"
echo "Install app: $in_path"
echo "Output disk: $dmg_path"
else
display_help
fi
# Borrrowed from multiple internet sources
hdiutil create -o "$dmg_path" -size 17g -layout GPTSPUD -fs HFS+J
hdiutil attach "$dmg_path" -noverify -mountpoint /Volumes/install_build
sudo "$in_path/Contents/Resources/createinstallmedia" --volume /Volumes/install_build --nointeraction
# createinstallmedia may leave a bunch of subvolumes still mounted when it exits, so we need to use -force here.
hdiutil detach -force "/Volumes/Install macOS Ventura"