Skip to content
Advertisement

How to backup laptop SSD with UEFI [closed]

I have an Acer Aspire R laptop with 260GB SSD, UEFI, Ubuntu and Windows 10 dual boot. How can I backup / clone / image the whole drive to be reinstalled on a new drive if current drive fails?

  1. Clonezillla: Will it backup all partitions (EFI, recovery, Ubuntu, swap, Windows) to external drive, so I can restore it to a new drive, no problem? Which file system should the external drive have?
  2. GParted: Or should I partition the external drive like the existing drive and copy the partitions with gparted?

Advertisement

Answer

You can use Clonezilla to make a bootable copy of the whole existing SSD with all of its partitions including Windows.

The boot menu comes from Grub2 and it gets created from templates in /etc/grub.d and settings from /etc/default/grub.

So, if your Clonezilla ISO file lives at /srv/iso/clonezilla-live-disco-amd64.iso and /srv directory lives in hard drive 0 in partition 13, then create a new executable file in /etc/grub.d, such as 40_clonezilla and put the following in it:

JavaScript

Then, run update-grub to regenerate your grub menu.

When you reboot, you will have a new boot option that boots from Clonezilla, and, from there, you can make a bootable copy of the existing hard-drive onto an external drive and overwrite whatever is already on that external drive.

All of this stuff, editing Grub templates and overwriting drives is quite dangerous and the penalty for getting something wrong is high.

User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement