Software for copying drives

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
Doug B
Level 2
Level 2
Posts: 83
Joined: Sat Aug 22, 2015 2:03 am
Location: Canada

Software for copying drives

Post by Doug B »

Could someone pls. tell me what a good software is to copy my old ssd to my new ssd? Thanks.

Doug
User avatar
AZgl1500
Level 14
Level 14
Posts: 5102
Joined: Thu Dec 31, 2015 3:20 am
Location: Oklahoma where the wind comes sweeping down the plains
Contact:

Re: Software for copying drives

Post by AZgl1500 »

Doug B wrote:
Tue Feb 18, 2020 4:43 am
Could someone pls. tell me what a good software is to copy my old ssd to my new ssd? Thanks.

Doug
1st off, you really, really need to read the "forum rules" at the top of the page, BEFORE you create a thread asking for help.

you have not given us any useful information, as to how to try and help you.
what OS are you using?
Do you want that 'software' to run on windows, or Linux?

at a minimum use Terminal to execute this command inxi -Fxz

and highlight/copy/paste that output in between the </> brackets.
you do that by clicking on that " </> icon " at the top of the screen.

that will let us see what OS you are using.

This is a stripped down view of that command on my PC.

Code: Select all

$ inxi -Fxz
System:    Host: john-TUF-Gaming-FX705GM-FX705GM Kernel: 5.3.0-28-generic x86_64 bits: 64 compiler: gcc v: 7.4.0 
           Desktop: Cinnamon 4.4.8 Distro: Linux Mint 19.3 Tricia base: Ubuntu 18.04 bionic 
Linux Mint 19.3 Cinnamon
mintmdrescher
Level 1
Level 1
Posts: 31
Joined: Thu Jun 11, 2015 9:33 am

Re: Software for copying drives

Post by mintmdrescher »

If you want to clone a device or partition, 'dd' is your friend. Read the man page, block size is important with ssd's!
If you want to copy a file system's content (aka files & directories), use 'rsync', probably as root.
deepakdeshp
Level 18
Level 18
Posts: 8226
Joined: Sun Aug 09, 2015 10:00 am

Re: Software for copying drives

Post by deepakdeshp »

mintmdrescher wrote:
Tue Feb 18, 2020 7:55 am
If you want to clone a device or partition, 'dd' is your friend. Read the man page, block size is important with ssd's!
If you want to copy a file system's content (aka files & directories), use 'rsync', probably as root.
dd copies blank blocks too. Clonezilla live USB will copy only the used blocks. Search CZ tutorial to learn about it. The UI is rudimentary but the program works very well. You have to create CZ bootable USB to use the program.
If I have helped you solve a problem, please add [SOLVED] to your first post title, it helps other users looking for help, and keeps the forum clean.
Regards,
Deepak

I am using Mint 20 Cinnamon 64 bit with AMD A8/7410 processor . Memory 8GB
User avatar
AZgl1500
Level 14
Level 14
Posts: 5102
Joined: Thu Dec 31, 2015 3:20 am
Location: Oklahoma where the wind comes sweeping down the plains
Contact:

Re: Software for copying drives

Post by AZgl1500 »

mintmdrescher wrote:
Tue Feb 18, 2020 7:55 am
If you want to clone a device or partition, 'dd' is your friend. Read the man page, block size is important with ssd's!
If you want to copy a file system's content (aka files & directories), use 'rsync', probably as root.
unless you have intimate experience with the hardware involved, 'DD' is useless.

reading the 'man page' is not intuitive at all.
Linux Mint 19.3 Cinnamon
mintmdrescher
Level 1
Level 1
Posts: 31
Joined: Thu Jun 11, 2015 9:33 am

Re: Software for copying drives

Post by mintmdrescher »

You may be right, but for "copying drives", dd is exactly the software you want to use. All others use rsync.
But, may be Doug B has solved this issue somehow different in the meantime. I did not even recognize this was from years ago.

Cheers.
Lady Fitzgerald
Level 5
Level 5
Posts: 655
Joined: Tue Jan 07, 2020 3:12 pm
Location: AZ, SSA (Squabbling States of America)

Re: Software for copying drives

Post by Lady Fitzgerald »

mintmdrescher wrote:
Tue Feb 18, 2020 10:19 am
You may be right, but for "copying drives", dd is exactly the software you want to use. All others use rsync.
But, may be Doug B has solved this issue somehow different in the meantime. I did not even recognize this was from years ago.

Cheers.
Hunh? Years ago? The first post is dated today.

My beef with using dd is I've seen umpteen versions of how to use it. How am I to know which one to use?
Jeannie

Linux Mint Cinnamon 19.3 Cinnamon 64 bit
System 76 Serval WS (serw11) 17" Laptop
Lady Fitzgerald
Level 5
Level 5
Posts: 655
Joined: Tue Jan 07, 2020 3:12 pm
Location: AZ, SSA (Squabbling States of America)

