User:Derf/MacOS: Difference between revisions

From ConsoleMods Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
Line 1: Line 1:
Derf's notes for a cursed trifecta of operating systems.
My foray into the world of Mac.


== Installing MacOS on QEMU on Ubuntu on WSL on Windows ==
== Installing MacOS on QEMU on Ubuntu on WSL on Windows ==
Derf's notes for a cursed trifecta of operating systems.


# Setup WSL2 and install an Ubuntu installation.
# Setup WSL2 and install an Ubuntu installation.
Line 25: Line 27:
# Use the disk utility to erase the largest drive then format it as the guide mentions.
# Use the disk utility to erase the largest drive then format it as the guide mentions.
# Choose the "Re-install" option. It may need an internet connection depending on the version you chose.
# Choose the "Re-install" option. It may need an internet connection depending on the version you chose.
== Installing Classic Mac 9.2.2 on QEMU on Windows ==
Use qemu-screamer for sound.
* Pre-made image download: http://macos9lives.com/smforum/index.php?topic=2109.0
* https://www.emaculation.com/forum/viewtopic.php?f=34&t=9028
* https://www.emaculation.com/doku.php/ppc-osx-on-qemu-for-windows

Latest revision as of 02:54, 5 February 2024

My foray into the world of Mac.

Installing MacOS on QEMU on Ubuntu on WSL on Windows

Derf's notes for a cursed trifecta of operating systems.

  1. Setup WSL2 and install an Ubuntu installation.
  2. Install a OpenSUSE installation and setup KVM acceleration (optional).
  3. Open Ubuntu and follow this guide.
  4. Run these commands in the WSL terminal:
export DISPLAY_NUMBER="0.0"
export DISPLAY=$(grep -m 1 nameserver /etc/resolv.conf | awk '{print $2}'):$DISPLAY_NUMBER
export LIBGL_ALWAYS_INDIRECT=1
setsid emacs
  1. Install VcXsrv on Windows. Run from PowerShell with the commands:
cd "C:\Program Files\VcXsrv\"
vcxsrv.exe" :0 -multiwindow -clipboard -wgl -ac
  1. In WSL, run these commands and verify a calculator opens (successfully displaying a GUI app):
sudo apt install x11-apps
xcalc
  1. Follow this page's section on "Tap Networking (Better Performance)". You may need to install qemu-bridge-helper via apt.
  2. Open OpenCore-Boot.sh:
Comment out the active -netdev line and add:
-netdev tap,id=net0,ifname=tap0,script=no,downscript=no -device e1000-82545em,netdev=net0,id=net0,mac=52:54:00:c9:18:27
Add to the args:
-cpu host
  1. Use the disk utility to erase the largest drive then format it as the guide mentions.
  2. Choose the "Re-install" option. It may need an internet connection depending on the version you chose.


Installing Classic Mac 9.2.2 on QEMU on Windows

Use qemu-screamer for sound.