Return to site

How To Run Linux On Mac

broken image


Paintstorm studio 2 4000. A quick tutorial on how set up a simple macOS VM in QEMU, accelerated by KVM. Jump over the break to learn more…

  1. How To Run Linux On Macbook
  2. Install Linux On Mac Mini
  3. Install Linux On Mac

WHAT IS KVM?

Linux Mint is the distro that you probably want to use if you don’t pick Ubuntu GNOME. It is based on Ubuntu and its developers are determined to fix all the issues that Ubuntu users complain about. Linux Mint is, in a manner of speaking, a cooler Ubuntu, and its UI is easy to navigate. It will be a good pick to run on your Mac. Straight Installation vs. While there are some computers that come with Linux Mint. There are many versions of Linux that run on Macs, both 68k and PowerMacs. I chose Debian Linux m68k 2.1 because it can be ordered on CD which makes it much easier to install, and it has already been tested on the SE/30, which is the Mac I wanted to install it onto. Turns out it’s fairly easy to run Linux on your Mac without using up any bit of your hard drive. Using a flash drive and some Terminal commands, you can check out a distribution like Ubuntu.

Kernel-based Virtual Machine (KVM) is a virtualization module in the Linux kernel that allows the kernel to function as a hypervisor.

KVM converts Linux into a type-1 (bare-metal) hypervisor and requires a processor with hardware virtualization extensions, such as Intel VT or AMD-V.

More info. Fallout 4 lingerie mod.

ALSO READHOW TO: Install macOS Catalina in a Docker Container on Linux

ALSO READHOW TO: Install macOS Big Sur With OpenCore on Linux

DEPENDENCIES

  • Qemu 3.1 or later
  • python3
  • pip
  • KVM modules enabled
  • A Mac computer is NOT required

INSTALL

1. Install dependencies. You might also want to install git (not shown in the screenshot ). Depending on your distro:

How To Run Linux On Macbook
  • For Ubuntu, Debian, Mint, and PopOS: sudo apt-get install qemu-system qemu-utils python3 python3-pip
  • For Arch and Arch based distros: sudo pacman -S qemu python python-pip
  • For Void: sudo xbps-install -Su qemu python3 python3-pip
  • For openSUSE Tumbleweed: sudo zypper in qemu-tools qemu-kvm qemu-x86 qemu-audio-pa python3-pip
  • For Fedora: sudo dnf install qemu qemu-img python3 python3-pip
Mac

2. Clone this git https://github.com/foxlet/macOS-Simple-KVM.git and cd to path.

3. Run jumpstart.sh to download installation media for macOS (internet connection required). The default installation uses macOS Catalina, but you can choose which version to get by adding either --high-sierra, --mojave, or --catalina. For example: ./jumpstart.sh --mojave

4. Create an empty hard disk using qemu-img, changing the name and size to preference: qemu-img create -f qcow2 MyDisk.qcow2 64G

Install Linux On Mac Mini

NOTE: Change “MyDisk” to your preffered disk name. Change “64G” to your prefered disk size ( min. 20G )

5. Edit basic.sh with sudo nano basic.sh and add this at the end:

-drive id=SystemDisk,if=none,file=MyDisk.qcow2
-device ide-hd,bus=sata.4,drive=SystemDisk

Save the changes and exit. Wild wolf slot machine.

NOTE: change “MyDisk” to your disk name set in previous step.

6. Run ./basic.sh

7. Boot into macOS Catalina Installer

How to run linux on macbook pro

2. Clone this git https://github.com/foxlet/macOS-Simple-KVM.git and cd to path.

3. Run jumpstart.sh to download installation media for macOS (internet connection required). The default installation uses macOS Catalina, but you can choose which version to get by adding either --high-sierra, --mojave, or --catalina. For example: ./jumpstart.sh --mojave

4. Create an empty hard disk using qemu-img, changing the name and size to preference: qemu-img create -f qcow2 MyDisk.qcow2 64G

Install Linux On Mac Mini

NOTE: Change “MyDisk” to your preffered disk name. Change “64G” to your prefered disk size ( min. 20G )

5. Edit basic.sh with sudo nano basic.sh and add this at the end:

-drive id=SystemDisk,if=none,file=MyDisk.qcow2
-device ide-hd,bus=sata.4,drive=SystemDisk

Save the changes and exit. Wild wolf slot machine.

NOTE: change “MyDisk” to your disk name set in previous step.

6. Run ./basic.sh

7. Boot into macOS Catalina Installer

Install Linux On Mac

8. Go to “Disk Utility” and format your disk

9. Once your disk is ready, you can install macOS Catalina. From now on, it’s your typical macOS install. No extra steps required.

10. You’re done! To fine-tune the system and improve performance, look in the docs folder for more information on adding memory, setting up bridged networking, adding passthrough hardware (for GPUs), tweaking screen resolution, and enabling sound features. For further support, check out the official github page. Cloudtv 3 9 9 x 12.





broken image