Try md5sum (name of ghost image)Originally Posted by xdream
then cat /dev/hda | md5sum
and check the sums.
Not sure that will work though, ghost probably encodes the file instead of doing a RAW read.
Hi ppl.
I need help for this ...
I have made an image of a harddisk using Ghost. Then i have written back this image on another harddisk.
Now i need to know if the data of the two HDs match.
Is there a command or a tool coming with 'Knoppix 3.4' that can show me the exact written bytes on both HDs?
Thanks for your response!
Try md5sum (name of ghost image)Originally Posted by xdream
then cat /dev/hda | md5sum
and check the sums.
Not sure that will work though, ghost probably encodes the file instead of doing a RAW read.
Think this will not work because the ghostimage is compressed. And it isn't a RAW read as you said. Thx anyway - i will give this a try though.Try md5sum (name of ghost image)
then cat /dev/hda | md5sum
and check the sums.
Not sure that will work though, ghost probably encodes the file instead of doing a RAW read.
I just reread your post.Originally Posted by xdream
Ignore the ghost image part, just do the cat /dev/hda | md5sum thing on both hardrives.
replacing the a (in hda) for each drive needed. Of course if you only made an image of a partition instead of a hardrive, you'll need to put the partitin number there also (ex: hda1)
PERFECT!Originally Posted by firebyrd10
I think thats the trick, I used to do this for a "quick and dirty" file compare routine - back in my Windows Days - use a CRC on both source and target, if they match, chances are, the data actually matches... From what I know ( not much on this ) the md5sum does the same thing. I would bet that if your md5sum outputs match, then your drives data match as well.
Just my two cents,
Ms. Cuddles
Right, CRC and md5sum do the same thing. But md5sum is much more precise. If just one bit is off the output will be differnt. CRC on the other hand checks the data in a general way. It's used for thing like, if something does wrong with the data, alot will go wrong, such as sending it over dial up or wireless where if something happens, alot of the data will be currupted.Originally Posted by Cuddles
Think this will work. I will try it.
THX a lot mate!
Your welcome.Originally Posted by xdream
![]()

Dell 6P85J 4TB ST4000NM0063 7.2k 6Gb/s 3.5” SAS SED Hard Drive with Tray
$39.99
Western Digital HUS726T4TAL5204 4TB 7.2K SAS 12Gb/s 3.5" 512e HDD NetApp X375A
$64.00
Western Digital 1TB 3.5" SATA III 7200RPM Desktop Hard Drive
$34.99
(ST8000NM0045) SEAGATE ENTERPRISE 8TB 7200RPM 4Kn SATA 6Gb/s 3.5" HARD DRIVE
$199.99
HGST 0F23072 Deskstar NAS 6TB SATA III 7200RPM 128MB 3.5in HDD
$84.99
Dell ST6000NM0034 1HT27Z-150 NWCCG 6TB SAS 3.5 7.2K ENTERPRISE SERVER DRIVE
$68.99
Seagate Exos ST2000NX0253 HDD 2TB SATA 7.2K 2.5" 512b/s
$55.00
Toshiba 14TB MG07 MG07ACA14TEY 7.2K RPM SATA 6Gb/s 512e 3.5" Enterprise HDD
$339.00
DELL 2TB Enterprise HDD (7200RPM, 3.5", SATA III, 128MB Cache) HUS722T2TALA600
$49.95
Seagate ST12000NM0127 12TB 256MB 7200RPM 3.5" SATA 6.0Gb/s Enterprise Hard Drive
$318.99