Создание образа загрузочной системы резервного копирования

Я успешно установил 20.04 и сделал много настроек. В случае трагедии мне не хотелось бы начинать все сначала. Есть ли простой способ (подходящий для нас, новичков) создать образ загрузочной флэш-накопителя настроенной системы, предпочтительно (но не обязательно), включающий пользовательские файлы, который я мог бы использовать для восстановления системы в ее текущем состоянии? Я работаю на настольном компьютере Dell XPS 410. Приношу свои извинения, если на этот вопрос уже был дан ответ. Спасибо.

3
задан 4 July 2020 в 13:31

2 ответа

Disks

I can confirm that it works to use Disks alias gnome-disks for this purpose. And it is easy to use in a correct way according to the instructions by C.S.Cameron.

Clonezilla

An alternative tool, that I use is Clonezilla.

  • Download the stable iso file and create a USB boot drive.
  • Boot into it and let the menu system guide you through the process.
  • You can clone directly to a new drive with at least the same size (not one single byte smaller).
  • But I prefer to create an image (in this case a directory with a set of files, where the big files are compressed).
  • Clonezilla is smart enough to only copy used blocks in the file systems, and skip free blocks. It will also skip swap partitions and unallocated drive space, but the boot sectors and partition table are copied (to separate small files in the Clonezilla image directory). This means that Clonezilla will be faster than a crude cloning tool like Disks, and the image will be smaller too.

I have used Clonezilla for years, and I am still using the 'Beginner Mode', which makes it fairly easy to do the correct thing every time. (I must admit that Disks is easier to use.)

Relevant advice for every method and tool, that you use for backup.

  • It is a good idea to check that you can restore from the image to a new drive. Otherwise you cannot be sure that the image can really be restored, and it might be too late when the original drive fails. So, get an extra drive with at least the same size as the original drive, and use the imaging tool [Disks or Clonezilla or ...] to restore from the image to that drive and test that the computer works as expected when the original drive is replaced by this new drive.

Warning

  • Never boot the computer with both the original drive and a cloned copy of it connected at the same time. If you do that, there will be confusion because there are pairs of identical partitions and file systems, and the boot system may choose to use them and write to them in a way, that both get damaged, so that they will no longer work.
2
ответ дан 30 July 2020 в 22:16

Создание образа системы резервного копирования загрузочного USB

  • Boot Live USB, подключите Source USB.

  • Откройте Gnome-Disks

  • Выберите диск, который вы хотите сделать резервную копию, слева.

  • Выберите значок, который выглядит как стопка блинов в правом верхнем углу.

enter image description here

  • Нажмите «Создать образ диска» и укажите место, в котором нужно сохранить образ.

enter image description here

  • Используйте значок блина, если вы хотите восстановить или клонировать изображение на другой диск.
4
ответ дан 30 July 2020 в 22:16

Другие вопросы по тегам:

Похожие вопросы: