Disk Utility User Guide
You can use Disk Utility to create a disk image, which is a file that contains other files and folders.
Plug the bootable installer into a compatible Mac. Use Startup Manager or Startup Disk preferences to select the bootable installer as the startup disk, then start up from it. Your Mac will start up to macOS Recovery. Learn about selecting a startup disk, including what to do if your Mac doesn't start up from it. Choose your language, if prompted. We run a small business and are all connecting and storing shared files on a 2TB Airport Time Capsule. One person's MacBook Pro continually shows up as a Sparse Disk Image Bundle on the Time Capsule and is taking up 1.32TB! A sparse image is a type of disk image file used on macOS that grows in size as the user adds data to the image, taking up only as much disk space as stored in it. Encrypted sparse image files are used to secure a user's home directory by the FileVault feature in Mac OS X Snow Leopard and earlier.
Note: You can burn information to a CD or DVD using the Burn command in the Finder. See Burn CDs and DVDs.
Create a blank disk image for storage
You can create an empty disk image, add data to it, then use it to create disks, CDs, or DVDs.
- In the Disk Utility app on your Mac, choose File > New Image > Blank Image.
- Enter a filename for the disk image, add tags if necessary, then choose where to save it.This is the name that appears in the Finder, where you save the disk image file before opening it.
- In the Name field, enter the name for the disk image.This is the name that appears on your desktop and in the Finder sidebar, after you open the disk image.
- In the Size field, enter a size for the disk image.
- Click the Format pop-up menu, then choose the format for the disk:
- If the disk image will be used with a Mac that has a solid state drive (SSD) and uses macOS 10.13 or later, choose APFS or APFS (Case-sensitive).
- If the disk image will be used with a Mac with macOS 10.12 or earlier, choose Mac OS Extended (Journaled) or Mac OS Extended (Case-sensitive, Journaled).
- If the disk image will be used with a Mac or Windows computer and is 32 GB or less, choose MS-DOS (FAT); if it’s over 32 GB, choose ExFAT.
- Lalo schifrin best of rar. To encrypt the disk image, click the Encryption pop-up menu, then choose an encryption option.
- Click the Partitions pop-up menu, then choose a partition layout.
- Click the Image Format pop-up menu, then choose an option:
- Sparse bundle disk image: Same as a sparse disk image (below), but the directory data for the image is stored differently. Uses the .sparsebundle file extension.
- Sparse disk image: Creates an expandable file that shrinks and grows as needed. No additional space is used. Uses the .sparseimage file extension.
- Read/write disk image: Allows you to add files to the disk image after it’s created. Uses the .dmg file extension.
- DVD/CD master: Changes the size of the image to 177 MB (CD 8 cm). Uses the .cdr file extension.
- Click Save, then click Done.Disk Utility creates the disk image file where you saved it in the Finder and mounts its disk icon on your desktop and in the Finder sidebar.
- In the Finder, copy your files to the mounted disk image, then eject it.
- Restore the disk image to a disk.For more information about disk image types, see the manual (man) page for hdiutil.
Create a disk image from a disk or connected device
You can create a disk image that includes the data and free space on a physical disk or connected device, such as a USB device. For example, if a USB device or volume is 80 GB with 10 GB of data, the disk image will be 80 GB in size and include data and free space. You can then restore that disk image to another volume.
- In the Disk Utility app on your Mac, select a disk, volume, or connected device in the sidebar.
- Choose File > New Image, then choose “Image from [device name].”
- Enter a filename for the disk image, add tags if necessary, then choose where to save it.This is the name that appears in the Finder, where you save the disk image file before opening it.
- Click the Format pop-up menu, then choose an option:
- Read-only: The disk image can’t be written to, and is quicker to create and open.
- Compressed: Compresses data, so the disk image is smaller than the original data. The disk image is read-only.
- Read/write: Allows you to add files to the disk image after it’s created.
- DVD/CD master: Can be used with third-party apps. It includes a copy of all sectors of the disk image, whether they’re used or not. When you use a master disk image to create other DVDs or CDs, all data is copied exactly.
- To encrypt the disk image, click the Encryption pop-up menu, then choose an encryption option.
- Click Save, then click Done.Disk Utility creates the disk image file where you saved it in the Finder and mounts its disk icon on your desktop and in the Finder sidebar.
Important: Don’t create a disk image of a disk that you believe to be failing or that contains corrupted information. The disk image may not serve as a reliable backup.
For technical information about creating a restore disk image, see the Apple Software Restore (ASR) manual (man) page. Fela kuti rar.
Create a disk image from a folder or connected device
You can create a disk image that contains the contents of a folder or connected device, such as a USB device. This method doesn’t copy a device’s free space to the disk image. For example, if a USB device or volume is 80 GB with 10 GB of data, the disk image will be 10 GB in size and include only data, not free space. You can then restore that disk image to another volume.
- In the Disk Utility app on your Mac, choose File > New Image, then choose Image from Folder.
- Select the folder or connected device in the dialog that appears, then click Open.
- Enter a filename for the disk image, add tags if necessary, then choose where to save it.This is the name that appears in the Finder, where you save the disk image file before opening it.
- To encrypt the disk image, click the Encryption pop-up menu, then choose an encryption option.
- Click the Image Format pop-up menu, then choose an option:
- Read-only: The disk image can’t be written to, and is quicker to create and open.
- Compressed: Compresses data, so the disk image is smaller than the original data. The disk image is read-only.
- Read/write: Allows you to add files to the disk image after it’s created.
- DVD/CD master: Can be used with third-party apps. It includes a copy of all sectors of the disk image, whether they’re used or not. When you use a master disk image to create other DVDs or CDs, all data is copied exactly.
- Hybrid image (HFS+/ISO/UDF): This disk image is a combination of disk image formats and can be used with different file system standards, such as HFS, ISO, and UDF.
- Click Save, then click Done.Disk Utility creates the disk image file where you saved it in the Finder and mounts its disk icon on your desktop and in the Finder sidebar.
For technical information about creating a restore disk image, see the Apple Software Restore (ASR) manual (man) page.
Create a secure disk image
If you have confidential documents that you don’t want others to see without your permission, you can put them in an encrypted disk image.
Note: If you want to protect the contents of the system disk, turn on FileVault using the FileVault pane of Security & Privacy Preferences.
- In the Disk Utility app on your Mac, choose File > New Image > Blank Image. Parallels desktop software.
- Enter a filename for the disk image, add tags if necessary, then choose where to save it.This is the name that appears in the Finder, where you save the disk image file before opening it.
- In the Name field, enter the name for the disk image.This is the name that appears on your desktop and in the Finder sidebar, after you open the disk image.
- In the Size field, enter a size for the disk image.
- Click the Format pop-up menu, then choose a format:
- If you’re using the encrypted disk image with a Mac computer using macOS 10.13 or later, choose APFS or APFS (Case-sensitive).
- If you’re using the encrypted disk image with a Mac computer using macOS 10.12 or earlier, choose Mac OS Extended (Journaled) or Mac OS Extended (Case-sensitive, Journaled).
- Click the Encryption pop-up menu, then choose an encryption option.
- Enter and re-enter a password to unlock the disk image, then click Choose.WARNING: If you forget this password, you won’t be able to open the disk image and view any of the files.
- Use the default settings for the rest of the options:
- Click the Partitions pop-up menu, then choose Single partition - GUID Partition Map.
- Click the Image Format pop-up menu, then choose “read/write” disk image.
- Click Save, then click Done.Disk Utility creates the disk image file where you saved it in the Finder and mounts its disk icon on your desktop and in the Finder sidebar. https://can-you-play-terraria-on-a-macbook-air0.peatix.com.
- In the Finder , copy the documents you want to protect to the disk image.
- If you want to erase the original documents so they can’t be recovered, drag them to the Trash, then choose Finder > Empty Trash.
When you’re finished using the documents on the secure disk image, be sure to eject the disk image. As long as it’s available on your desktop, anyone with access to your computer can use the documents on it.
To access the data in a disk image, double-click it. It appears on your desktop, and you can add, remove, and edit files on it just as you would with a disk.
See alsoAdd a checksum to a disk image using Disk Utility on MacVerify that a disk image’s data isn’t corrupted using Disk Utility on MacRestore a disk image to a disk using Disk Utility on MacConvert a disk image to another format using Disk Utility on Mac
The icon depicts an internal hard drive within a generic file icon. | |
Filename extension | |
---|---|
Internet media type | application/x-apple-diskimage |
Uniform Type Identifier (UTI) | com.apple.disk-image |
Developed by | Apple Inc. |
Type of format | Disk image |
Apple Disk Image is a disk image format commonly used by the macOS operating system. When opened, an Apple Disk Image is mounted as a volume within the Macintosh Finder.
An Apple Disk Image can be structured according to one of several proprietary disk image formats, including the Universal Disk Image Format (UDIF) from Mac OS X and the New Disk Image Format (NDIF) from Mac OS 9. An Apple disk image file's name usually has '.dmg' as its extension.
Features[edit]
Apple Disk Image files are published with a MIME type of application/x-apple-diskimage.
Different file systems can be contained inside these disk images, and there is also support for creating hybrid optical media images that contain multiple file systems.[1] Some of the file systems supported include Hierarchical File System (HFS), HFS Plus, File Allocation Table (FAT), ISO9660 and Universal Disk Format (UDF).[1][2]
Apple Disk Images can be created using utilities bundled with Mac OS X, specifically Disk Copy in Mac OS X v10.2 and earlier and Disk Utility in Mac OS X v10.3 and later. These utilities can also use Apple disk image files as images for burning CDs and DVDs. Disk image files may also be managed via the command line interface using the hdiutil utility.[3]
In Mac OS X v10.2.3, Apple introduced Compressed Disk Images[4] and Internet-Enabled Disk Images for use with the Apple utility Disk Copy, which was later integrated into Disk Utility in 10.3. The Disk Copy application had the ability to display a multilingual software license agreement before mounting a disk image. The image will not be mounted unless the user indicates agreement with the license.[5]
An Apple Disk Image allows secure password protection as well as file compression, and hence serves both security and file distribution functions; such a disk image is most commonly used to distribute software over the Internet.
History[edit]
Apple originally created its disk image formats because the resource fork used by Mac applications could not easily be transferred over mixed networks such as those that make up the Internet. Even as the use of resource forks declined with Mac OS X, disk images remained the standard software distribution format. Disk images allow the distributor to control the Finder's presentation of the window, which is commonly used to instruct the user to copy the application to the correct folder.
Apple Sparse Disk Image Media Player
A previous version of the format, intended only for floppy disk images, is usually referred to as 'Disk Copy 4.2' format, after the version of the Disk Copy utility that was used to handle these images.[1] A similar format that supported compression of floppy disk images is called DART.[1][6]
New Disk Image Format (NDIF) was the previous default disk image format in Mac OS 9,[1] and disk images with this format generally have a .img (not to be confused with raw .img disk image files) or .smi file extension. Files with the .smi extension are actually applications that mount an embedded disk image, thus a 'Self Mounting Image', intended only for Mac OS 9 and earlier.[7][2]
Universal Disk Image Format (UDIF) is the native disk image format for Mac OS X. Disk images in this format typically have a .dmg extension.[1]
File format[edit]
Apple has not released any documentation on the format, but attempts to reverse engineer parts of the format have been successful. The encrypted layer was reverse engineered in an implementation called VileFault (a spoonerism of FileVault).[8]
Apple disk image files are essentially raw disk images (i.e. contain block data) with some added metadata, optionally with one or two layers applied that provide compression and encryption. In hdiutil, these layers are called CUDIFEncoding and CEncryptedEncoding.[1]
UDIF supports ADC (an old proprietary compression format by Apple), zlib, bzip2 (as of Mac OS X v10.4), and LZFSE (as of Mac OS X v10.11)[9] compression internally.
Metadata[edit]
The UDIF metadata is found at the end of the disk image following the data. Color effects photoshop software free download. This trailer can be described using the following C structure.[10] All values are big-endian (PowerPC byte ordering)
The XML plist contains a
blkx
(blocks) key, with information about how the preceding data fork is allocated. The main data is stored in a base64 block, using tables identified by the magic 'mish'
. This 'mish'
structure contains a table about blocks of data and the position and lengths of each 'chunk' (usually only one chunk, but compression will create more).[10] The data and resource fork information is probably inherited from NDIF.Encryption[edit]
The encryption layer comes in two versions. Version 1 has a trailer at the end of the file, while version 2 (default since OS X 10.5) puts it at the beginning. Whether the encryption is a layer outside of or inside of the
blkx
metadata (UDIF) is unclear from reverse engineered documentation, but judging from the vfcrack
demonstration it's probably outside.[8]Utilities[edit]
There are few options available to extract files or mount the proprietary Apple Disk Image format. Some cross-platform conversion utilities are:
- dmg2img was originally written in Perl; however, the Perl version is no longer maintained, and the project was rewritten in C. It extracts the raw disk image from a DMG, without handling the file system inside. UDIF ADC-compressed images (UDCO) have been supported since version 1.5.[11]
- DMGEXtractor is written in Java with GUI, and it supports more advanced features of dmg including AES-128 encrypted images but not UDCO images.[12]
- The Sleuth Kit. Handles the DMG format, HFS+, and APFS.
![Software Software](https://upload.wikimedia.org/wikipedia/commons/thumb/d/d9/Sparse_file_(cs).svg/220px-Sparse_file_(cs).svg.png)
Apple Sparse Disk Image Media Markt
Most dmg files are unencrypted. Because the dmg metadata is found in the end, a program not understanding dmg files can nevertheless read it as if it was a normal disk image, as long as there is support for the file system inside. Tools with this sort of capacity include:
- Cross-platform: 7-zip (HFS/HFS+), PeaZip (HFS/HFS+).
- Windows: UltraISO, IsoBuster, MacDrive (HFS/HFS+).[13]
- Unix-like: cdrecord and
mount
(e.g.mount -o loop,ro -t hfsplus imagefile.dmg /mnt/mountpoint
).[14][15]
Tools with specific dmg support include: Mcgraw hill my math volume 2 5th grade answers 927 928.
- Windows:
- Transmac can handle both UDIF dmgs and sparsebundles, as well as HFS/HFS+ and APFS. It is unknown whether it handles encryption.[16] It can be used to create bootable macOS installers under Windows.[17]
- A free Apple DMG Disk Image Viewer also exists, but it is unknown how much what it actually supports.[18]
- Unix-like:
- darling-dmg is a FUSE module enabling easy DMG file mounting on Linux. It supports UDIF and HFS/HFS+.[19]
See also[edit]
References[edit]
- ^ abcdefg'hdiutil(1) Mac OS X Manual Page'. Archived from the original on 2016-05-14. Retrieved 2016-05-14.
- ^ ab'Mac OS X: Using Disk Copy disk image files'. Archived from the original on 2013-12-19. Retrieved 2013-04-25.
- ^
hdiutil(1)
– Darwin and macOS General Commands Manual - ^'Re: Some apps refuse to launch in 10.2.8! (OT, but very important)'. Archived from the original on 2014-01-17.
- ^'Guides'. Apple. Archived from the original on 2009-03-06. Retrieved 2010-10-27.
- ^'DART 1.5.3: Version Change History'. Archived from the original on 2013-12-19. Retrieved 2013-04-25.
- ^'Software Downloads: Formats and Common Error Messages'. Archived from the original on 2010-12-24. Retrieved 2009-05-06.
- ^ ab'VileFault'. 2006-12-29. Archived from the original on 2007-01-09. Retrieved 2010-10-27.
- ^Michael Tsai (2015-10-07). 'LZFSE Disk Images in El Capitan'. Archived from the original on 2017-04-09. Retrieved 2017-04-09.
- ^ ab'Demystifying the DMG File Format'. Archived from the original on 2013-03-17.
- ^'dmg2img'. Archived from the original on 29 November 2010. Retrieved 2010-10-27.
- ^'DMGExtractor'. Archived from the original on 2011-01-02. Retrieved 2011-01-03.
- ^MacDrive Features / Boot Camp / System Requirements /. 'MacDrive Home page'. Mediafour. Archived from the original on 4 October 2010. Retrieved 2010-10-27.
- ^'How To Convert DMG To ISO in Windows, Linux & Mac'. Archived from the original on 2010-03-07.
- ^'Convert DMG To ISO using PowerISO'. Archived from the original on 2009-05-02. Retrieved 2009-02-15.
- ^'About TransMac for Windows'. www.acutesystems.com.
- ^'Convert'. www.winytips.com. winytips. Retrieved 5 May 2020.
- ^Olivia Dehaviland (2015-03-03). 'Apple DMG Disk Image Viewer'. DataForensics.org. Archived from the original on 2015-04-02. Retrieved 2015-03-10.
- ^'darling-dmg'. darling-dmg. Retrieved 29 March 2015.
External links[edit]
- Apple Developer Connection A Quick Look at PackageMaker and Installer
- O'Reilly Mac DevCenter Tip 16-5. Create a Disk Image from a Directory in the Terminal
Retrieved from 'https://en.wikipedia.org/w/index.php?title=Apple_Disk_Image&oldid=979643441'