I would like to know the best practices or at least the method to do the following things that I am working on.
I have installed triple-boot OS (Windows 7, RHEL Linux and Mac OS 10.6) on iMac 7 using the rEFit tool.
The goal I want to achieve is to make disk images of each of the partitions of the OS so that I can restore and install the images of them on other Mac machines.
I already made a Windows 7 image through a script that I wrote with help of ntfsclone. I would like to know how to create a Linux image and a Mac OS image.
Will vanilla dd
command like dd if=/dev/sda3 of=~/linux.img
do the job?
Mac OS partition can be imaged through the built-in disk utility as far as I know
Are the above methods workable to create a bootable image? Do I need to merge them somehow and if so, how? How can I include the EFI boot partition to make them bootable?