-
Junior Member
registered user
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
-
Senior Member
registered user
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.
-
Junior Member
registered user
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
-
Senior Member
registered user
![Quote](images/misc/quote_icon.png)
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
-
By Varkie in forum Laptops
Replies: 1
Last Post: 02-09-2006, 06:06 PM
-
By bottomer in forum Hardware & Booting
Replies: 0
Last Post: 11-30-2005, 02:20 PM
-
By Cuddles in forum General Support
Replies: 7
Last Post: 01-31-2005, 04:03 PM
-
By Blisset in forum Hardware & Booting
Replies: 4
Last Post: 09-17-2004, 06:50 PM
-
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
-
Forum Rules
![USB Flash Drive Memory Stick Pendrive Thumb Drive 4GB, 8GB, 32GB, 64GB 128GB LOT picture](/store/img/g/EI0AAOSwsBpju-XZ/s-l225/USB-Flash-Drive-Memory-Stick-Pendrive-Thumb-Drive-.jpg)
USB Flash Drive Memory Stick Pendrive Thumb Drive 4GB, 8GB, 32GB, 64GB 128GB LOT
$239.38
![Type C USB 3.0 Flash Drive Thumb Drive Memory Stick for PC Laptop 1TB 2TB lot picture](/store/img/g/oroAAOSwsJNmFPcr/s-l225/Type-C-USB-3-0-Flash-Drive-Thumb-Drive-Memory-Stic.jpg)
Type C USB 3.0 Flash Drive Thumb Drive Memory Stick for PC Laptop 1TB 2TB lot
$73.29
![1TB/2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage lot picture](/store/img/g/PDMAAOSwlhdmFJ5R/s-l225/1TB-2TB-USB-3-0-Flash-Drive-Thumb-U-Disk-Memory-St.jpg)
1TB/2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage lot
$80.39
![Sandisk 16GB 32GB 64GB 128GB Cruzer Blade Flash Drive Memory Stick USB Lot Pack picture](/store/img/g/H94AAOSw8zNjfbQ9/s-l225/Sandisk-16GB-32GB-64GB-128GB-Cruzer-Blade-Flash-Dr.jpg)
Sandisk 16GB 32GB 64GB 128GB Cruzer Blade Flash Drive Memory Stick USB Lot Pack
$138.90
![Lenovo 2TB USB Flash Drive 3.0, USB Flash Drive, High Speed Dr, New, Drk Silver picture](/store/img/g/fIsAAOSwkSNmZPNx/s-l225/Lenovo-2TB-USB-Flash-Drive-3-0-USB-Flash-Drive-Hig.jpg)
Lenovo 2TB USB Flash Drive 3.0, USB Flash Drive, High Speed Dr, New, Drk Silver
$9.99
![64GB USB 3.0 Flash Drive USB Memory Stick High Speed Retractable USB Thumb Drive picture](/store/img/g/1Q4AAOSwDeRivXJz/s-l225/64GB-USB-3-0-Flash-Drive-USB-Memory-Stick-High-Spe.jpg)
64GB USB 3.0 Flash Drive USB Memory Stick High Speed Retractable USB Thumb Drive
$6.99
![Lenovo Metal 2tb USB Flash Drive USB 3.0 High Speed File Transfer U Disk 16tb 8t picture](/store/img/g/nJcAAOSwLZlmaBE8/s-l225/Lenovo-Metal-2tb-USB-Flash-Drive-USB-3-0-High-Spee.jpg)
Lenovo Metal 2tb USB Flash Drive USB 3.0 High Speed File Transfer U Disk 16tb 8t
$7.99
![SanDisk Cruzer Blade 32GB USB 2.0 Flash Drive Thumb Memory Stick Pen SCDZ50 32G picture](/store/img/g/tfoAAOSw9IFjR2AH/s-l225/SanDisk-Cruzer-Blade-32GB-USB-2-0-Flash-Drive-Thum.jpg)
SanDisk Cruzer Blade 32GB USB 2.0 Flash Drive Thumb Memory Stick Pen SCDZ50 32G
$5.75
![USB Flash Drive Thumb Drive Memory Stick Pendrive 4GB, 8GB, 32GB, 64GB 128GB LOT picture](/store/img/g/F24AAOSw8TNj9zeD/s-l225/USB-Flash-Drive-Thumb-Drive-Memory-Stick-Pendrive-.jpg)
USB Flash Drive Thumb Drive Memory Stick Pendrive 4GB, 8GB, 32GB, 64GB 128GB LOT
$308.13
![SanDisk Cruzer Glide USB 3.0 16GB 32GB 64GB 128GB 256GB Flash Drive Memory Lot picture](/store/img/g/9aAAAOSwBrNii2iZ/s-l225/SanDisk-Cruzer-Glide-USB-3-0-16GB-32GB-64GB-128GB-.jpg)
SanDisk Cruzer Glide USB 3.0 16GB 32GB 64GB 128GB 256GB Flash Drive Memory Lot
$239.99