-
Harddisk Analyzing with Knoppix 3.4 - How to ????
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!
-
Senior Member
registered user
Re: Harddisk Analyzing with Knoppix 3.4 - How to ????

Originally Posted by
xdream
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)
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.
-
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.
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.
-
Senior Member
registered user

Originally Posted by
xdream
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.
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.
I just reread your post.
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)
-
Senior Member
registered user

Originally Posted by
firebyrd10

Originally Posted by
xdream
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.
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.
I just reread your post.
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!
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
-
Senior Member
registered user

Originally Posted by
Cuddles
PERFECT!
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.
-
THX
Think this will work. I will try it.
THX a lot mate!
-
Senior Member
registered user
Re: THX

Originally Posted by
xdream
Think this will work. I will try it.
THX a lot mate!
Your welcome.
Similar Threads
-
By ku637 in forum General Support
Replies: 2
Last Post: 07-15-2005, 07:51 PM
-
By Dobez in forum Hdd Install / Debian / Apt
Replies: 3
Last Post: 03-18-2005, 02:41 PM
-
By Pix21 in forum MS Windows & New to Linux
Replies: 0
Last Post: 02-12-2005, 03:15 PM
-
By metavoid in forum General Support
Replies: 9
Last Post: 07-03-2004, 10:08 AM
-
By Panada in forum General Support
Replies: 9
Last Post: 04-12-2004, 02:08 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

2-Bay/4-Bay Hard Drive Enclosure for 3.5"/2.5'' SATA HDD/SSD 10Gbps USB-C 3.2
$75.99

Intel VROC Premium RAID Controller Card PCIe Add-On Module VROCPREMMOD
$265.00

Broadcom 9600-24i Tri-Mode RAID Controller 4.0 NVMe SAS SATA NEW 05-50111-01003
$639.69

OWC Mercury Elite Pro 2 Bay RAID Enclosure with USB 3.2 for Dual 3.5 inch HDDs
$87.99

WAVLINK RAID 2 Bay Hard Drive Docking Station SATA 2.5/3.5'' SSD HDD Enclosure
$119.99

Dell PowerEdge HBA330 LP PCI-E 12GBs RAID SAS Controller Adapter J7TNV
$18.95

Acasis USB 3.2 2 Bay HDD RAID Enclosure for 2.5/3.5" SATA Drives External Array
$55.00

Broadcom LSI 9305-16i 12Gbps SAS-3 PCIe x8 HBA 16-Ports Raid Controller
$64.99

Adaptec ASR-71605 16-Port 1Gbps PCIe RAID Card High Profile
$18.49

CalDigit VR minin 2 Portable Raid Storage On The Go
$75.00