How to restore a disk image with Clonezilla (2024)

Published by JP Novak on April 5, 2024 and last updated on April 11, 2024

This page is part of a tutorial that describes how to clone the contents of an M.2 SSD drive to another SSD when the computer motherboard has a single M.2 slot.

We saw earlier how to create an image of the original SSD with Clonezilla, then how to replace the existing M.2 SSD with a new one. Now we will see how to restore the image of the old SSD to the new one.

Please note that restoring the disk image will delete the contents of the destination disk. If you feel unsure about reproducing the steps, ask someone with good computer skills to help you. As always, the author and the website decline any responsibilities about the consequences of trying to reproduce these steps.

I turned on the PC and I accessed the motherboard’s Boot Manager to boot with the Sandisk USB disk with Clonezilla. As you can see in the following screenshot, the new M.2 SSD also appeared in the list as “CT1000P3SSD8” which meant that it had been recognized correctly by the motherboard.

How to restore a disk image with Clonezilla (1)

Clonezilla menu appeared and I chose the first entry in the list to load the “Clonezilla live” version with VGA resolution.

How to restore a disk image with Clonezilla (2)

The language menu appeared and I chose the English language, so that the screenshots in this tutorial could be understood by as many people as possible.

How to restore a disk image with Clonezilla (3)

The next menu was about the keyboard layout configuration, I kept the default one “American English” then clicked the “OK” button.

How to restore a disk image with Clonezilla (4)

Then I selected the “Start_Clonezilla” option and I clicked the “OK” button to start Clonezilla.

How to restore a disk image with Clonezilla (5)

I had previously backed up the contents of the old M.2 SSD in a Clonezilla image, so I chose the “device-image” mode so I could restore that image to the new drive.

How to restore a disk image with Clonezilla (6)

I then chose the “local_dev” option because the image to restore was on a local disk of the computer.

How to restore a disk image with Clonezilla (7)

I had saved the original M.2 SSD disk image on one of the other internal PC hard drives and I didn’t need to connect an external USB disk. Therefore I pressed the “Enter” key to continue.

How to restore a disk image with Clonezilla (8)

Clonezilla presented a list of detected disks and I pressed the Control and C keys to proceed to the next step.

How to restore a disk image with Clonezilla (9)

Clonezilla then asked for the device containing the disk images. I had previously saved the original M.2 SSD image in the sdc1 disk. Therefore I selected it and I clicked the “OK” button.

How to restore a disk image with Clonezilla (10)

I did not need to use “fsck” to check and repair this disk because it had Windows NTFS partitions, so I chose the “no-fsck” option and I clicked “OK”.

How to restore a disk image with Clonezilla (11)

Then I selected the “Clonezilla” directory that contained the original M.2 SSD disk image.

How to restore a disk image with Clonezilla (12)

I clicked on the “Done” button to go to the next screen.

How to restore a disk image with Clonezilla (13)

As can see in the next screenshot, Clonezilla then mounted the /dev/sdc1 disk with the “Clonezilla” directory as /home/partimag so that it could use it. I pressed the “Enter” key to continue.

How to restore a disk image with Clonezilla (14)

Clonezilla user interface will give access to more or less options depending on the mode selected in this screen. I selected Clonezilla’s “Beginner” mode because I didn’t need to use the advanced options.

How to restore a disk image with Clonezilla (15)

The next Clonezilla menu presented a list of actions or “modes” available, I chose “restoredisk” in order to restore the backup of the old M.2 SSD to the new one.

How to restore a disk image with Clonezilla (16)

The Clonezilla image directory had a single disk image, created earlier to back up the old M.2 SSD. I selected it and I clicked the “OK” button.

How to restore a disk image with Clonezilla (17)

The next step was to select the destination disk to which the image would be restored. Please note that all partitions and data on this disk will be erased during the restoration. So be sure to choose the right disc! The new M.2 SSD was identified here as “nvme0n1”, I selected it and I pressed the “OK” button.

How to restore a disk image with Clonezilla (18)

In the next screen, Clonezilla asks about the mode to create the partition table on the target disk. The default option is to use the partition table of the original disk using information from the source image file. It is also possible to create the partition table proportionally in order to fill the entire disk. I chose the first option so as not to change the size of the disk partitions. I would expand the size of the C: volume later using Microsoft’s tools once the disk image restoration is complete.

How to restore a disk image with Clonezilla (19)

The next screen is used to specify whether to check or not the integrity of the image to ensure that it can be restored. It was not necessary here because Clonezilla had already checked it right after creating the image and therefore I chose the second option “-scr” to skip the check. Anyway you can choose the first option if you are unsure.

