How To Run Dmg From Terminal

Dec 10, 2008 The download file is named 'cotvnc-20b4.dmg'. Here are the steps needed to install it remotely from the command line. Note: this technique can be used from a local Terminal window or a remote SSH connection. Mount the disk image. The first step is to mount (or attach) the disk image. From the command line, use: hdiutil mount cotvnc-20b4.dmg. Non-Macintosh systems may access DMG files and extract or convert them to ISO image files for burning. Several applications are designed to offer this solution for Windows systems. 7-Zip and DMG Extractor are the best options to open DMG file on Windows because they are. Convert DMG to ISO options. When trying to convert a DMG to a ISO or CDR file for MacOS X, we have two options available. The first one is by using just Disk Utility, a preferred method if you don’t like working with Terminal. The second method is by using the command line by using Terminal. Jul 06, 2008  I cleaned the disc, used a pc and made a dual layer backup of the dvd and tried the install, same thing happend. I downloaded a clean dmg of leopard and have it on an external drive. I booted and mounted the external with the.dmg. I want to run the install and see if it will work. How from the terminal, I'm familar with dos.

  1. How To Run Dmg From Terminal 6
  2. How To Run Dmg From Terminal 5

Supported macOS versions

  • High Sierra 10.13.x
  • Mojave 10.14.x
  • Catalina 10.15.x

For OpenCore EFI installers
Use tribeam.sh script
https://github.com/Broly1/tribeam

GibMacOS + finalflash.sh
Alternativelly if you prefere to use GibMacOS instead of tribeam.shyou can use finalflash.sh script which will use either
the Recovery.pkg or the BaseSystem.dmg, just drop it inside GibMacOS after downloading the desired
version of macOS and run it from there fallowing the prompt.
https://github.com/Broly1/finalflash

For manual instalation read this.

Tools you'll need :

GNOME Disks is a graphical front-end for udisks included in the 'gnome-disk-utility' package.
GParted is a free partition editor for graphically managing your disk partitions.
DMG2IMG comand line tool that allows you to convert a (compressed) Apple Disk Images
gibMacOS - An awesome tool from CorpNewt ( https://github.com/corpnewt/gibMacOS )
A USB drive 8gb+
Some patience..

Get macOS Installer with gibMacOS

Downloading the installer files fairly straight forward process but may take a while depending on your internet speeds.
To start extract gibMacOS and and open your terminal change directory to the gibmacos.command script.
Run it with ./gibMacOS.command
This will allow you to choose the macOS version to download.

In my case I chose option 1. It will download the macOS installer files.
Make sure that BaseSystem.dmg is downloaded completely thats what we will use to create the installer
Once downloaded you can proceed to the next step.

How To Run Dmg From Terminal

Creating the macOS Install USB

Find BaseSystem.dmg inside /gibMacOS-master/macOS Downloads/publicrelease/
Drag it to your desktop or somewhere else if you prefer.
Open your terminal and change directory to where the BaseSystem.dmg file is in my case:
cd Desktop
Then run dmg2img BaseSystem.dmg base.iso it will convert the the dmg file to iso file named base.iso
Open Disks AKA 'Gnome-Disk-Disk-Utility' and drag base.iso to it and hit start restoring.This will take a wile.

But, you can still open them up and take a look.You can’t open DMG files directly in Windows, though. How to run dmg file on windows 10 free

Once it is done restoring the iso open up Gparted and select your usb-drive.

Rigth click in the unallocated space hit new

In File system select fat32 and in lable type EFI

Hit apply

Once done applying changes righ click on your new EFI partition and hit Manage Flags

Select boot and esp

Now whe need to mount the EFI partition
The easiest way is to open up Disks again and mount it that way

Now you should see an empty EFI partition in your file system

For OpenCore

Download OpenCore-x.x.x-RELEASE.zip
https://github.com/acidanthera/OpenCorePkg/releases
Extract it and drop OpenCore EFI folder in the EFI partition we just created
and fallow the OpenCore Vanilla Guide.
https://khronokernel-2.gitbook.io/opencore-vanilla-desktop-guide/

For Clover

Download CloverISO-xx.tar.lzma
https://github.com/CloverHackyColor/CloverBootloader/releases
Extract it then extract the iso as well and copy the EFI folder to the empty EFI partition

Drivers

Now open EFI/CLOVER/drivers/UEFI and all we need there are:
ApfsDriverLoader.efi AptioMemoryFix.efi HFSPlus.efi

Kexts

Now download your kexts here:
https://onedrive.live.com/?authkey=%21APjCyRpzoAKp4xs&id=FE4038DA929BFB23%21455036&cid=FE4038DA929BFB23
Place your kexts in /EFI/CLOVER/kexts/other
To know what kexts you need check this link:
https://hackintosh.gitbook.io/-r-hackintosh-vanilla-desktop-guide/gathering-kexts

You will also need AppleMCEReporterDisabler.kext on Catalina too.

This is how my kexts folder looks like

How to run dmg from terminal 2

You should have a sample config.plist inside /EFI/CLOVER remove it.
If on amd cpu get your sample config.plist here:
https://github.com/AMD-OSX/AMD_Vanilla

If on Intel cpu you can get a sample here:
https://github.com/corpnewt/Hackintosh-Guide How to stack dmg with gara.

Make sure to learn the basics of config.plist
https://github.com/corpnewt/Hackintosh-Guide/blob/master/config.plist-basics.md

This shoud be enough to boot into the installer GOOD Luck!!

How To Run Dmg From Terminal 6

Credits to:

How To Run Dmg From Terminal 5

CorpNewt algrey Hackintosh Slav and many others

Comments are closed.