Useful Tips

LiNX - solutions from professionals

Pin
Send
Share
Send
Send


You can create an empty disk image, add data to it, and then use it to create hard drives, CDs, or DVDs.

In Disk Utility on your Mac, choose File> New Image> Blank Image.

Enter a name for the disk image file, add tags if necessary, and then specify where to save it.

This is the name displayed in the Finder window at the location where the disk image file is saved before opening.

In the "Name" field, enter the name of the disk image.

This is the name displayed on the desktop and in the Finder side menu after opening the disk image.

In the Size field, enter the size of the disk image.

Click the Format pop-up menu, and then select the format for the drive:

If you will use the disk image with a Mac with an SSD and macOS 10.13 or later, select “APFS” or “APFS (Case sensitive).”

If you want to use the disk image with a Mac with macOS 10.12 or earlier, select "Mac OS Extended (Journaled)" or "Mac OS Extended (Case-sensitive, Journaled)."

If the disk image will be used on a Mac or Windows PC and its size does not exceed 32 GB, select MS-DOS (FAT), if the size exceeds 32 GB, select ExFAT.

To encrypt a disk image, click the Encryption pop-up menu, and then select an encryption option.

Click the Partitions pop-up menu, and then select a partition layout.

Click the “Image Format” pop-up menu, and then select an option:

Scattered batch disk image: similar to the growing image (below), however, directory data for the image is stored differently. The file extension is .sparsebundle.

Growing disk image: creating an expandable file that shrinks and grows as needed. No extra space required. The file extension is .sparseimage.

Disk image for reading and writing: After creating it, you can add files to the disk image. The file extension is .dmg.

DVD / CD Wizard: image size changes to 177 MB (CD 8 cm). The file extension is .cdr.

Click Save, then click Finish.

The disk utility will create a disk image file in the place where you saved it in the Finder and place the disk icon on the desktop and in the Finder side menu.

In the Finder window, copy the files to the mounted disk image, and then extract it.

See the man page for the hdiutil command for more information on disk image types.

Create a disk image from a disk or connected device

You can create a disk image that will contain data and free space available on a physical disk or a connected device - say, a USB device. For example, if the USB device or volume is 80 GB, of which 10 GB is data, then the disk image will be 80 GB in size and will include data and free space. Then this disk image can be restored to another disk.

In Disk Utility on your Mac, in the side menu, select a drive, volume, or attached storage device.

Choose File> New Image, and then choose Image From device name».

Enter a name for the disk image file, add tags if necessary, and then specify where to save it.

This is the name displayed in the Finder window at the location where the disk image file is saved before opening.

Click the Format pop-up menu and select the option you want:

Only reading: the disc image cannot be recorded. Such an image is created and opened faster.

Compressed: data is compressed, so the size of the disk image is smaller than the size of the original disk. The disk image is read-only.

Read / write: After creating it, you can add files to the disk image.

DVD / CD Wizard: can not be used with third-party applications. It includes a copy of all sectors of the disk image, regardless of whether they are used or not. When a DVD or CD is created using a master disk image, all data is copied exactly.

To encrypt a disk image, click the Encryption pop-up menu, and then select an encryption option.

Click Save, then click Finish.

The disk utility will create a disk image file in the place where you saved it in the Finder and place the disk icon on the desktop and in the Finder side menu.

Important! Do not create a disk image if it seems to you that it works with errors or contains corrupted information. Such a disk image cannot become a reliable backup.

For technical information on creating a recovery disk image, see the Apple Software Restore (ASR) manual page.

Create a disk image from a folder or connected device

You can create a disk image that will contain data from a folder or from a connected device, such as a USB device. When using this method, free space on the device is not copied to the disk image. For example, if the volume of the USB device or volume is 80 GB, of which 10 GB is data, then the disk image size will be 10 GB, and it will include only data, but not free space. Then this disk image can be restored to another disk.

In Disk Utility on your Mac, choose File> New Image, then choose Image from Folder.

In the dialog that opens, select the folder or connected device, and then click "Open."

Enter a name for the disk image file, add tags if necessary, and then specify where to save it.

This is the name displayed in the Finder window at the location where the disk image file is saved before opening.

To encrypt a disk image, click the Encryption pop-up menu, and then select an encryption option.

Click the “Image Format” pop-up menu, and then select an option:

Only reading: the disc image cannot be recorded. Such an image is created and opened faster.

Compressed: data is compressed, so the size of the disk image is smaller than the size of the original disk. The disk image is read-only.

Read / write: After creating it, you can add files to the disk image.

