Results 1 to 8 of 8

Thread: Harddisk Analyzing with Knoppix 3.4 - How to ????

  1. #1
    Junior Member
    Join Date
    Sep 2004
    Posts
    3

    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!

  2. #2
    Senior Member registered user
    Join Date
    Feb 2004
    Posts
    949

    Re: Harddisk Analyzing with Knoppix 3.4 - How to ????

    Quote 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.

  3. #3
    Junior Member
    Join Date
    Sep 2004
    Posts
    3
    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.

  4. #4
    Senior Member registered user
    Join Date
    Feb 2004
    Posts
    949
    Quote 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)

  5. #5
    Senior Member registered user
    Join Date
    Dec 2003
    Location
    Salt Lake City, UT, U.S.A.
    Posts
    1,338
    Quote Originally Posted by firebyrd10
    Quote 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

  6. #6
    Senior Member registered user
    Join Date
    Feb 2004
    Posts
    949
    Quote 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.

  7. #7
    Junior Member
    Join Date
    Sep 2004
    Posts
    3

    THX

    Think this will work. I will try it.

    THX a lot mate!

  8. #8
    Senior Member registered user
    Join Date
    Feb 2004
    Posts
    949

    Re: THX

    Quote Originally Posted by xdream
    Think this will work. I will try it.

    THX a lot mate!
    Your welcome.

Similar Threads

  1. Knoppix 3.1 -----copying to harddisk
    By ku637 in forum General Support
    Replies: 2
    Last Post: 07-15-2005, 07:51 PM
  2. Is there a way to run knoppix from the harddisk with out ...
    By Dobez in forum Hdd Install / Debian / Apt
    Replies: 3
    Last Post: 03-18-2005, 02:41 PM
  3. Installing Knoppix Onto Second Harddisk
    By Pix21 in forum MS Windows & New to Linux
    Replies: 0
    Last Post: 02-12-2005, 03:15 PM
  4. New harddisk - how to get going use knoppix cd?
    By metavoid in forum General Support
    Replies: 9
    Last Post: 07-03-2004, 10:08 AM
  5. how to install knoppix on harddisk?
    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
  •  


Cisco Nexus N9K-C92160YC-X 48P 25GbE SFP28 6P QSFP+/QSFP28 PE Switch picture

Cisco Nexus N9K-C92160YC-X 48P 25GbE SFP28 6P QSFP+/QSFP28 PE Switch

$439.00



Cisco WS-C3650-12X48UR-L 48-Port Stackable Layer 3 8x10G SFP+ Port Switch picture

Cisco WS-C3650-12X48UR-L 48-Port Stackable Layer 3 8x10G SFP+ Port Switch

$129.99



Cisco Catalyst C9130AXI-B WiFi 6 802.11ax Wireless Access Point Brand New picture

Cisco Catalyst C9130AXI-B WiFi 6 802.11ax Wireless Access Point Brand New

$101.99



Cisco Acacia DP04QSDD-E25-840 400G QSFP-DD Coherent DCO Transceiver Module picture

Cisco Acacia DP04QSDD-E25-840 400G QSFP-DD Coherent DCO Transceiver Module

$699.99



Cisco | N3K-C3232C | 32-Port 100G QSFP Network Switch  W/ 2x PSU, 2x Power Cords picture

Cisco | N3K-C3232C | 32-Port 100G QSFP Network Switch W/ 2x PSU, 2x Power Cords

$205.00



Cisco C9200-48P-E Cisco POE Network Switch picture

Cisco C9200-48P-E Cisco POE Network Switch

$749.99



Genuine Cisco SFP-10G-SR 0-2415-03 10 Gigabit Transceiver picture

Genuine Cisco SFP-10G-SR 0-2415-03 10 Gigabit Transceiver

$5.40



NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping* picture

NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping*

$24.00



Cisco QSFP-40G-SR-BD  Module  10-2945-02  NEW CLAMSHELL picture

Cisco QSFP-40G-SR-BD Module 10-2945-02 NEW CLAMSHELL

$45.50



Cisco Catalyst WS-C3650-12X48UQ-L 48 Port UPOE 4x 10G SFP+ Switch picture

Cisco Catalyst WS-C3650-12X48UQ-L 48 Port UPOE 4x 10G SFP+ Switch

$175.00