The Cookie Machine - Click here to drag window

DUMMY TEXT - Real text set in assets/js/theCookieMachine.js

If you can read me, I'm broken!

Views: 346,152โ€…    Votes:  9โ€…
Tags: backup   dd   grub  
Link: ๐Ÿ” See Original Answer on Ask Ubuntu โง‰ ๐Ÿ”—

URL: https://askubuntu.com/q/1064000
Title: Moving entire Linux installation to another drive
ID: /2018/08/09/Moving-entire-Linux-installation-to-another-drive
Created: August 9, 2018
Upload: September 15, 2024    Layout:  post
TOC: false    Navigation:  false    Copy to clipboard:  false


Unlike the other answers this allows you to clone the Linux installation and have it added to Grub menu with your current installations intact. Additionally it automatically modifies /etc/fstab for you and updates grub boot menu.

A menu is provided to help you select the correct partition to clone to. The clone from partition is your current booted partition.

rsync is used for optimal speed should you choose to reclone the partition. This is beneficial if upgrade fails, you wait for bug fix and want to run upgrade again. Similarly you may have chosen wrong options during upgrade and want to do it again.

The full script can be found here: Backup/clone live to a new partition which can be booted5 and this is what the screen looks like:

clone-ubuntu.png

โ‡ง Cpufrequtils available frequencies Typing guillemets (angle quotes, ยซยป) in Russian and English keyboards  โ‡ฉ