Answers to: What is the best way to create a raw copy of a hard drive ? [Solved]http://linuxexchange.org/questions/34/what-is-the-best-way-to-create-a-raw-copy-of-a-hard-drive-solved<p>What is the best way of creating a raw copy of a failing hard drive for recovery purposes ?</p> <p>I would prefer a solution using either ubunutu or trinity.</p>enWed, 04 Jan 2012 08:13:33 -0500Answer by eastw00dhttp://linuxexchange.org/questions/34/what-is-the-best-way-to-create-a-raw-copy-of-a-hard-drive-solved/2771<p>I have a question about Clonezilla: How can I make a raw copy with clonezilla? I need to copy 4 HD's that are being used in a CCTV-DVR. To copy the first HD it is no problem, and that goes good with clonezilla. But to copy the 2nd, 3rd en 4th harddrive it won't work. The first HD has the partition information for all 4 disks, the 3 other disks are just storage space, i think..... in the past i used Norton ghost and then with commandline -ir ( image raw) it will copy also the other disks. Now, when i try to do raw copy in Clonezilla, all the time i get messege that the partitiontabel of the destination is not correct. ????? i dont understand because i want to write it over with the partitiontable of the source disk. and the other messege tells me that the destination-disk will be to small .... (the source and destination are the same type of HD's. the destination is totaly blank, without partition, i know from the past with norton ghost that any kind of partition can have the effect that it looks to small for the source, so i use destination disks without partition) because of these 2 messeges, the copy doesnt start. Is there a commandline for rawcopy? i tried all the options in "advanced" , but i cant find the right setting. i only wants the setting: Dont look at anything, just copy bytes. ( like raw copy should do, i think) As u read, im not an expert, pls can somebody help me?</p>eastw00dWed, 04 Jan 2012 08:13:33 -0500http://linuxexchange.org/questions/34/what-is-the-best-way-to-create-a-raw-copy-of-a-hard-drive-solved/2771Answer by Ronhttp://linuxexchange.org/questions/34/what-is-the-best-way-to-create-a-raw-copy-of-a-hard-drive-solved/2770<p>I would use Clonezilla, as already mentioned above; but I want to add a few thingsn ot yet mentioned:</p> <p>1) Copy the original hard drive to second hard drive, then do your data recovery from that second hard drive to yet another (now third) hard drive. The reason being is that</p> <p>a) you may only get one shot at grabbing data from the original hard drive.</p> <p>b) By working off of the second hard drive and recovering to the third, you minimize risk of data loss on the original (and failing) hard drive.</p>RonTue, 03 Jan 2012 10:06:19 -0500http://linuxexchange.org/questions/34/what-is-the-best-way-to-create-a-raw-copy-of-a-hard-drive-solved/2770Answer by spockhttp://linuxexchange.org/questions/34/what-is-the-best-way-to-create-a-raw-copy-of-a-hard-drive-solved/2768<p><a href="http://www.gnu.org/software/ddrescue/ddrescue.html">ddrescue</a> is like dd on steroids. It has similar syntax to dd but is designed for rescuing failing disks.</p>spockWed, 28 Dec 2011 16:37:24 -0500http://linuxexchange.org/questions/34/what-is-the-best-way-to-create-a-raw-copy-of-a-hard-drive-solved/2768Answer by Vermontgeekhttp://linuxexchange.org/questions/34/what-is-the-best-way-to-create-a-raw-copy-of-a-hard-drive-solved/50<p>I have in the past used Clonezilla. It uses dd but asks questions that those not so friendly with the command line and sets up the command for you.</p>VermontgeekWed, 14 Apr 2010 12:05:55 -0400http://linuxexchange.org/questions/34/what-is-the-best-way-to-create-a-raw-copy-of-a-hard-drive-solved/50Answer by Web31337http://linuxexchange.org/questions/34/what-is-the-best-way-to-create-a-raw-copy-of-a-hard-drive-solved/37<p>To copy raw data, you can use 'dd' util. There is a brilliant guide on how to use dd command @ LQ forum: <a href="http://www.linuxquestions.org/questions/linux-newbie-8/learn-the-dd-command-362506/" rel="nofollow">http://www.linuxquestions.org/questions/linux-newbie-8/learn-the-dd-command-362506/</a></p>Web31337Wed, 14 Apr 2010 00:54:25 -0400http://linuxexchange.org/questions/34/what-is-the-best-way-to-create-a-raw-copy-of-a-hard-drive-solved/37Answer by Sky.Crawlerhttp://linuxexchange.org/questions/34/what-is-the-best-way-to-create-a-raw-copy-of-a-hard-drive-solved/36<p>I am assuming you can still work with the failing hard drive.</p> <p>Connect the "copy to" drive to the computer.</p> <p>To use the "dd" command to make a byte-for-byte copy of the failing hard drive, we need to identify which is the "copy from" and "copy to" drives.</p> <p>GParted or the "df -H" command can help.</p> <p>Read through some documentation on "dd" to make sure you understand it. Because if you mix something up, you could end up with a blank hard drive.</p> <p><a href="http://wiki.linuxquestions.org/wiki/Dd" rel="nofollow">http://wiki.linuxquestions.org/wiki/Dd</a></p> <p><a href="http://www.debianhelp.co.uk/ddcommand.htm" rel="nofollow">http://www.debianhelp.co.uk/ddcommand.htm</a></p> <p>Example: </p> <pre><code>:~$ df -H Filesystem Size Used Avail Use% Mounted on /dev/sda1 628G 288G 308G 49% / udev 3.2G 312k 3.2G 1% /dev none 3.2G 660k 3.2G 1% /dev/shm none 3.2G 213k 3.2G 1% /var/run none 3.2G 0 3.2G 0% /var/lock none 3.2G 0 3.2G 0% /lib/init/rw /dev/sdf1 500G 183M 500G 1% /media/External </code></pre> <p>I see that my "copy to" drive is "sdf" and my "copy from" drive is "sda".</p> <p>I use the command:</p> <p>dd if=/dev/sda of=/media/External/backup.img</p> <p>to raw copy the entire "sda" hard drive to an image on a partition on the "sdf" drive. We can reach this partition, because it is mounted under "/media/External".</p>Sky.CrawlerWed, 14 Apr 2010 00:52:17 -0400http://linuxexchange.org/questions/34/what-is-the-best-way-to-create-a-raw-copy-of-a-hard-drive-solved/36