How to restore a disk image with Clonezilla (20)

In the next screen Clonezilla’s wizard asks about what to do once the image has been restored: use a command line, reboot or shut down the computer. I chose the first option “-p choose” in order to decide it later.

How to restore a disk image with Clonezilla (21)

Clonezilla then displays the command line it is going execute based on the selected options, that will allow you to execute it manually later if necessary. I pressed the “Enter” key to launch the restore process.

How to restore a disk image with Clonezilla (22)

Restoring the image results in the deletion of partitions and data from the destination disk, and it is not possible to recover them (unless you have a backup copy of the destination disk). Therefore, Clonezilla asks for confirmation before performing the image restoration.

How to restore a disk image with Clonezilla (23)

And to ensure that you are fully aware of the consequences for the destination disk, Clonezilla asks for a second confirmation before running the command line and starting the restoration.

How to restore a disk image with Clonezilla (24)

Clonezilla then erased the partition table of the destination disk.

How to restore a disk image with Clonezilla (25)

And it started to restore the different partitions of the original disk image to the destination disk. First, it restored a small NTFS system partition.

How to restore a disk image with Clonezilla (26)

Then it restored the second partition, a FAT32 partition with a size of 100 MB.

How to restore a disk image with Clonezilla (27)

Finally Clonezilla restored the third partition with the C: volume (and Windows 10 installation) which had a size of approximately 256 GB. It took a bit less than 42 minutes for this one, the amount of time depends mostly on the amount of data to restore and the disks speed.

How to restore a disk image with Clonezilla (28)

Clonezilla later restored the disk boot sector.

How to restore a disk image with Clonezilla (29)

And after that, it checked the sizes of the partitions but it did not modify them because I had previously selected to keep the original partitions size.

How to restore a disk image with Clonezilla (30)

Clonezilla then performed some maintenance tasks for the NTFS partitions of the new disk.

How to restore a disk image with Clonezilla (31)

After that it checked the different partitions to update information for a possible Linux installation, which it didn’t find here because the cloned disk only had a Windows 10 installation.

How to restore a disk image with Clonezilla (32)

Clonezilla then updated the entry in the motherboard’s UEFI BIOS memory so that it could boot the computer with the Windows installation on this new disk.

How to restore a disk image with Clonezilla (33)

This was the last step of the M.2 SSD image cloning process. I pressed the “Enter” key to continue.

How to restore a disk image with Clonezilla (34)

Finally Clonezilla asked to select what it should do now. I selected the first entry “poweroff” in order to power off the computer.

How to restore a disk image with Clonezilla (35)

Once the computer turned off, I removed the USB flash disk with Clonezilla then I turned the computer back on and entered into the UEFI BIOS to check if it was properly configured to use Windows Boot Manager with the new SSD. Which was indeed the case. Please note that the user interface and options will depend on the motherboard BIOS.

How to restore a disk image with Clonezilla (36)

Finally I restarted the computer using the BIOS “Save & Exit” menu.

How to restore a disk image with Clonezilla (37)

Windows 10 Pro then booted from the new M.2 SSD without any problems and after a few seconds I had access to all the documents and software from the original disk. This meant that the SSD disk cloning operation had gone perfectly, Great 🙂 ! I still had to expand the partition size of volume C: in order to benefit from the additional storage space of this new disk. But we will see how to do that in the next page of this tutorial.

Disclaimer

The information contained in this Website is for general information purposes only. We try to keep this information up to date and correct but we make no warranties of any kind about the completeness, accuracy, reliability with respect to the website, the information or the graphics contained on the website for any purpose. Any reliance you place on such information is strictly at your own risk. In no event will we be liable for any loss or damage whatsoever from the use of this Website.

The post How to restore a disk image with Clonezilla appeared first on EatYourBytes.
How to restore a disk image with Clonezilla (2024)

References

Top Articles
Latest Posts
Article information

Author: Dong Thiel

Last Updated:

Views: 6651

Rating: 4.9 / 5 (79 voted)

Reviews: 86% of readers found this page helpful

Author information

Name: Dong Thiel

Birthday: 2001-07-14

Address: 2865 Kasha Unions, West Corrinne, AK 05708-1071

Phone: +3512198379449

Job: Design Planner

Hobby: Graffiti, Foreign language learning, Gambling, Metalworking, Rowing, Sculling, Sewing

Introduction: My name is Dong Thiel, I am a brainy, happy, tasty, lively, splendid, talented, cooperative person who loves writing and wants to share my knowledge and understanding with you.