Results 1 to 4 of 4

Thread: Mount error after duplicating disk with DD

  1. #1
    Junior Member registered user
    Join Date
    Aug 2004
    Location
    Nashville TN
    Posts
    29

    Mount error after duplicating disk with DD

    I am working my way through Knoppix Hacks by Kyle Rankin and decided to try cloning a HD using DD as described in the book.

    I have 2 identical HD's (identical make and model), HDA has two windoze partitions, one EISA one NTFS. I tried to copy HDA to HDB by using the following command

    sudo dd if=/dev/hda of=/dev/hdb

    I rebooted Knoppix after a sucessful copy (just 10mins for a 120GB HD), the two partitions on HDA appeared duplicated as HDB partitions. So far so good. I tried to mount HDB2 (the NTFS Partition) by double clicking on it on the desktop and received an error

    Could not mount device. The reported error was:
    Mount: wrong FS type, bad option, bad superblock on /dev/hda2, or too many mounted file systems.

    Any idea why the partition wilnot mount in Knoppix? Windoze fails to mount it also and shows it as an empty partition without a file system.

    Initially excited by DD being faster, easier and cheaper than Ghost or DriveCopy I am now unsure how to make the copy process work as described by Kyle Rankin.

    Any help is truly appreciated.

    JP

  2. #2
    Senior Member registered user
    Join Date
    Feb 2004
    Posts
    949
    Might have been a read error, make sure none of the partitions are mount.
    Also you might want to run this.

    su
    dd if=/dev/hda of=/dev/hdb && cat /dev/hda | md5sum && cat /dev/hdb | md5sum

    That will, make you the root, then copy hda over to hdb then run a md5 check on both drives. If the string of numbers and letters at the end of the process aren't the same, something went wrong.

  3. #3
    Junior Member registered user
    Join Date
    Aug 2004
    Location
    Nashville TN
    Posts
    29
    Thanks for the pointers firebyrd10!! Something did in fact go wrong this time around.

    knoppix@ttyp0[knoppix]$ su
    root@ttyp0[knoppix]# dd if=/dev/hda of=/dev/hdb && cat /dev/hda | md5sum && cat /dev/hdb | md5sum
    dd: writing to `/dev/hdb': Input/output error
    6248265+0 records in
    6248264+0 records out
    3199111168 bytes transferred in 623.965721 seconds (5127062 bytes/sec)
    DD did not give any errors last time. Do you think this a hardware issue or do I need to start experimenting with different cheat codes? I've already tried 2.4 and 2.6 kernels at boot. The computer is almost 3 years old and Knoppix detects all the hardware just fine on boot.

    QTParted also errors out when trying to analyze hdb, gives a segmentation error, tho it reads hda just fine.

    JP

  4. #4
    Senior Member registered user
    Join Date
    Feb 2004
    Posts
    949
    Quote Originally Posted by JPWhite
    Thanks for the pointers firebyrd10!! Something did in fact go wrong this time around.

    knoppix@ttyp0[knoppix]$ su
    root@ttyp0[knoppix]# dd if=/dev/hda of=/dev/hdb && cat /dev/hda | md5sum && cat /dev/hdb | md5sum
    dd: writing to `/dev/hdb': Input/output error
    6248265+0 records in
    6248264+0 records out
    3199111168 bytes transferred in 623.965721 seconds (5127062 bytes/sec)
    DD did not give any errors last time. Do you think this a hardware issue or do I need to start experimenting with different cheat codes? I've already tried 2.4 and 2.6 kernels at boot. The computer is almost 3 years old and Knoppix detects all the hardware just fine on boot.

    QTParted also errors out when trying to analyze hdb, gives a segmentation error, tho it reads hda just fine.

    JP
    Mabye there are some bad clusters on the disk.

    First try zeroing it out.

    dd if=/dev/zero of=/dev/hdb6
    Don't know if that will work if dd got errors last time, but its worth a shot.

Similar Threads

  1. Cannot Mount Hard Disk
    By Varkie in forum Laptops
    Replies: 1
    Last Post: 02-09-2006, 06:06 PM
  2. isolinux: disk error 01, AX=42080d, disk=9F
    By bottomer in forum Hardware & Booting
    Replies: 0
    Last Post: 11-30-2005, 02:20 PM
  3. Audio CD duplicating blues
    By Cuddles in forum General Support
    Replies: 7
    Last Post: 01-31-2005, 04:03 PM
  4. Can I mount a 2nd hard disk if BIOS can't detect it?
    By Blisset in forum Hardware & Booting
    Replies: 4
    Last Post: 09-17-2004, 06:50 PM
  5. Auto mount of hard disk drive
    By Mycroft1855 in forum Customising & Remastering
    Replies: 1
    Last Post: 02-27-2003, 05:23 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
  •  


WD 2TB Certified Refurbished Elements, External Hard Drive - RWDBU6Y0020BBK-WESN picture

WD 2TB Certified Refurbished Elements, External Hard Drive - RWDBU6Y0020BBK-WESN

$49.99



Seagate Exos X16 ST14000NM001G 14TB 512E SATA 6Gb/s 3.5

Seagate Exos X16 ST14000NM001G 14TB 512E SATA 6Gb/s 3.5" Enterprise Hard Drive

$169.99



WD Green SATA HDD - 3TB picture

WD Green SATA HDD - 3TB

$59.99



WD 4TB Certified Refurbished Elements SE, Hard Drive - RWDBJRT0040BBK-WESN picture

WD 4TB Certified Refurbished Elements SE, Hard Drive - RWDBJRT0040BBK-WESN

$79.99



HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5

HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5" Enterprise HDD- HUH721212ALE601

$89.99



Seagate Exos 7E10 ST2000NM000B 2TB 7200RPM SATA 6.0Gb/s 3.5

Seagate Exos 7E10 ST2000NM000B 2TB 7200RPM SATA 6.0Gb/s 3.5" Internal Hard Drive

$29.99



HGST HUS724040ALS640 4TB 7200RPM 64MB Cache 6Gbps SAS 3.5

HGST HUS724040ALS640 4TB 7200RPM 64MB Cache 6Gbps SAS 3.5" Hard Drive HDD SERVER

$19.99



HGST Ultrastar HE10 HUH721010ALE600 10TB SATA 6Gb/s 7200RPM 3.5

HGST Ultrastar HE10 HUH721010ALE600 10TB SATA 6Gb/s 7200RPM 3.5" Enterprise HDD

$69.99



WD 16TB Elements Desktop, Certified Refurbished Hard Drive - RWDBWLG0160HBK-NESN picture

WD 16TB Elements Desktop, Certified Refurbished Hard Drive - RWDBWLG0160HBK-NESN

$209.99



SEAGATE ST2000LM015 2TB 2.5

SEAGATE ST2000LM015 2TB 2.5" 6Gb/s 128MB 5.4K RPM SATA LAPTOP HARD DRIVE PS3 PS4

$60.00