DVD / CD Wizard: can not be used with third-party applications. It includes a copy of all sectors of the disk image, regardless of whether they are used or not. When a DVD or CD is created using a master disk image, all data is copied exactly.

Hybrid image (HFS + / ISO / UDF): This disk image is a combination of disk image formats that can be used with different file system standards such as HFS, ISO, and UDF.

Click Save, then click Finish.

The disk utility will create a disk image file in the place where you saved it in the Finder and place the disk icon on the desktop and in the Finder side menu.

For technical information on creating a recovery disk image, see the Apple Software Restore (ASR) manual page.

Create a secure disk image

If you have documents that other users should not view without your permission, you can place them in an encrypted disk image.

Note. If you want to protect the contents of the system drive, enable FileVault in the "Protection and Security" panel in System Preferences.

In Disk Utility on your Mac, choose File> New Image> Blank Image.

Enter a name for the disk image file, add tags if necessary, and then specify where to save it.

This is the name displayed in the Finder window at the location where the disk image file is saved before opening.

In the "Name" field, enter the name of the disk image.

This is the name displayed on the desktop and in the Finder side menu after opening the disk image.

In the Size field, enter the size of the disk image.

Click the Format pop-up menu, and then select a format:

If you will use the encrypted disk image on a Mac with macOS 10.13 or later, select “APFS” or “APFS (Case sensitive).”

If you will use the encrypted disk image on a Mac with macOS 10.12 or earlier, select “Mac OS Extended (Journaled)” or “Mac OS Extended (Case-sensitive, Journaled).”

Click the Encryption pop-up menu, and then select an encryption option.

Enter the password twice to unlock the disk image, then click Select.

WARNING. If you forget this password, you will not be able to open the disk image and view the files stored in it.

For other parameters, set the default settings:

Click the "Partitions" pop-up menu, and then select "Single Partition - GUID Partition Layout".

Click the “Image format” pop-up menu, and then select “disk image for reading and writing”.

Click Save, then click Finish.

The disk utility will create a disk image file in the place where you saved it in the Finder and place the disk icon on the desktop and in the Finder side menu.

In the Finder window, copy the documents you want to protect to the disk image.

If you want to erase the original documents so that they cannot be restored, drag them to the Trash and choose Finder> Empty Trash.

When you finish working with documents stored in a protected disk image, be sure to remove the disk. While the image is on the desktop, anyone with access to your computer will be able to use the documents stored in it.

To access disk image data, double-click it. It will appear on the desktop, and you will be able to add, delete and edit files, as on a regular hard drive.

Create a bootable Mac OS disc. Reinstall Mac OS

Most users are faced with the problem of creating a boot disk for Apple computers when reinstalling the system.

This guide will help you create a boot disk and rearrange the system from scratch.

It is important to understand that with this method you will delete all files and programs from the computer. So pre-backup using Time Machine or save important files to an external drive. If you have many programs, utilities, and you want to make a clone of the hard drive, read the article how to make a clone of the hard drive Mac OS

If you need to save a large amount of data, or Safari bookmarks, mail, keychains, etc., contact our technical support.

Before proceeding with the reinstallation of the system, make sure that you have everything you need:

  • installation dmg system image 10.7 or later
  • flash drive at least 8 GB. A flash drive should not contain important files, because during the preparation we will have to format it. Or DVD DL (Dual Layer DVD)
  • We strongly recommend having an installation disk with iLife 11 because iPhoto, iMovie, iDVD, GarageBand are not installed with the system, but come as a separate package.

If you bought Mac OS X Lion or Mac OS Mountain Lion and you don’t have an image - don’t worry, you need to click on the operating system installer, which is located in the program folder, right-click (right-click on Mac OS) and click “ Show package contents »

In a new window, the contents of the installer will open. Go to the folder Contents-> SharedSupport and copy InstallESD.dmg to the desktop. This is your boot image.

With all the necessary sorted out. Now you need to carry out simple manipulations to prepare the installation flash drive or burn the installation image to a DVD DL disc.

Create a bootable Mac OS flash drive.

1) Open the Disk Utility program, which is located on the path Finder-> Programs-> Utilities

2) In the top menu, click File -> Open Disk Image, and select your system installation image

3) Insert the USB flash drive and make sure that it is displayed in the disk utility

4) Click on it and go to the "Disk Partition" menu

5) In the “Partition scheme” drop-down menu, select “Partition: 1”

6) A little lower is the "Options" button, click on it and check the box next to "GUID Partition Scheme"

7) And in the “Format” section, select the “Mac OS Extended (journal)” drive format as shown in the picture below, and then drive me to your discretion


