<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>System Recovery on KnightLi Blog</title>
        <link>https://knightli.com/en/tags/system-recovery/</link>
        <description>Recent content in System Recovery on KnightLi Blog</description>
        <generator>Hugo -- gohugo.io</generator>
        <language>en</language>
        <lastBuildDate>Tue, 23 Jun 2026 15:50:48 +0800</lastBuildDate><atom:link href="https://knightli.com/en/tags/system-recovery/index.xml" rel="self" type="application/rss+xml" /><item>
        <title>Clonezilla Restore Disk Image Guide: Restore a Backup Image to a Target Drive</title>
        <link>https://knightli.com/en/2026/06/23/clonezilla-restore-disk-image-guide/</link>
        <pubDate>Tue, 23 Jun 2026 15:50:48 +0800</pubDate>
        
        <guid>https://knightli.com/en/2026/06/23/clonezilla-restore-disk-image-guide/</guid>
        <description>&lt;p&gt;Clonezilla Live can restore a previously saved disk image to a drive. The official example restores the image &lt;code&gt;bookworm-2023-10-15-03-img&lt;/code&gt;, stored on the second disk &lt;code&gt;sdb&lt;/code&gt;, to the first disk &lt;code&gt;sda&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;Official document:
&lt;a class=&#34;link&#34; href=&#34;https://clonezilla.org/fine-print-live-doc.php?path=clonezilla-live/doc/02_Restore_disk_image&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;
    &gt;https://clonezilla.org/fine-print-live-doc.php?path=clonezilla-live/doc/02_Restore_disk_image&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This is useful for system recovery, batch deployment, lab rollback, or restoring a backup image to a new drive. Unlike copying files, &lt;code&gt;restoredisk&lt;/code&gt; restores the full disk structure, including partition table, boot-related information, and partition data.&lt;/p&gt;
&lt;h2 id=&#34;confirm-the-risks-first&#34;&gt;Confirm the risks first
&lt;/h2&gt;&lt;p&gt;Before restoring an image, confirm these points:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Data on the target disk will be overwritten.&lt;/li&gt;
&lt;li&gt;The image files must be complete and readable.&lt;/li&gt;
&lt;li&gt;The target disk should have enough capacity for the image.&lt;/li&gt;
&lt;li&gt;The source image and target disk must not be confused.&lt;/li&gt;
&lt;li&gt;For a system disk, BIOS/UEFI boot order may matter after restoration.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Clonezilla asks for confirmation twice before writing. Do not treat these confirmations as routine, especially when several disks or USB drives are connected.&lt;/p&gt;
&lt;h2 id=&#34;example-scenario&#34;&gt;Example scenario
&lt;/h2&gt;&lt;p&gt;The official example has two disks:&lt;/p&gt;
&lt;table&gt;
  &lt;thead&gt;
      &lt;tr&gt;
          &lt;th&gt;Device&lt;/th&gt;
          &lt;th&gt;Role&lt;/th&gt;
      &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
      &lt;tr&gt;
          &lt;td&gt;&lt;code&gt;sda&lt;/code&gt;&lt;/td&gt;
          &lt;td&gt;Target disk, the first disk to be restored&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;&lt;code&gt;sdb&lt;/code&gt;&lt;/td&gt;
          &lt;td&gt;Second disk that stores the Clonezilla image&lt;/td&gt;
      &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;The image directory is:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;div class=&#34;chroma&#34;&gt;