Re: Software for copying drives

Post by Lady Fitzgerald »

mintmdrescher wrote:
Tue Feb 18, 2020 7:55 am
If you want to clone a device or partition, 'dd' is your friend. Read the man page, block size is important with ssd's!
If you want to copy a file system's content (aka files & directories), use 'rsync', probably as root.
And where is this "man page"?
Jeannie

Linux Mint Cinnamon 19.3 Cinnamon 64 bit
System 76 Serval WS (serw11) 17" Laptop
User avatar
Flemur
Level 18
Level 18
Posts: 8630
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: Software for copying drives

Post by Flemur »

Lady Fitzgerald wrote:
Tue Feb 18, 2020 10:39 am
And where is this "man page"?

Code: Select all

man dd
Keep in mind that -
What documentation was actually written—the infamous Unix “man pages”—was really nothing more than a collection of reminders for people who already knew what they were doing.
https://web.mit.edu/~simsong/www/ugh.pdf
...so you're probably better off looking at some "how to use dd" articles on the intertubes.

Edit: FWIW, here's my 2 cents.
-- I only use dd to make bootable usb drives from iso files.
-- it runs faster if you add/change some parameters.
-- it's pretty simple but BE CAREFUL you can fry your system.
This is my standard dd copier:

Code: Select all

sudo dd bs=4M status=progress oflag=sync if=$1 of=$2
if = input file
of = output file. Sometimes they're partitions or disks rather than "files".
A real example (copies the iso file to a disk, effectively formatting it):

Code: Select all

sudo dd bs=4M status=progress oflag=sync if=linuxmint-19.3-xfce-64bit.iso of=/dev/sdc
bs=4M ... makes it run faster.
status=progress ... shows what it's doing
oflag=sync ... run 'sync' when it's done to flush data to disk.

Note the sudo and sdc - if you accidentally put sda instead of sdc, your computer disk is trashed. Hence, be careful.
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
Doug B
Level 2
Level 2
Posts: 83
Joined: Sat Aug 22, 2015 2:03 am
Location: Canada

Re: Software for copying drives

Post by Doug B »

mintmdrescher wrote:
Tue Feb 18, 2020 10:19 am
I did not even recognize this was from years ago.
Uhh-no. I posted this thread earlier today! .

Doug
Lady Fitzgerald
Level 5
Level 5
Posts: 655
Joined: Tue Jan 07, 2020 3:12 pm
Location: AZ, SSA (Squabbling States of America)

Re: Software for copying drives

Post by Lady Fitzgerald »

AZgl1500 wrote:
Tue Feb 18, 2020 10:07 am
mintmdrescher wrote:
Tue Feb 18, 2020 7:55 am
If you want to clone a device or partition, 'dd' is your friend. Read the man page, block size is important with ssd's!
If you want to copy a file system's content (aka files & directories), use 'rsync', probably as root.
unless you have intimate experience with the hardware involved, 'DD' is useless.

reading the 'man page' is not intuitive at all.
Now that I've seen the man page, I have to agree that it is not intuitive.
Jeannie

Linux Mint Cinnamon 19.3 Cinnamon 64 bit
System 76 Serval WS (serw11) 17" Laptop
Lady Fitzgerald
Level 5
Level 5
Posts: 655
Joined: Tue Jan 07, 2020 3:12 pm
Location: AZ, SSA (Squabbling States of America)

Re: Software for copying drives

Post by Lady Fitzgerald »

Lady Fitzgerald wrote:
Tue Feb 18, 2020 10:39 am
mintmdrescher wrote:
Tue Feb 18, 2020 7:55 am
If you want to clone a device or partition, 'dd' is your friend. Read the man page, block size is important with ssd's!
If you want to copy a file system's content (aka files & directories), use 'rsync', probably as root.
And where is this "man page"?
Thank you!
Jeannie

Linux Mint Cinnamon 19.3 Cinnamon 64 bit
System 76 Serval WS (serw11) 17" Laptop
pbear
Level 14
Level 14
Posts: 5416
Joined: Wed Jun 21, 2017 12:25 pm
Location: San Francisco

Re: Software for copying drives

Post by pbear »

Doug B wrote:
Tue Feb 18, 2020 4:43 am
Could someone pls. tell me what a good software is to copy my old ssd to my new ssd? Thanks.
Are you okay with Terminal? If so, this rsync method works nicely. Bear in mind that's a demo. You would have to adjust for your particular case.
bsmither
Level 2
Level 2
Posts: 54
Joined: Tue Jun 21, 2016 10:20 pm

Re: Software for copying drives

Post by bsmither »

Why isn't anyone mentioning Clonezilla or Macrium Reflect*?