10) Click on the “Apply” button for the changes to take effect. Recall: all data from the flash drive is deleted

Now we just have to clone the image to the USB flash drive. For this:

11) Go to the “Restore” tab and drag the USB flash drive to the “Destination” item, and the image to the “Source” item

12) Click the “Restore” button

13) The disk utility will warn that it will delete all data from the USB flash drive, we agree by clicking on the “Delete” button

Copying takes up to 20 minutes. Then you can start installing the operating system.

Create a bootable Mac OS disc.

In addition to a bootable flash drive, you can create a bootable disk with the system. In some cases, this option is easier, for example, if you don’t have a flash drive at hand or you often reinstall the system.

As written above for the boot disk, you will need:

  • installation dmg system image 10.7 or later
  • DVD DL disc (dual layer DVD disc)
  • We strongly recommend having an installation disk with iLife 11 because iPhoto, iMovie,> 1) Open the Disk Utility program, which can be found on the path Finder-> Programs-> Utilities

2) From the top menu, click the "Burn" button and select your installation image of the system

3) After a short preparation and verification of the disc, the “Burn” button will light up and you need to press it to start recording to the disc.

Install Mac OS from scratch

Now it's time to move on to installing the Mac OS.

1) Turn off the computer.

2) Turn on the computer holding the Alt button until the selection of boot volumes appears.

3) To boot from the installation flash drive, double-click on it and wait for the full download.

4) 2-3 minutes after selecting the boot volume, you will be prompted to select a language - choose a convenient one, for example Russian.

5) After a few seconds, you will see a window with utilities that will help you reinstall the operating system.

6) Launch Disk Utility and format the disk; for this, follow steps 4-10 of this manual, but not for a USB flash drive, but for an internal disk. Then close the program. As always I have to warn you that all your files, data, programs, etc. will be deleted. If you want to save the data, use the instructions on Configuring backup on Mac OS

7) Now you need a utility that is located a little higher - "Reinstall OS X". This is the last program that we need to use in our path to the reinstalled system. Run it and follow the instructions that will be displayed on the screen.

If you have any difficulties or questions - recruit our specialists, they will make every effort to help you.

Time machine

There are many ways. The first backup option for your system is built into MAC OS X itself, starting with version 10.5 and later. This is Time Machine.

Time Machine automatically creates backup copies of the system and all important files on the external hard drive and must "go back in time" to restore system files in their original form at the time you need it. If you enable Time Machine in the System Preferences, she herself will offer to create “backups” (backup copies) and ask for a directory to save them.

But Time Machine has a couple of drawbacks. The first of them - it very quickly eats up disk space. Although not completely. After creating the first backup, Time Machine continues to save only the modified files.

The second problem - automatic copying interferes with normal operation, starting by itself.

In order to somehow level this, we turn to an additional application that allows you to configure Time Machine itself.

This is TimeMachineEditor. You can download it here. TimeMachineEditor allows you to more flexibly configure the schedule of their procedures. For example, hourly on Mondays, daily after work, and so on.

Using this utility, we increase the intervals of “temporary jumps”, “curbing the appetite” of Time Machine itself, and adjust its backup sessions to a convenient schedule.

Thus, Time Machine has the ability to reserve your system in case of various failures and “roll back”, but it is cumbersome and not very convenient for this purpose. Including a “backup” disk is not bootable and requires a start from the Mac Os X installation disk for recovery.

Disk Utility

Another way to “grow” your “clone sheep” is to use a standard disk utility. By default, it lies in the Applications / Utilities folder.

We launch this application and select the name of your system disk, for example, X in the menu on the left. Now, drag the icon of your startup disk (X) into the window of the “Source” line and the disk icon into the “Destination” line, onto which will save your clone, for example, Backup. This can be an external FireWire- or USB-drive, as well as an internal hard drive or a USB flash drive of sufficient capacity.

If you need to pre-format this directory, switch to "Erase" (Erase). For external media, the format does not matter (as a rule, it’s Mac OS Extended Journaled), and for a Mac hard drive with an Intel processor, it is preferable to select the “GUID Partition Table”.

Now click “Restore” and enter your password. Go.

After a while, another “Dolly Sheep” will be born - an absolute copy of your system disk.

Теперь, если ваша Mac OS X фатально «обрушится», и никакие «лечилки» не помогут, можно повторить эту процедуру наоборот, заменив испорченную систему на вашу сохраненную копию.

Для этого нужно «стартануть» с самой запасной системы: включить ваш Мас, удерживая клавишу option, затем выбрать диск с готовым клоном в качестве загрузочного (в нашем примере Backup) и выполнить процедуру восстановления в обратной последовательности.