&lt;table class=&#34;lntable&#34;&gt;&lt;tr&gt;&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;lnt&#34;&gt;1
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;bookworm-2023-10-15-03-img
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;A Clonezilla image directory usually contains partition images, partition table data, disk information, hardware information, and metadata required for restore. The official example includes files such as &lt;code&gt;sda-mbr&lt;/code&gt;, &lt;code&gt;sda-gpt-1st&lt;/code&gt;, &lt;code&gt;sda-gpt-2nd&lt;/code&gt;, &lt;code&gt;sda1.vfat-ptcl-img.zst&lt;/code&gt;, and &lt;code&gt;sda2.ext4-ptcl-img.zst&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;Do not rename, move, or delete these files manually. When restoring, select the whole image directory, not a single compressed file.&lt;/p&gt;
&lt;h2 id=&#34;boot-clonezilla-live&#34;&gt;Boot Clonezilla Live
&lt;/h2&gt;&lt;p&gt;Boot the machine with a Clonezilla Live USB drive, CD, or other boot media.&lt;/p&gt;
&lt;p&gt;If needed, set USB or optical drive as the first boot device in BIOS/UEFI, or press the boot menu key during startup, such as &lt;code&gt;Esc&lt;/code&gt;, &lt;code&gt;F8&lt;/code&gt;, &lt;code&gt;F9&lt;/code&gt;, or &lt;code&gt;F12&lt;/code&gt;. The key varies by machine.&lt;/p&gt;
&lt;p&gt;In the Clonezilla Live boot menu, the default 800x600 mode is usually enough. If display problems occur, try safe graphic settings. On a high-resolution display, the large-font mode may be easier to read.&lt;/p&gt;
&lt;h2 id=&#34;enter-the-restore-flow&#34;&gt;Enter the restore flow
&lt;/h2&gt;&lt;p&gt;After booting, choose:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Select language.&lt;/li&gt;
&lt;li&gt;Select keyboard layout. The default is fine for a US keyboard.&lt;/li&gt;
&lt;li&gt;Choose &lt;code&gt;Start Clonezilla&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Choose &lt;code&gt;device-image&lt;/code&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;code&gt;device-image&lt;/code&gt; means backup or restore through image files, not direct disk-to-disk cloning. Disk-to-disk cloning uses &lt;code&gt;device-device&lt;/code&gt;, so do not choose the wrong mode here.&lt;/p&gt;
&lt;p&gt;Some Clonezilla menus require the space key for selection. The official document notes that when multiple choices are available, press &lt;code&gt;Space&lt;/code&gt;; a selected item will show &lt;code&gt;*&lt;/code&gt;.&lt;/p&gt;
&lt;h2 id=&#34;choose-the-image-repository&#34;&gt;Choose the image repository
&lt;/h2&gt;&lt;p&gt;Next, choose where the image is stored.&lt;/p&gt;
&lt;p&gt;The official example chooses:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;div class=&#34;chroma&#34;&gt;
&lt;table class=&#34;lntable&#34;&gt;&lt;tr&gt;&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;lnt&#34;&gt;1
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;local_dev
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;&lt;code&gt;local_dev&lt;/code&gt; is suitable when the image is on a second local disk, external drive, or USB drive. Clonezilla scans the local disks and partitions. If you have just inserted a USB drive or external disk, wait a few seconds for it to appear.&lt;/p&gt;
&lt;p&gt;When the device appears in the scan list, press &lt;code&gt;Ctrl-C&lt;/code&gt; to exit the scan report and continue.&lt;/p&gt;
&lt;p&gt;If the image is not on a local device, you can choose other methods such as sshfs, samba, nfs, WebDAV, S3, or OpenStack Swift. For personal recovery work, &lt;code&gt;local_dev&lt;/code&gt; is the most straightforward option.&lt;/p&gt;
&lt;h2 id=&#34;mount-the-partition-that-stores-the-image&#34;&gt;Mount the partition that stores the image
&lt;/h2&gt;&lt;p&gt;The official example selects &lt;code&gt;sdb1&lt;/code&gt; as the image repository, meaning the first partition on the second disk.&lt;/p&gt;
&lt;p&gt;Linux device names can be understood like this:&lt;/p&gt;
&lt;table&gt;
  &lt;thead&gt;
      &lt;tr&gt;
          &lt;th&gt;Name&lt;/th&gt;
          &lt;th&gt;Meaning&lt;/th&gt;
      &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
      &lt;tr&gt;
          &lt;td&gt;&lt;code&gt;sda&lt;/code&gt;&lt;/td&gt;
          &lt;td&gt;First disk&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;&lt;code&gt;sda1&lt;/code&gt;&lt;/td&gt;
          &lt;td&gt;First partition on the first disk&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;&lt;code&gt;sdb&lt;/code&gt;&lt;/td&gt;
          &lt;td&gt;Second disk&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;&lt;code&gt;sdb1&lt;/code&gt;&lt;/td&gt;
          &lt;td&gt;First partition on the second disk&lt;/td&gt;
      &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;If your image is on a USB drive or external disk, it may not be &lt;code&gt;sdb1&lt;/code&gt;; it could be &lt;code&gt;sdc1&lt;/code&gt; or &lt;code&gt;sdd1&lt;/code&gt;. Always judge by capacity, file system, and device model.&lt;/p&gt;
