#MacOS

Описание к видео #MacOS

Timestamps:
0:00 Installation
5:44 Skip I went away
8:03 basic.sh using terminal
9:06 Skip load time
11:22 Mac OS installation Booted
13:16 display resolution glitch.It can be fixed if you restart the virtual machine by closing the qemu then again running the ./basic.sh script
15:40 running mac os using cockpit
18:51 safari or internet cannot be used as the NAT network is not active.
22:48 Running using virt manager
27:27 The End

github link: https://github.com/foxlet/macOS-Simpl...
Step by Step Instructions.. (My instructions will work on Debian Distro)
step 1:
sudop apt-get update && apt-get upgrade

Depends on your Distro:
(important software for Qemu emulation)
sudo apt-get install qemu-system qemu-utils python3 python3-pip # for Ubuntu, Debian, Mint, and PopOS.
sudo pacman -S qemu python python-pip python-wheel # for Arch.
sudo xbps-install -Su qemu python3 python3-pip # for Void Linux.
sudo zypper in qemu-tools qemu-kvm qemu-x86 qemu-audio-pa python3-pip # for openSUSE Tumbleweed
sudo dnf install qemu qemu-img python3 python3-pip # for Fedora
sudo emerge -a qemu python:3.4 pip # for Gentooo

step 2:
sudo git clone https://github.com/foxlet/macOS-Simpl...
cd macOS-Simple-KVM

Step 3:
sudo ./jumpstart.sh #by default it will download Catalina.dmg to .iso
or add --high-sierra, --mojave, or --catalina after ./jumpstart.sh

Step 4: Creating a partition virtual storage disk 64G=64GB you can increase or decrease size:
sudo qemu-img create -f qcow2 MyDisk.qcow2 64G

step 5: editing basic.sh script using nano
sudo nano basic.sh #go to the last line and add this two lines
-drive id=SystemDisk,if=none,file=MyDisk.qcow2 \
-device ide-hd,bus=sata.4,drive=SystemDisk \
#you can also change ram allocated by replacing -m 2G to your desired ram.
"qemu-system-x86_64 \
-enable-kvm \
-m 2G \ #-m 4G means 4GB Ram allocated
-machine q35,accel=kvm \
-smp 4,cores=2 \" #cores you can allocated as many cores your cpu has.
"
step 6: (Running directly from Terminal)
sudo ./basic.sh #your mac OS will start booting up
just go to disk manager and erase your partition of 64GB that you created and then click reinstall mac os.

Alternative to Step 6
(Running headlessly on localhost)
enter this command
sudo HEADLESS=1 MEM=4G CPUS=2 SYSTEM_DISK=MyDisk.qcow2 ./headless.sh
then open VNC viewer (Vinagre)
install vinagre using:
sudo apt install vinagre -y
open vinagre and select vnc then put ip address 127.0.0.1:5900
then use it.

Step 6 Alternative using Virt-Manager Graphical User Interface
Install virt-manager
sudo apt-get install virt-manager
then run this command
sudo ./make.sh --add
this will add virtual machine MacOS simple KVM in the list
then click add disk in dialoge box in console menu, then select MyDisk.qcow2 from the directory of MacOSSimpleKVM

Last Alternative which I like the best is Cockpit
Install virt-manager before running Cockpit
sudo apt-get install virt-manager
then run this command
sudo ./make.sh --add
Install cockpit now: Install cockpit using

sudo apt install cockpit
sudo systemctl enable --now cockpit.socket
To open the firewall ports :
sudo firewall-cmd --add-service=cockpit --permanent
sudo firewall-cmd --reload
sudo apt install cockpit-dashboard cockpit-podman cockpit-machines cockpit-networkmanager cockpit-packagekit cockpit-storaged
systemctl restart cockpit.socket

To access Cockpit, point the web browser to your computer or server IP on the port
https://localhost:9090
login with your username and password
It will be better if you use root user.
access your Mac OS simple KVM Vm using it.
#Please like Share Subscribe..
#macoscatalina #kalilinux #cockpit #terminal #qemu #kvm #virtmanager.

Комментарии

Информация по комментариям в разработке