Mirroring and cloning your hard drive with Clonezilla

  
Clonezilla is a partitioning and disk cloning program for Linux, Free-Net-OpenBSD, Mac OS X, Windows and Minix. It supports all major file systems, including EXT, NTFS, FAT, XFS, JFS and Btrfs, LVM2, and VMWare's enterprise cluster file systems VMFS3 and VMFS5. Clonezilla supports both 32-bit and 64-bit systems, supports both legacy BIOS and UEFI BIOS, and supports both MBR and GPT partition tables. It's a great tool for a full backup of Windows systems and all the applications installed on it, and I like to use it to make backups of the Linux test system so that I can do it quickly after doing crazy experiments on it. Restore them. Clonezilla can also use the dd command to back up unsupported filesystems. This command can copy blocks instead of files, so you don't have to care about the filesystem. To put it simply, Clonezilla can copy anything. A quick description of blocks: A disk sector is the smallest addressable memory unit on a disk, and a block is a logical data structure consisting of a single or multiple sectors. Clonezilla is divided into two versions: Clonezilla Live and Clonezilla Server Edition (SE). Clonezilla Live is superb for cloning a single computer to a local storage device or network share. The Clonezilla SE is suitable for larger deployments and is used to quickly and multi-point clones of PCs across the network. Clonezilla SE is a magical software that we will discuss in the future. Today, we will create a Clonezilla Live USB stick, clone a system, and then restore it. Clonezilla and Tuxboot When you visit the download page, you will see a stable version and an optional stable release. There is also a beta version, if you are interested in helping to improve Clonezilla, then I recommend you use this version. The stable version is based on Debian and does not contain non-free software. The optional stable version is based on Ubuntu and includes some non-free firmware and supports UEFI secure boot. After you download Clonezilla, please install Tuxboot to copy Clonezilla to a USB stick. Tuxboot is a modified version of Unetbootin that supports Clonezilla; you can't use Unetbootin because it doesn't work. Installing Tuxboot is a bit of a headache, but Ubuntu users can easily install it via the Personal Package Archive (PPA): If you are not running Ubuntu and your distribution does not include the packaged Tuxboot version, then download the source tarball and follow Compile and install the instructions in the README.txt file. Once Tuxboot is installed, you can use it to create your compact, direct-boot Clonezilla USB stick. First, create a minimum of 200MB of FAT 32 partitions; Figure 1 (above) shows the use of GParted for partitioning. I like to use tags like "Clonezilla", which will let me know what it is. This example shows formatting a 2GB memory stick into a single partition. Then, start Tuxboot (Figure 2). Select “Pre-downloaded” then click the button with an ellipsis to select the Clonezilla file. It will automatically discover your USB stick, and you need to select the partition number to make sure it finds the correct one, in my case /dev/sdd1. Click OK, then click Exit when it is finished. It will ask if you want to reboot, don't worry, don't restart now. Now that you have a compact portable Clonezilla USB stick, you can use it anytime, anywhere. Creating a disk image Launch the Clonezilla USB stick on the computer you want to back up. The first thing that catches your eye is the regular boot menu. Boot to the default entry. You will be asked which language and keyboard to use, and when you get to the Clonezilla menu, choose to launch Clonezilla. Select the device image in the next level menu and go to the next screen. This screen is a bit confusing, with options such as localdev, sshserver, sambaserver, and nfsserver. Here is where you want to choose to copy the backup image. The target partition or drive must be the same size or even larger than the volume you are copying. If you choose localdev, then you need a local partition large enough to store your image. The attached USB hard drive is a nice, quick and simple option. If you choose any server option, you will need to be able to connect to the server and provide an IP address and log in. I will use a local partition, which means to choose localdev. When you choose local_dev, Clonezilla scans all stored storage copies, including hard drives and USB storage devices. Then it will list all the partitions. Select the partition where you want to store the image, then it will ask you which directory to use and list the directories. Select the directory you need and go to the next screen, which will show all the mounts and the used/available space. Press Enter to go to the next screen, please select beginner or expert mode. I choose the beginner mode. In the next screen, you can choose to save the disk, either choose to create an image of the entire hard disk, or create a partitioned image. Creating a partitioned image allows you to select a single partition. I want to choose a partition. On the next screen, it will ask you for the name of the new image. After accepting the default name or entering your own name, go to the next screen. Clonezilla will scan all your partitions and create a checklist where you can choose which one you want to copy. After the selection, on the next screen will let you choose whether to perform file system check and repair. I didn't have this patience, so I skipped it. On the next screen, you will be asked if you want Clonezilla to check your newly created image to make sure it is recoverable. Select “ is & rdquo; to ensure that nothing is lost. Next, it will give you a command line prompt. If you want to use the command line instead of the GUI, you must press Enter again. You will need to confirm again and enter y to confirm the copy. When creating a new image in Clonezilla, you can take a look at this friendly red, white and blue progress screen (Figure 3). When all is done, press Enter and select Restart, remember to unplug your Clonezilla USB stick. Start your computer normally, then check out your newly created Clonezilla image. You should see something like this: Restoring a Clonezilla image to restore an image is similar to creating an image. Start again with Clonezilla. After the same initialization step, select devimage, then on the localdev screen, select the location of the image you want to restore, either on the local device or on a network share. Then continue with the following steps to make sure your recovery image is correct and you have chosen the correct location. This article comes from [System Home] www.xp85.com
Copyright © Windows knowledge All Rights Reserved