- Create a disk image using Disk Utility on Mac
- Create a blank disk image for storage
- Create a disk image from a disk or connected device
- Create a disk image from a folder or connected device
- Create a secure disk image
- Как перенести Mac OS с одного диска на другой?
- Что необходимо сделать до переноса
- Режим Recovery
- Carbon Copy Cloner
- Restore a disk using Disk Utility on Mac
Create a disk image using Disk Utility on Mac
You can use Disk Utility to create a disk image, which is a file that contains other files and folders.
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.
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.
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.
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.
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.
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.
Источник
Как перенести Mac OS с одного диска на другой?
Всем привет, уважаемые читатели блога AFlife.ru! В этой статье я расскажу вам как клонировать Mac OS с одного диска на другой. Нужно это для того, чтобы при смене диска, например на диск большего объема, не устанавливать заново систему, все настройки, пароли, вкладки в браузере и так далее, а просто перенести все сразу и продолжить работу. Так же это может пригодиться если Вы хотите перейти с HDD на SSD или наоборот, с SSD на HDD.
Что необходимо сделать до переноса
Первое, что нужно сделать это подключить диск, на который мы собираемся переносить систему. Сделать это можно несколькими способами:
- Установить второй диск вместо оптического привода, так как с каждым днем оптический привод становится менее востребованным в современном мире флешек;
- Подключить его к док станции по USB.
После того как мы подключили диск, необходимо выбрать способ переноса данных. Это можно сделать с помощью встроенной утилиты Recovery, но лично у меня возникли проблемы с этим методом, потому что второй диск был меньшего объема. Второй способ — используя приложение Carbon Copy Cloner .
Если Вы переносите Mac OS на диск большего объема, то используйте режим Recovery, проблем возникнуть не должно.
Режим Recovery
Как я уже сказал ранее — это самый простой способ, потому что не нужно устанавливать никакой сторонний софт. После того как Вы подключили второй диск к Вашему компьютеру, необходимо его выключить и удерживая комбинацию клавиш «Command (⌘) — R» включить.
- После загрузки необходимо выбрать пункт «Дисковая утилита»;
- Кликнуть на новый диск, который мы недавно установили и на который хотим перенести Mac Os;
- В верхнем горизонтальном меню выбрать пункт «Восстановить»;
- В открывшемся окне указать диск на котором сейчас установлена система, то есть Ваш основной диск и нажать «Восстановить.
Начнется процесс клонирования дисков, останется запастись терпением, потому что процесс этот не быстрый.
Carbon Copy Cloner
Как я уже писал ранее, возникают такие случаи, по абсолютно неизвестным причинам, что не получается перенести Mac OS через режим Recovery, тогда нам на помощь приходит сторонний софт. Я использовал Carbon Copy Cloner. Ссылка ведет на сайт производителя, где можно скачать программу с бесплатным использованием на 30 дней.
У программы есть куча всяких настроек, но единственное что нам будет нужно сделать, это в открывшемся окне программы:
- В поле SOURCE выбрать диск, на котором у нас установлена Mac OS, обязательно проверьте чтобы ниже был выбран пункт — Copy All Files;
- В поле DESTINATION выбрать диск, на который мы хотим осуществить перенос системы;
- Нажать кнопку Clone.
Опять же стоит запастись терпением. Процедура проходит не быстро, потому что и диски с которых переносят систему в основном старые и медленные, да и объем файлов не маленький.
Если статья была полезна, поделитесь ей с друзьями, ну а если у Вас остались какие то вопросы, пишите в комментариях, будем разбираться! Так же мы подробно описали процедуру клонирования для операционной системы Windows.
Подписывайтесь на обновления блога, чтобы не пропустить интересные статьи. Всем удачи и пока!
Источник
Restore a disk using Disk Utility on Mac
You can restore a volume from another volume. When you restore from one volume to another volume, an exact copy of the original is created.
WARNING: When you restore one volume to another, all the files on the destination volume are erased. Before you restore a volume, copy any files on the destination volume that you want to save to a different volume.
In the Disk Utility app on your Mac, choose View > Show All Devices.
If Disk Utility isn’t open, click the Launchpad icon in the Dock, type Disk Utility in the Search field, then click the Disk Utility icon
.
In the sidebar, select the volume you want to restore, then click the Restore button .
This is the volume that is erased and becomes the exact copy.
Click the Restore pop-up menu, then choose the volume you want to copy.
Click Restore, then click Done.
You can also use Disk Utility in macOS Recovery to restore a volume. See the Apple Support article About macOS Recovery.
Источник