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
  •  


1979 Microprocessor Projects Altair 8800 Intel 8080 KIM-1 COSMAC Elf SWTPC 6800 picture

1979 Microprocessor Projects Altair 8800 Intel 8080 KIM-1 COSMAC Elf SWTPC 6800

$59.99



S-100 Vector Graphic 64K Ram Board (Altair, IMSAI) picture

S-100 Vector Graphic 64K Ram Board (Altair, IMSAI)

$99.95



S-100 Vector Graphic 12K PROM/RAM Board (Altair, IMSAI) picture

S-100 Vector Graphic 12K PROM/RAM Board (Altair, IMSAI)

$99.95



Computer Photo History Altair 8800 Philco 212 CDC 6600 DEC PDP-8 Apple 1 UNIVAC picture

Computer Photo History Altair 8800 Philco 212 CDC 6600 DEC PDP-8 Apple 1 UNIVAC

$69.99



640pg Best of BYTE Magazine 1984 Mac Steve Jobs Altair 8800 IBM 5100 Bob Moog  picture

640pg Best of BYTE Magazine 1984 Mac Steve Jobs Altair 8800 IBM 5100 Bob Moog

$85.00



Vintage Digital Research ZSID 1.4 8

Vintage Digital Research ZSID 1.4 8" Floppy Disk CP/M Z80 Software S-100 Altair

$69.99



S-100 Industrial Micro Systems 8K Static Ram (IMS, Altair, IMSAI) picture

S-100 Industrial Micro Systems 8K Static Ram (IMS, Altair, IMSAI)

$69.95



BYTE Magazine Cover Jan 1977 Canvas Print 8

BYTE Magazine Cover Jan 1977 Canvas Print 8"x10" Retro Computer Altair 880

$7.00



CP/M 86 1.1R 8086 Highmonitor 8 Inch Floppy Diskette 80s IMSAI Altair picture

CP/M 86 1.1R 8086 Highmonitor 8 Inch Floppy Diskette 80s IMSAI Altair

$29.99



ALTAIR Bitcoin Mining Solutions PDU IEC SERIES 100-250V 30A/24A Power Distribute picture

ALTAIR Bitcoin Mining Solutions PDU IEC SERIES 100-250V 30A/24A Power Distribute

$99.00