I assume the laptop runs Linux.    If so then you’d use  “dd” to clone the disk 
drive. “dd” is installed on every Linux system I’ve ever seem.  So you already 
have it.  This assumes you are copying it to an identical drive.

The trouble is that you can not have booted from the drive you are copying from 
because the OS will be writing to that drive as it is being copied.   So what 
you do is boot off the USB drive or if it is an older computer off the CDROM.   
 This way my assumption that you are running Linux is true because you would 
use a Ubuntu install image on the USB stick

Both drives need to be connected to the computer, the second one can be placed 
in a USB enclosure

Get to the command line and type dd if=/dev/sda of=/dev/sdb

SDA and SDB are place holders for the real names of the two drives, likely your 
drives have different names.  Do not swap the names of the drive or you will 
copy the empty drive over you data.  make a backup of you data first, then 
veriify you can read the backup, then clone the disk.  Rea the dd man page.  
Remember that “if" is “input file” or “of” is “output file"
For more info read the dd man page or Google “clone drive using dd”

All that said “cloning” the drive is not very usfull.  Betther to just backup 
the data and when the disk dies replace it with a better one (bigger, faster) 
reinstall the OS and then restore your data.  The clone will qickly become 
obsolite as you make changed and update software, best to just do a regular, 
noroaml backup.    My computers mostly have a continous backup runnig that 
copies changes in real time so I loose at most an hour’s work




> On May 10, 2024, at 2:10 AM, andrew beck <andrewbeck0...@gmail.com> wrote:
> 
> hey everyone
> 
> a bit off topic here
> 
> i have my main laptop that i want to clone the hard drive on it for a
> identical laptop for a backup
> 
> this is used for running the linuxcnc machines and programming drawing etc
> 
> anyway just want to know what software people prefer for disk cloning i
> have never done it before and i'm sure someone on here is a expert on it
> 
> cheers
> 
> andrew
> 
> _______________________________________________
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users


_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to