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
  •  


GIGABYTE A520M DS3H AC AMD AM4 Motherboard mATX picture

GIGABYTE A520M DS3H AC AMD AM4 Motherboard mATX

$59.99



GIGABYTE Z790 AORUS ELITE AX LGA 1700 Intel Z790 ATX Motherboard with DDR5 picture

GIGABYTE Z790 AORUS ELITE AX LGA 1700 Intel Z790 ATX Motherboard with DDR5

$189.99



Intel H310 LGA1151 8-9th Gen DDR4 M.2 NVMe mATX Motherboard IO Shield Battery picture

Intel H310 LGA1151 8-9th Gen DDR4 M.2 NVMe mATX Motherboard IO Shield Battery

$54.99



ASUS PRIME Z490-V Motherboard Intel Z490 10th gen DDR4 LGA 1200 ATX w/ IO Shield picture

ASUS PRIME Z490-V Motherboard Intel Z490 10th gen DDR4 LGA 1200 ATX w/ IO Shield

$84.99



GIGABYTE B365 HD3 LGA1151 Intel 9th Gen motherboard picture

GIGABYTE B365 HD3 LGA1151 Intel 9th Gen motherboard

$59.99



MSI B550M PRO-VDH Micro-ATX Motherboard - AMD AM4, Ryzen 5000/4000/3000 Ready, P picture

MSI B550M PRO-VDH Micro-ATX Motherboard - AMD AM4, Ryzen 5000/4000/3000 Ready, P

$71.49



ASUS PRIME B360M-C MicroATX Intel LGA1151 DDR4 HDMI VGA USB RJ-45 Audio picture

ASUS PRIME B360M-C MicroATX Intel LGA1151 DDR4 HDMI VGA USB RJ-45 Audio

$34.99



MSI - B550M PRO-VDH WIFI (Socket AM4) AMD B550 MATX DDR4 Wi-Fi 6 Motherboard ... picture

MSI - B550M PRO-VDH WIFI (Socket AM4) AMD B550 MATX DDR4 Wi-Fi 6 Motherboard ...

$89.99



Gigabyte GA-B85M-D3H Motherboard picture

Gigabyte GA-B85M-D3H Motherboard

$54.99



ASUS PRIME Z890-P WIFI Z890 LGA 1851 ATX motherboard, Intel® Core™ Ultra Series picture

ASUS PRIME Z890-P WIFI Z890 LGA 1851 ATX motherboard, Intel® Core™ Ultra Series

$235.99