How To Restore A Mac From Usb Dmg Terminal
Posted By admin On 30.11.20Aug 02, 2011 7) Click Restore – 25 minutes later – One bootable USB drive Your bootable USB drive will be called “Mac OS X Base System” after the restore is complete. Now to boot from it just select it as the Start Up disk in System Preferences or hold down option key on boot and select it from the choice of bootable devices. Jul 10, 2012 I found that if I were to only restore the InstallESD.dmg to a USB, it would actually seem to download most of the OS during install after the initial part - a few other people said the same. I am hoping that this method actually ensures the packages are copied from the USB drive - which of course would make for a faster install. Jan 19, 2018 Just in case that you don't want to use Terminal, you may follow these steps to build a USB drive for Mac OS X or macOS. Mount the Mac OS installer to get.DSStore, BaseSystem.chunklist, and BaseSystem.dmg. Files from InstallESD.dmg file. Use Disk Utility's Restore feature to create a copy of the OS Install ESD image. Nov 21, 2010 Question: Q: How to restore from a dmg file? My MAC was working fine and at that point from Disk Utility, selecting the main disk, I clicked on 'New Image' and saved the entire disk as a backup. It resulted in a 135Gb dmg file.
This guide deals with 3 ways of making a boot disk from OSX 10.9 Mavericks the first one is the fastest and is done via the Terminal from a new command already in OSX Mavericks called createinstallmedia , the other 2 are older ways when Mavericks was in development and are done with a mixture of finder using Disk Utility and command line.
Quickest Way
Download Mac OSX 10.9Mavericks but don’t install.
Attach your USB stick/drive.
Launch the Terminal from /Applications/Utilities and enter the command below and then your password when prompted, be sure to change the ‘Untitled‘ name in the below command to your external disk name:
Let it do its thing and there you have it, one bootable Mac OSX 9 drive.
This really is a super simple way – however if using the Terminal fills you with fear and dread, there are some GUI apps that can get the job done namely DiskMakerX and a new imaging tool that can clone a new disk very quickly – AutoDMG.
Alternative Ways of building a Bootable Mavericks OSX Disk.
To make a boot disk of OSX 10.9 Mavericks, first of all get the app or download via the App store, if downloaded it will file in the folder Applications.
Control / Left click Options, Show in Finder to get to the app, don’t install at this stage.
Located in the Applications Folder
Finding the InstallESD.dmg
To find the actual InstallESD.dmg file, control/left click the ‘Install OS X Mavericks’ app and choose show contents – then navigate to Shared Support folder.
Control/Right click to show contents
Navigate to Shared Support folder to see the InstallESD.dmg file
Mount InstallESD.dmg
Double click to mount the image.
Make Invisible Files Visible
We need to see the BaseSystem.dmg inside the InstallESD.dmg
Crank open Terminal and run:
This will show all invisible files have a look inside the mounted InstallESD.dmg
Mount an External Disk
Attach a USB/external drive – this guide uses the external drive name calledBootDisk, you need to make sure the format is correct, it needs to be Mac OSX Extended Journaled – it its not you can format that in Disk Utility.
Launch Disk Utility
Launch Disk Utility as found in Applications/Utilities and go to the Restore tab.
Drag BaseSystem.dmg to the Source field and your external disk to the Destination and click Restore.
In chemical formula you may use:. /molar-mass-of-co-dmg.html.
This will mount your new OSX 10.9 external disk and name it OSX Base System – but we need to add the packages.
Fix the Packages
Couple of things to fix in the newly created boot disk, remove the Packagealias at System/Installation/ folder
Now from the previously mounted InstallESD.dmg copy over the Packages folder to the same location where we just removed the alias above.
Will take a while as it holds all the install packages.
Job done now you can boot from the OSX 10.9 disk.
Make the Visible back to Invisible
If you want all to return back to normal and hide the system files run a couple more commands in the Terminal
How to create the OSX 10.9 Mavericks Bootable Drive just via Terminal
How To Restore A Mac From Usb Dmg Terminal 1
Just for the crazy ones……after Mavericks is downloaded….and again this assumes you external disk is named BootDisk
Mount the InstallESD.dmg buried deep in the app
Swap to the newly mounted image
This puts you back in the Finder in front of the newly mounted InstallESD.dmg, go back to Terminal and clone the BaseSystem.dmg to the remote USB drive
This will change ‘BootDisk‘ to ‘OS X Base System‘
Remove the existing Packages alias link from the newly restored image
Copy the full OSX Mavericks Packages over to the new image….takes a while
And there it is! – to eject the new bootable USB OSX Mavericks 10.9 disk ‘cd’ to home and eject
Now you can boot up from your newly bootable disk and either Install OSX10.9 on another device or use the Terminal/Disk Utility or Firmware Password Utilities on another device.
Windows and Mac, they both are designed with different companies with a different file system. Because of their File system, it seems to us that we can’t create bootable USB for macOS Mojave on Windows. And the same goes for mac, where we are thinking we can’t create bootable USB for Windows 10 in mac. However, if you have used the Mac operating system, then you know that you can create bootable USB for Windows in mac with terminal and some other applications. But if you have used windows you will find out that you are not even able to create bootable USB for macOS Mojave using CMD or PowerShell. However, if we compare the Terminal and PowerShell, Terminal is built upon the Linux Codes and Infrastructure. but PowerShell is built by mixing all Unix, CMD, Scripts and other kinds of stuff. Jeffery Snover the founder of PowerShell said that anyone can work on PowerShell based on their platform. it means that if you are a Linux user you can use PowerShell, just like you are using the Linux terminal. This way PowerShell seems to be Powerful but yet no one has achieved to create bootable USB for macOS Mojave on Windows. I bet that for programmers it is not a hard thing but they are not interested in that. It is we, the basic users who wish to use a different operating system.
So, enough of talk and let’s dive into creating bootable USB for macOS Mojave on Windows with TransMac, I hope it will be helpful for you.
Required Files:
- macOS Mojave Dmg File: In order to create bootable USB for macOS Mojave in windows 10, the first thing which is required is the macOS Mojave dmg File. If you have used a mac operating system, then you know that you can’t download macOS Mojave except for app store. I don’t know how, but programmers have decoded that from mac and uploaded the dmg file for windows users. Now windows user can download the macOS Mojave dmg file and they can use it to create bootable USB. And keep one more thing in your mind, if you visit any site download macOS Mojave iSO, then the flash won’t be bootable correctly. Because of those how are providing you the macOS Mojave ISO file, they have simply converted the macOS Mojave dmg file using PowerISO. Converting macOS Mojave dmg file to any other extensions requires a specific set of skills in the coding of an operating system. So, it is so rare that anyone put that much effort. However, I can’t predict if someone changes the macOS Mojave dmg to iSO in the future.
- 16 GB USB Flash: The macOS Mojave dmg file size is actually is 6.7 GB and at least it requires 8 GB of storage to extract the files. But since many users are facing errors, I would you recommend you to use a 16 GB USB Flash. And please make sure that the USB must be 3.0 because with USB 3.0 it takes 50 minutes to create bootable USB and I wonder How much time it would take for USB 2.0 to Create bootable USB.
- Transmac: TransMac is a software which is specifically built for windows users to mount, format, edit and create bootable for macOS. However there is also alternative software to TransMac but they are working best for Hackintosh file system (HFS), but since macOS high Sierra and macOS Mojave have Apple File system (APS), they can’t support it. Another thing which you must know about the TransMac, that TransMac is not free forever, it only provides you 15 days of trial. But After that, you have to purchase it.
Before creating bootable USB for macOS Mojave in windows 10 using TransMac, you have to download and Install TransMac. Installing TransMac is so simple and it does not require too much attention but in case if you don’t know How to Install. Follow the below procedures:
- Double click on the setup to launch the installation wizard.
- Click next, next, next, and next.
- Now click on the Install to copy the TransMac Files to your root drive.
- When the Installation is done, click Finish.
Step 1. Now Attach the USB Flash Drive to the Computer.
Step 2. Run TransMac as Administrator, if it is not given the full privileges it can’t create bootable USB for macOS Mojave.
Step 3. Right click on the USB and select format disk for mac.
How To Restore A Mac
Step 4. Once the disk is formatted for Mac, again right click and select Restore with Disk Image.
Step 5. Now the TransMac will warn that all files will be overwritten, so you have to click on the Yes and move to the next step.
Step 6. Now locate the macOS Mojave dmg file by clicking on the three dots.
Step 7. Once again it will warn you, that all the files will be overwritten, so you have to click yes.
How To Restore A Mac From Usb Dmg Terminal 7
Step 8. Have patients until the process of copying files should be complete, once it is done. Attach it to a computer and start installing macOS Mojave on PC.
Please keep in mind that the TransMac is only campable of creating a UEFI partition not legacy. If you are looing to create a legacy bootable USB Flash Drive you have to try using the Unibeast on Virtual Machine to create bootable USB.
How To Restore A Mac From Usb Dmg Terminal 2
Conclusion
That’s all with How to Create Bootable USB for macOS Mojave on Windows with TransMac? Well, if you have any question, suggestions, feedbacks please let us know.