Thursday, September 1, 2011

Mac OS X clone

Mac OS X clone
Bootable Copies proven system to create installations

A proven system installation should be duplicated to them on a new
computer, a new hard disk or a disk crash can apply for. With the right
program for free is not rocket science.
Under the classic Mac OS, the system could simply duplicate the
directory page. On Mac OS X, the Finder of this task is no longer grown,
he shows many of the relevant files only and does not get tangled up
sometimes even with different access rights. Were allowed to reside even
earlier classic multiple systems on one partition, any Mac OS X
installer now asks its own.
The term "partition" are many Mac users are not familiar, such as Apple
technical issues as far as possible kept away from them. Any Mac disk is
divided into several partitions from the factory - for example on
x86-based Macs or driver for the Extensible Firmware Interface (EFI).
The finder but shows only one: it is the drive, also called volume that
appears on the desktop. The other partitions are usually not interesting
for users. Even the Disk Utility in Mac OS X, they will not show, but
only the partitions that can present the finder as a drive.
Since Mac users anyway so have generally only one partition in the
access, imaging programs that write to the Windows world, the contents
of entire hard drives or partitions in a disk image, were not on the Mac
a long time is required. We simply have a system to an external disk
copies. It then started even on other Mac models without problems. Also,
a Mac OS X installer will start at different Mac-types, namely, it
brings in the / System / Library / Extensions with all drivers to use
any OS X-compatible Macs. So many are ultimately not in comparison to
the diversity of the rest of the computer hardware world. You have no
chance of success only if one tried to start a PowerPC Mac taken over by
a system on an x86 Mac. Unlike applications that can run natively on
both architectures as universal binaries, the operating system does not
lie in front of this form.
The main tasks of the Disk Utility (FPDP) Mac OS X are the partitioning
and formatting hard drives, and checking of file systems. It can also
write the contents of a partition to an image file. This is chosen in
the left pane of the secured partition and click on the "New Image".
Alternatively, in the File menu, select "Image from diskxyz" button. As
image formats are "Read Only" and "Compressed" to choose from. In both
FPDP transmit only the actual occupied space on a partition in the
image. A compressed image takes up less space on the disk, but it takes
longer to create it.
Thus FPDP can reconstruct a partition contents from an image, you must
have write before, "Image check for restoring" with (menu "Images")
checksums for the restore procedure in the image.
To restore the data, go to the tab "Recovery" and enter there in the
"Source" image. It may also be an image that is accessible via an HTTP
URL on a Web server. In the "Target Media" drag the mouse from the list
of drives and partitions in the left pane of the window into a partition.
The Disk Utility in Mac OS X duplicated system installations over the
detour of image files.
In testing the proposed restoration inexplicably always fail again if
the image was on a partition on the same disk as the target partition.
Also, the protocol ("Protocol Show" in the menu
"Window") did not help. Lay the image on another drive worked, FPDP
without objection.
The Disk Utility can not transfer an entire hard disk including the
partition structure in a step to a new plate. Therefore you have to
manually partition the new drive first and then duplicate the data
partition basis. Also, the direct transfer of data without having to use
an image does not work, although this is the background of FPDP used
command-line tool asr dominated very well.
You can asr in the program "Terminal" tell a one-liner to write a
one-to-1 partition to another:
sudo asr - source / Volumes / Data - target / Volumes / backup - erase
transfers the contents of the partition "Data" partition to "fuse". What
mount point - this is the specified / Volumes / Name - belongs to a
partition, reveals FPDP. The option - erase causes that asr deletes the
target partition before the data transfer. Only with this option
switched asr in the fast block copy mode. The command sudo asr gives the
rights of the powerful super-user root, you need to confirm with your
password. As a source asr as FPDP accepts an image file, the
Prüfsummenschreiben must have been done before but also a restore.
After Duplizieraktion should be abandoned, despite the success message
appears to start from the newly recorded testhalber partition.
Otherwise, weigh yourself in a false sense of security and is determined
only in an emergency, that you are not suspected as a suitable medium in
the emergency access as well.
The "Carbon Copy Cloner" (CCC) is a free program that transfers the
contents of any partition (including system installations) on separate
partitions. The program knows a file and a block copy mode. In the file
copy mode ("Incremental backup of selected objects") the user has the
opportunity to determine, which files to duplicate the software for
another partition. This allows, for example music, images and video
files of individual user accounts except to save space. Here, however,
the extended access rights fall by the wayside (ACL Access Control
List). Since Mac OS X will not by default, uses the only comes into play
when they were turned on explicitly using the terminal or a utility. The
actual copying done on the Unix tool rsync.
At the request of Carbon Copy Cloner does the transfer individual files
to other partitions, but not copied in blocks.
One chooses the block copy mode ("Simple backup of all objects") are
copied, not individual files, but memory blocks of a disk, does CCC back
on asr and therefore can also duplicate partition only content, but not
full disk with the partition structures.
As target a copy action CCC also accepts image files. It can divide the
software image into CD sized morsels, about to be burned easily. For
PowerPC Macs, the author
Mike Bombich still the older version 2.3 of which, however, is only
capable of copying the file mode.
Temps
The backup program of Shirt Pocket SuperDuper does cost $ 28, the
function "Backup - all files" in the works but also an unlimited
executable demo version without restrictions and without a murmur
produced copies of a bootable system partition. This volume - which may
be an image - the demo version of SuperDuper erases always before a copy
operation. Only the registered version uses this to request a smart
update that writes only changed files. Even when copying "all" files,
the software can be smart and before temporary files as well off as the
system files that Mac OS X anyway creates new at every system startup.
The time limit running demo version of SuperDuper reproduced reliably
system installations.
SuperDuper uses its own copy engine, but also going file by file, but it
also extended privileges not forget. After work, SuperDuper on request
from the computer, so you can initiate a copy operation using
environmentally clear conscience at night.
Experienced Linux administrators swear dd for a variety of tasks on the
command line program. To duplicate a partition, it is somewhat limited
because it copied and unoccupied areas of a partition and makes no
resizing at different sizes of source and destination. If you copy this
example, a 160 GByte disk on a 250 GB drive, then the goal is just as
big as the original - and 90 GB are away.
For the special case that one wants to duplicate an entire hard disk
including the partition structure on a disk the same size, but you can
certainly access to dd:
sudo dd if = / dev/disk1 of = / dev/disk2 bs = 512k
increases as the source (if = input file) the device / dev/disk1 and
copy its data to / dev/disk2 (of = output file). It does not matter
whether it is in the internal drives to disk or to act via a USB or
FireWire-connected. Image files are even possible. Dd to make a little
leg, the size of transmitted blocks is set to 512KByte (bs = block size).
Which disk is assigned to a device, you can issue the command
diskutil list
or remove the information dialog of a disk in Disk Utility (entry "Disk
Identifier").
Dd should refuse with the error message "resource busy" the service,
then you must remove the plates from the desk yet.
Even after using dd, you should ensure, for example by launching the new
drive, that everything is working properly. Will the Mac does not
partout start from from a copied system, it helps either to select the
drive in System Preferences as the "Startup Disk", or when starting the
computer by holding down the Alt key to open the boot menu and just this
once set the startup disk.

No comments:

Post a Comment