Clonezilla can save even the most adventurous computer enthusiasts!
It’s way past midnight and you’ve finally finished setting up your private email server. You lean back in your leather chair and apply the finally patch updates to your system. Just one reboot and you can finally succumb to the sleep deprivation of the past week. Your system reboots. And reboots. And reboots again. Goodbye mail exchange! Goodbye sleep!
If, like me, you’re apt to work long hours on a project only to make one mistake that crashes the system, you’ve already started to develop bags under your eyes. Thankfully, there a neat and secure method to backup and restore your systems when it’s time for experimentation.
Clonezilla is a partition and disk imaging programs that allows users to backup a complete clone of their system.
Clonezilla is available as a disk image for both 32-bit and 64-bit processors and can be booted from most CD/DVD or USB drives. Need to format a partition before restoring a cloned image? Clonezilla features a command line that gives you easy access to fdisk and other linux tools. Want to encrypt your backups to prevent pesky intrusion? Sturdy AES-256 encryption ensures you maintain sole access. Have multiple systems on your network? Clonezilla SE runs on your servers and can clone 40+ machines simultaneously!
Whether your a system admin, technician, or your parent’s personal fix-it guy, Clonezilla is definitely something worth stashing in your computer toolbox.
Download from the official site: http://clonezilla.org/
When it comes to playing games or developing software, Macs can be a real pain. Thankfully, Apple offers users the ability to boot both Windows and OSX using Boot Camp, but what about those of us that want to run a third Linux system?
First of all, this is going to take a while, so make sure you’re willing to spend a few hours without your precious Mac. Here is a list of what you’ll need to multi-boot your computer:
A Mac computer
A 64-bit Windows OS disk or image
(Optional) USB 2 flash drive or DVD
At least 55 GB of free space on your hard drive for Windows and additional space for other operating systems.
First off, you may want to make a backup of your files just in case the process fails. I suggest using Apple’s Time Machine backups, which you can access in the settings.
Grab a copy of a 64-bit Windows ISO. I suggest grabbing Windows 10 from Microsoft’s website: https://www.microsoft.com/en-us/software-download/windows10. (NOTE: You will have to have the latest version of Mac OSX installed in order to use Windows 10). It’s up to you to find a valid CD key for Windows, which you will need in order to receive important security updates from Microsoft. Open up Boot Camp Assistant and follow the directions. Once you select how much drive space to give Windows, YOU CANNOT CHANGE IT! For more info, check out Apple’s How-To: https://support.apple.com/en-us/HT201468.
After all our operating systems are installed, we’re going to need a convenient way to boot into any OS we want. rEFInd is an updated fork of rEFIt and is a boot manager for systems based on the Extensible Firmware Interface (EFI) and will present users with a nice graphical interface to log into their systems when the computer is booted.
Download the binary zip file: http://www.rodsbooks.com/refind/getting.html and extract the files into your downloads folder. It’s important that you extract the files now, because we will be accessing them in recovery mode later.
It really wouldn’t be a Mad Kat tutorial without breaking the nice system you just installed. Here’s the deal, OSX will only allow you to create a boot camp drive from a single partition. That’s no problem, assuming you haven’t used Disk Utility to partition your drive. However, we need another partition to house our Linux system. Anytime you use disk utility to resize your Mac’s partition, you will cause changes in the partition map and “break” Windows, making it impossible to boot into your boot camp.
Fear not! There is a solution!
First off, let’s break Windows. Boot into your Mac OSX and open up disk utility. Select your Mac partition and select “partition.” Make sure you give your Linux system enough drive space for the necessary files and for swap. Just leave the new partition type as the default. Apply the changes to your drive, and you should now have three partitions. Congrats! You can no longer boot into Windows!
Fixing Windows and Installing rEFInd
Let’s fix this mess. Shutdown your computer and boot into recovery (hold down command + R when the machine turns on). You should be presented with a list of options after recovery boots, which we will not be using. In the upper part of the screen, select Utilites>Terminal. We’re going to use the terminal to fix our Windows system and install rEFInd.
To fix Windows, first find the drive using diskutil and then make the Windows partition bootable again. Below, I am assuming that your hard drive is listed as /dev/disk0 and that windows is the 4th partition.
diskutil list *This will list out your disks*
fdisk -e /dev/disk0 *Now we edit the Master Boot Record*
p *List the partitions*
setpid 4 *Assuming that Windows is the 4th partition*
flag 4 *Marks windows to bootup at start*
p *The Windows partition should have an asterisk*
write *Writes changes to the MBR*
y *Accept the changes*
Windows should now boot. Next, we’re going to install rEFInd. First, we need to navigate to the file location where rEFInd is located and execute the refind-install script.
ls *This will list the files in the root directory*
cd "Macintosh HD"
cd "Your Account Name*
cd "Refind Folder"
./refind-install *Will begin installation*
At this point, you should be able to reboot your computer and see the rEFInd boot manager. Make sure that both your OSX and Windows systems boot and work. If everything is operating, you can now pick you favorite GNU/Linux system to install from a DVD or USB!