help neede to transfer backup.dd file from USB stick onto hard drive

Udo1603

Honorable
Feb 2, 2014
6
0
10,510
I have a CNC machine. A while back someone I no longer have ability to contact made a back up file of the entire harddrive onto a USB stick. File name is "backup.dd". Now the harddrive on the CNC machine died. I procured an exact same brand and size hard drive but don't know how to go about tranfering the data over. I am not a computer expert but like to learn and would appreciate help to find a 'step by step' instruction from possible formating the new drive all the way to fully functioning new drive.
 
The first thing I would do would be to make a backup of your dd file onto another drive.

Then you could use the dd command in Linux to restore the dd file to your drive. Assuming this backup is a complete sector-by-sector image of the entire physical HDD, then you won't need to do any partitioning or formatting.

Alternatively, if you are a Windows user, you might be able to use a disc editor such as DMDE to Copy Sectors from the flash drive to your HDD. I could help you do this.

I would start by using a hex editor (eg HxD freeware) to examine sector 0 of the dd image file.

Launch HxD
Select Extras -> Open Disk Image
select your backup.dd file and Open
Edit -> Select Block
Start Offset = 0
Length = 200
select Hex radio button and OK
Edit -> Copy As -> Editor View

Then paste the contents of the clipboard into your nest post (Ctrl-V or Edit->Paste).
 

Udo1603

Honorable
Feb 2, 2014
6
0
10,510


 

Udo1603

Honorable
Feb 2, 2014
6
0
10,510
dear fzabkar, thank you. As I said I am pretty inexperienced in such software issues but I do want to learn. I didn't mention in my earlier post that the CNC machine is quite old (1998) . The drive size we are talking about is only 2gig. However the CNC machine motherboard doesn't have have USB connections. I was hoping to 'create the HDD on a newer machine' that has USB connectors and then once done just plug the drive in the CNC. but I could procure a 'parralel to USB connector'if that is needed. my missing understanding is 'how to clone a drive' i.e. fully replace what is currently on it with the 'backup.dd' file. Sorry for my limited understanding and abilities. Can you help?
 
Could we at least see the information that I asked for?

HxD - Freeware Hex Editor and Disk Editor:
http://mh-nexus.de/en/hxd/

Once we confirm that the dd file is a sector-by-sector image of your physical drive, then we can easily clone it to your replacement HDD via a USB-IDE adapter using cloning software.

FYI, here is the tool that probably generated your backup file:

http://www.linuxquestions.org/questions/linux-newbie-8/learn-the-dd-command-362506/

That said, I would try to replace the old HDD with a CompactFlash card. CF cards are just IDE drives with a different pinout. You can adapt them to your existing setup with a cheap CF-to-IDE adapter. This should be a much more reliable solution, IMHO.
 

Udo1603

Honorable
Feb 2, 2014
6
0
10,510


 

Udo1603

Honorable
Feb 2, 2014
6
0
10,510
Hi Fzabkar, Sorry for the delay. I am trying to find someone IT trained in my company that can help me provide the information you are asking for and perform the actions that you are recommending. I looked at the links and this is way above my head. Too much terminology that I am not familiar with. It is like entering a new world for me. But I seriously appreciate your help and I will locate a suitable 'middle man' that can understand and perform these tasks and then we can move ahead. please have a bit more patient. The few IT guys we have are usually very tied up with the phone and computer systems and my little CNC machine is 'not their priority' so I need to convince them to help me out. Thank you again for your help. I will be back as soon as possible. Udo
 

TRENDING THREADS