Page 1 of 1

Software for copying drives

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

Doug

Re: Software for copying drives

Posted: Tue Feb 18, 2020 4:52 am
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 

Re: Software for copying drives

Posted: Tue Feb 18, 2020 7:55 am
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.

Re: Software for copying drives

Posted: Tue Feb 18, 2020 8:02 am
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.

Re: Software for copying drives

Posted: Tue Feb 18, 2020 10:07 am
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.

Re: Software for copying drives

Posted: Tue Feb 18, 2020 10:19 am
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.

Re: Software for copying drives

Posted: Tue Feb 18, 2020 10:37 am
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?

Re: Software for copying drives

Posted: Tue Feb 18, 2020 10:39 am
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"?

Re: Software for copying drives

Posted: Tue Feb 18, 2020 10:57 am
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.

Re: Software for copying drives

Posted: Tue Feb 18, 2020 11:56 am
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

Re: Software for copying drives

Posted: Tue Feb 18, 2020 1:43 pm
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.

Re: Software for copying drives

Posted: Tue Feb 18, 2020 1:44 pm
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!

Re: Software for copying drives

Posted: Tue Feb 18, 2020 1:56 pm
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.

Re: Software for copying drives

Posted: Tue Feb 18, 2020 7:10 pm
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.)

Re: Software for copying drives

Posted: Tue Feb 18, 2020 7:29 pm
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

Re: Software for copying drives

Posted: Tue Feb 18, 2020 7:50 pm
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.

Re: Software for copying drives

Posted: Tue Feb 18, 2020 9:41 pm
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.

Re: Software for copying drives

Posted: Tue Feb 18, 2020 9:58 pm
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.

Re: Software for copying drives

Posted: Tue Feb 18, 2020 11:57 pm
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?