&lt;p&gt;Clonezilla asks whether to check the file system before mounting the device. The official example skips it, but if you suspect the image disk has issues, checking first is safer.&lt;/p&gt;
&lt;p&gt;Then choose the directory that contains the image. If the image is in the root of the partition, choose &lt;code&gt;/&lt;/code&gt;, use &lt;code&gt;Tab&lt;/code&gt; to select &lt;code&gt;Done&lt;/code&gt;, and press Enter.&lt;/p&gt;
&lt;h2 id=&#34;choose-restoredisk&#34;&gt;Choose restoredisk
&lt;/h2&gt;&lt;p&gt;After mounting the image repository, Clonezilla shows disk usage. Then choose:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;div class=&#34;chroma&#34;&gt;
&lt;table class=&#34;lntable&#34;&gt;&lt;tr&gt;&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;lnt&#34;&gt;1
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;Beginner
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;Then choose:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;div class=&#34;chroma&#34;&gt;
&lt;table class=&#34;lntable&#34;&gt;&lt;tr&gt;&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;lnt&#34;&gt;1
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;restoredisk
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;&lt;code&gt;restoredisk&lt;/code&gt; restores a disk image to an entire drive. It is different from restoring a single partition and is suitable for full system disk recovery.&lt;/p&gt;
&lt;p&gt;If you only want to restore one partition, do not choose &lt;code&gt;restoredisk&lt;/code&gt;; choose the corresponding partition restore mode instead.&lt;/p&gt;
&lt;h2 id=&#34;select-the-image-and-target-disk&#34;&gt;Select the image and target disk
&lt;/h2&gt;&lt;p&gt;First select the source image, such as:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;div class=&#34;chroma&#34;&gt;
&lt;table class=&#34;lntable&#34;&gt;&lt;tr&gt;&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;lnt&#34;&gt;1
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;bookworm-2023-10-15-03-img
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;Then select the target drive, such as:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;div class=&#34;chroma&#34;&gt;
&lt;table class=&#34;lntable&#34;&gt;&lt;tr&gt;&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;lnt&#34;&gt;1
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;sda
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;This is the most dangerous step. The source image is read. The target drive is overwritten.&lt;/p&gt;
&lt;p&gt;Before confirming, check three times:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Is this the image you want to restore?&lt;/li&gt;
&lt;li&gt;Is the target disk capacity and model correct?&lt;/li&gt;
&lt;li&gt;Is there any unbacked-up data on the target disk?&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;partition-table-and-image-integrity&#34;&gt;Partition table and image integrity
&lt;/h2&gt;&lt;p&gt;Clonezilla asks how to create the partition table on the target disk.&lt;/p&gt;
&lt;p&gt;The official document mentions two directions:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Use the partition table from the image.&lt;/li&gt;
&lt;li&gt;Create the partition table proportionally on the target disk.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;If the image was saved from a smaller disk and the target disk is larger, proportional creation may be convenient. But this affects the final partition layout, so do not change it casually if you are unsure.&lt;/p&gt;
&lt;p&gt;Clonezilla also asks whether to check image integrity before restoring. The official document recommends checking the image because the directory existing does not prove that the image is intact.&lt;/p&gt;
&lt;p&gt;If you are very sure the image is good, you can choose &lt;code&gt;-scr&lt;/code&gt; to skip checking. For most recovery scenarios, checking first is better, especially when the image comes from an external drive, network storage, or old backup.&lt;/p&gt;
&lt;h2 id=&#34;start-restoring&#34;&gt;Start restoring
&lt;/h2&gt;&lt;p&gt;After confirming options, Clonezilla displays the restore command. This command is useful for custom Clonezilla Live media or repeatable deployment workflows.&lt;/p&gt;
&lt;p&gt;If you chose to check the image, Clonezilla checks it first. After the check passes, it asks for confirmation twice before writing.&lt;/p&gt;
&lt;p&gt;During restore, Clonezilla writes the image back to the target disk, usually including:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;MBR and boot loader.&lt;/li&gt;
&lt;li&gt;Partition table.&lt;/li&gt;
&lt;li&gt;Data for each partition or logical volume.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Different file systems may be restored with different tools, such as &lt;code&gt;partclone&lt;/code&gt;, &lt;code&gt;ntfsclone&lt;/code&gt;, &lt;code&gt;partimage&lt;/code&gt;, or &lt;code&gt;dd&lt;/code&gt;. Ordinary users do not need to choose these manually; the important part is selecting the correct image and target disk.&lt;/p&gt;
&lt;h2 id=&#34;what-to-do-after-completion&#34;&gt;What to do after completion
&lt;/h2&gt;&lt;p&gt;After restoration, Clonezilla lets you choose:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Power off.&lt;/li&gt;
&lt;li&gt;Reboot.&lt;/li&gt;
&lt;li&gt;Enter command line.&lt;/li&gt;
&lt;li&gt;Start over.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;If this is a system disk restore, it is usually safer to power off, remove the Clonezilla boot media and image disk, then boot from the target disk.&lt;/p&gt;
&lt;p&gt;After booting, check:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Whether the system starts normally.&lt;/li&gt;
&lt;li&gt;Whether partitions match expectations.&lt;/li&gt;
&lt;li&gt;Whether important data exists.&lt;/li&gt;
&lt;li&gt;Whether BIOS/UEFI boot entries point to the correct disk.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;If the restored system does not boot, do not immediately redo everything. Check whether the boot mode is consistent, such as UEFI or Legacy BIOS, whether the target machine&amp;rsquo;s boot order is correct, and whether the ESP partition exists.&lt;/p&gt;
&lt;h2 id=&#34;short-advice&#34;&gt;Short advice
&lt;/h2&gt;&lt;p&gt;When restoring a disk image with Clonezilla, remember this flow:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;div class=&#34;chroma&#34;&gt;
&lt;table class=&#34;lntable&#34;&gt;&lt;tr&gt;&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;lnt&#34;&gt;1
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;device-image -&amp;gt; local_dev -&amp;gt; choose image repository -&amp;gt; Beginner -&amp;gt; restoredisk -&amp;gt; choose image -&amp;gt; choose target disk
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;Spend your attention on:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Did you choose the correct image repository?&lt;/li&gt;
&lt;li&gt;Did you choose the correct image directory?&lt;/li&gt;
&lt;li&gt;Did you choose the correct target disk?&lt;/li&gt;
&lt;li&gt;Should you check image integrity?&lt;/li&gt;
&lt;li&gt;Has the target disk data been backed up?&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Once these are confirmed, &lt;code&gt;restoredisk&lt;/code&gt; becomes much safer.&lt;/p&gt;
</description>
        </item>
        
    </channel>
</rss>
