06-07-2019, 10:35 PM
It is also useful to know that you can run this clone command to make 1:1 copy of your hard drive
Where x is your system drive and y is external drive. This will overwrite all data on the external drive and the external drive must be bigger or same size as your internal hard drive of course this will also save unnecessary files (system files, temp files, swap partition). for future upgrades I recommend you to make separate data and home partitions.
Code:
sudo dd if=/dev/sdx of=/dev/sdy