Но перед тем как это сделать, надо обязательно попробовать «вылечить» испорченную систему той же самой «Дисковой утилитой».

Select the “damaged” disk in the left menu (in our example it is X and in the “First Aid” section) perform the procedures: “Verify access permissions” (Verify Disk Permission) and, if necessary, do “Restore access rights” ( Repair Disk Permission) and, accordingly, “Verify Disk” - “Repair Disk”.

Indispensable help here can be provided by the familiar OnyX program.

Despite the simplicity of cloning using Disk Utility, this method has one drawback. Absolutely all information is copied. And if we are talking about a small spare disk, or even a flash drive at all? Files on them may simply not fit.

There are many possibilities for cloning your Dolly’s sheep. Up to using the command line according to instructions from Apple itself. Other utilities, such as SuperDuper !, Clone X, Tri-BACKUP or MacTuneUp, may seem more accessible to mere mortals. In my opinion, the most advanced among them, convenient and at the same time absolutely free, is called Carbon Copy Cloner.

Carbon copy cloner

Carbon Copy Cloner is manufactured by Bombich Software. You can download it here. Donations to developers (Donate) are welcome.

Mike Bombich, the creator of this wonderful program, in an interview with a popular American site, especially noted the “highlights” of his brainchild: the speed of the cloning process, the ability to selectively transfer data and additional protection against random actions in the form of a special list of all possible candidate disks with a request their ID (Unique Identifier).

Carbon Copy Cloner makes it possible to create a full or partial clone of your system by transferring it to another disk or saving it as a .dmg (disk image). In the latest versions of Carbon Copy Cloner, oriented to the Snow Leopard system, compression is supported in the HFS + file system, displaying the sizes of folders and disks in the decimal system has become much more convenient, the copy speed has increased, and Time Machine databases are ignored if they are already created.

Carbon Copy Cloner can be very useful when upgrading a system disk and replacing it with a larger one. It is enough to transfer the previously rejected system to a new disk.

Before you start creating a backup copy of your system, it would be nice to first clean out all the “garbage” that has accumulated in the system using the OnyX utility and put it in order.

Install Carbon Copy Cloner and run. If you need it during work, enter your usual password and unlock the “lock” at the bottom left.

In the upper left, in the Source Disk menu, select the one from which your system will be cloned (in our example, this is drive X).

At the top right, Target Disk, select the one on which the “twin” of your MAC OS X will be saved. (In our case, X2. It is important to note here that this utility has the ability to write the system in .dmg format and even to a remote computer over the network.

Now let’s take a look at another possibility of Carbon Copy Cloner: to create special filters to exclude some files from the clone by the sign of extension, for example .mkv or .avi, and then films of this format are not inclined. This will save space.

In order not to complicate our lives, we will try to manually do some preliminary procedures to facilitate a spare system and speed up the cloning process.

It is not necessary to back up your entire library to a backup copy of the system: digital photos, music, films, supporting documentation, and so on. As well as working files that can "weigh" more than one gigabyte. You can also abandon "heavy programs" if there is not enough space on the backup disk.

Find Items to be copied in the left window and watch carefully, disabling some checkmarks next to unnecessary files. If they are not stored randomly on your disk, then most likely these will be the Users / macuser directories (your username). For example, in this configuration, turn off the Calibrie Library (the base of libraries for reading) and the books contained in it. After all, they are already recorded on a separate DVD-ROM.

Then in the section on the right Cloning options (Cloning mode) select Incremental backups of selected items (incremental "backup" of selected items), this dynamic mode will allow you to transfer only changed data the next time you upgrade the backup system. The checkmark below Delete items that don’t exist on the source in synchronization mode will not “take along” old programs and other files that you no longer use.

Protect root-level items on the target will retain superuser mode if you are. And finally, Archive modified and deleted items will allow you to create a separate archive of modified and deleted files. In my opinion, it’s better to turn it off so as not to waste time.

In the event that Carbon Copy Cloner “gives the go-ahead” - This volume will be bootable - which means that there is enough space on the spare disk or flash drive, and this volume will become bootable, you can start.

All your presets will be saved if you click Save Task in case you are going to clone your disk according to a specific schedule, as in Time Machine. But to create a backup Mac OS X, this is hardly useful.

Click Clone.

How many files are stored on your system drive? It turns out tens of thousands. so the process can take some time: from fifteen minutes to an hour or two. It depends on the amount of information.

And so it ended. Now we have two “Dolly sheep” - mirrored Mac OS X. And you can be sure that you will not stay at the most inopportune moment with the “broken trough”.

Pin
Send
Share
Send
Send