(* It's Windows, sure, but once on a CD/USB, it will clone anything.)
Tricia - Cinnamon
Doug B
Level 2
Level 2
Posts: 83
Joined: Sat Aug 22, 2015 2:03 am
Location: Canada

Re: Software for copying drives

Post by Doug B »

pbear wrote:
Tue Feb 18, 2020 1:56 pm
Doug B wrote:
Tue Feb 18, 2020 4:43 am
Could someone pls. tell me what a good software is to copy my old ssd to my new ssd? Thanks.
Are you okay with Terminal? If so, this rsync method works nicely. Bear in mind that's a demo. You would have to adjust for your particular case.

Thanks for all the suggestions everyone-well most of htem anyway.

Think I'll use rsync
Lady Fitzgerald
Level 5
Level 5
Posts: 655
Joined: Tue Jan 07, 2020 3:12 pm
Location: AZ, SSA (Squabbling States of America)

Re: Software for copying drives

Post by Lady Fitzgerald »

bsmither wrote:
Tue Feb 18, 2020 7:10 pm
Why isn't anyone mentioning Clonezilla or Macrium Reflect*?

(* It's Windows, sure, but once on a CD/USB, it will clone anything.)
I've successfully cloned to a drive that was the same size as the source drive with Clonezilla (once, on the second attempt) but I haven't been able to get it to clone the source drive to a slightly smaller drive.

Macrium Reflect worked great for me in Win 7 but I never could get it to work properly in Mint using a rescue media made from both the free version and from a paid version.
Jeannie

Linux Mint Cinnamon 19.3 Cinnamon 64 bit
System 76 Serval WS (serw11) 17" Laptop
User avatar
AZgl1500
Level 14
Level 14
Posts: 5102
Joined: Thu Dec 31, 2015 3:20 am
Location: Oklahoma where the wind comes sweeping down the plains
Contact:

Re: Software for copying drives

Post by AZgl1500 »

bsmither wrote:
Tue Feb 18, 2020 7:10 pm
Why isn't anyone mentioning Clonezilla or Macrium Reflect*?

(* It's Windows, sure, but once on a CD/USB, it will clone anything.)
I use Macruim Reflect for copying any disk, regardless of OS.
It is super intuitive, as the GUI shows you exactly what is going to happen.

I have both a DVD version, and a thumb-drive version.

I hate Clonezilla with a Purple Passion, I have destroyed more disks with it than I want to remember.
it as bad as 'dd' when it comes to being unintuitive.
Linux Mint 19.3 Cinnamon
Lady Fitzgerald
Level 5
Level 5
Posts: 655
Joined: Tue Jan 07, 2020 3:12 pm
Location: AZ, SSA (Squabbling States of America)

Re: Software for copying drives

Post by Lady Fitzgerald »

AZgl1500 wrote:
Tue Feb 18, 2020 9:41 pm
bsmither wrote:
Tue Feb 18, 2020 7:10 pm
Why isn't anyone mentioning Clonezilla or Macrium Reflect*?

(* It's Windows, sure, but once on a CD/USB, it will clone anything.)
I use Macruim Reflect for copying any disk, regardless of OS.
It is super intuitive, as the GUI shows you exactly what is going to happen.

I have both a DVD version, and a thumb-drive version.

I hate Clonezilla with a Purple Passion, I have destroyed more disks with it than I want to remember.
it as bad as 'dd' when it comes to being unintuitive.
How the heck did you get it to work? I tried recovery USB sticks from both the free version and V6 paid version (set to Intellisector cloning) and couldn't get a clone that would boot.
Jeannie

Linux Mint Cinnamon 19.3 Cinnamon 64 bit
System 76 Serval WS (serw11) 17" Laptop
User avatar
powerwagon75
Level 4
Level 4
Posts: 278
Joined: Sun Feb 28, 2016 4:05 pm
Location: USA

Re: Software for copying drives

Post by powerwagon75 »

Lady Fitzgerald wrote:
Tue Feb 18, 2020 9:58 pm
...How the heck did you get it to work? I tried recovery USB sticks from both the free version and V6 paid version (set to Intellisector cloning) and couldn't get a clone that would boot.
I guess I’m the odd one, I like using dd. Used it one time to clone a near-dead hard drive on a work laptop that has Win XP on it for communicating with old equipment. (Isn’t used for any web connections.). dd’ed it to a new 7200 rpm spinner, and the cloning went fine. Put it in, and found “No bootable OS” error. Found the one thing that dd did not do, was copy the flags. Pulled it back out, and reconnected to my main system, and set the “boot” flag in gparted. Worked great after that. Maybe this would have been your case too?
Image
Custom tower w/Mint 18
HP laptop w/Mint 18
Acer w/W10/Mint 18.3
Macbook w/El Capitan/Mint 18.3
Optiplex 960 "Frankenbox" w/Fedora 30/Mint 18.3/Mint 19.2
Acer C720 Chromebook w/GalliumOS
Mac PPC G4 w/Lubuntu
Post Reply

Return to “Newbie Questions”