Mac OS Recovery: How to Create a Mac Recovery USB and Recover Lost Data This guide will tell you how you can create an OS X Recovery USB drive with Recovery Disk Assistant in case of emergency and how to recover information on Mac for free with Recoverit. Apple released the new Mac OS X 10.10 Yosemite in the Mac App Store for everyone to download and install for free on October 16th, 2014, but downloading a 5+ GB file for each of your computers will take some serious time. The best thing to do is download it once and create a bootable install USB drive from the file for all of your Macs. Dec 05, 2016 In this tutorial I show you how you can create a boot drive for your Mac using the Mac's recovery system. This is the easiest and most practical way of creating a boot drive for your Mac. Dec 14, 2019 Creating a bootable USB installer on a mac computer is easy. You can use the build-in-mac-Terminal with few sample codes. However, if you don’t know how to use Terminal or you don’t have access to a functional mac computer, then you need to do it on a different operating system like Microsoft Windows or Linux.
![]()
Restore a full-disk .dmg file to a raw block device | 6 comments | Create New Account
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Restore a full-disk .dmg file to a raw block device
Wow, great hint. This is going to go to good use. Thanks!
Restore a full-disk .dmg file to a raw block device
Somehow I thought that was what the menu item Images -> Scan Image for Restore always did... but I suppose there has been at least one occasion where this may have actually been what I needed.
g= How To Restore A Mac
Happily, I've never found myself in a position where I needed to restore my backup image files, (made with Carbon Copy Cloner.) But I'd like to know the routine if I ever need to use it.
My question: since I back up separate partitions into separate disk image files, is this hint inapplicable to me? Does this hint only apply to backing up multiple partitions into a single disk image? (I had no idea it was even possible to backup multiple partitions to a single disk image...)
Restore a full-disk .dmg file to a raw block device
This is great. I was getting real frustrated with Disk Utility's non-specific error messages. This worked just like you said it would.
Restore a full-disk .dmg file to a raw block device
Great post. However, when I tried this I got a 'Resource busy' error.
In order to avoid this problem, you have to make sure the mac OS isn't 'using' the device first. To do this just open the DiskUtility.app, and on the target USB hard drive, unmount any of it's partitions. Make sure to not eject the USB hard drive so that the device is still available in DiskUtility and shows up in the result from 'diskutil list'.
Restore a full-disk .dmg file to a raw block device
Many thanks to you and daveosborne for your hints !
1) I'm currently dumping the content of a .dmg file to an external disk. 2) 'with an appropriate buffer size to copy over the whole block image, including partition table and boot sector' -> what do you mean by that and how can I determine which buffer size is appropriate ? -> how did you determine the 131072 size ? For my use I trusted blindly the example and used the bs=131072 option. Untill now it seems to be working... (it's still copying). I'm currenlty getting tons of lines on my terminal screen that look like : ... CZlibDecompressor::decompressData: src 0x02E4AA97 srcLen 116073 CZlibDecompressor::decompressData: dest 0x02E26000 destLen 262144 CZlibDecompressor::decompressData: src 0x02E61F0D srcLen 20723 CZlibDecompressor::decompressData: dest 0x02E26000 destLen 262144 ... with sometimes long series of ... CZlibDecompressor::decompressData: src 0x02E66B71 srcLen 1167 CZlibDecompressor::decompressData: dest 0x02E26000 destLen 262144 CZlibDecompressor::decompressData: src 0x02E66B71 srcLen 1167 CZlibDecompressor::decompressData: dest 0x02E26000 destLen 262144 ... I notice the destLen (I suppose it means block destination length) 262144 is exactly the double of the bs=131072 that was used before. I'm curious if anyone can help me understand this. Does this mean the source data is sparsed over the destination disk by blocks of 131072 or 262144 bytes, thereby fragmenting the disk ? In your replies, please kindly take into account that I'm a French newbie with a fair level of ignorance of OSX command line technical slang, however not completely ignorant with computers either (one piece of paper even says I'm an engineer :), it's just that I don't understand what the buffer size technically means here. Many thanks in advance for your insights !
Bootable USB Installers for OS X Mavericks, Yosemite, El Capitan, and Sierra
First, review this introductory article: Create a bootable installer for macOS. Second, see this How To outline for creating a bootable El Capitan installer. Simply replace the Terminal command with the one from the preceding article by copying it into the Terminal window. You will need an 8GB or larger USB flash drive that has been partitioned and formatted for use with OS X.
Drive Partition and Format
Create Installer
Open the Terminal in the Utilities' folder. Choose the appropriate command line (in red) depending upon what OS X installer you want. Paste that entire command line from below at the Terminal's prompt:
Command for macOS High Sierra:
How To Restore A Mac From Usb Dmg Terminal 1
sudo /Applications/Install macOS High Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/MyVolume --applicationpath /Applications/Install macOS High Sierra.app
Command for macOS Sierra:
sudo /Applications/Install macOS Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/MyVolume --applicationpath /Applications/Install macOS Sierra.app
Command for El Capitan:
sudo /Applications/Install OS X El Capitan.app/Contents/Resources/createinstallmedia --volume /Volumes/MyVolume --applicationpath /Applications/Install OS X El Capitan.app
![]()
Command for Yosemite:
How To Restore A Mac From Usb Dmg Terminal 2
sudo /Applications/Install OS X Yosemite.app/Contents/Resources/createinstallmedia --volume /Volumes/MyVolume --applicationpath /Applications/Install OS X Yosemite.app
Command for Mavericks:
How To Restore A Mac From Usb Dmg Terminal 3
sudo /Applications/Install OS X Mavericks.app/Contents/Resources/createinstallmedia --volume /Volumes/MyVolume --applicationpath /Applications/Install OS X Mavericks.app
How To Restore A Mac From Usb Dmg Terminal 7
Press RETURN. You will be asked for your admin password. It will not echo to the Terminal window. Then press RETURN again. Wait for the return of the Terminal prompt signifying the process has completed. It takes quite some time to finish. Be patient.
Sep 13, 2018 1:16 PM
Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |