0

I am trying to clone old windows 8 HDD disk to new SSD. Both have the same capacity: 250GB

The problem is that dd command stops quickly after copying 10MB only.

Here is the output:

root@x72j:~# dd if=/dev/sdd of=/dev/sdc bs=128M conv=notrunc,noerror
0+1 records in
0+1 records out
10485760 bytes (10 MB) copied, 0.384963 s, 27.2 MB/s

I even tried copying to /dev/null

root@x72j:~# dd if=/dev/sdd of=/dev/null bs=128M conv=notrunc,noerror
0+1 records in
0+1 records out
10485760 bytes (10 MB) copied, 0.00766644 s, 1.4 GB/s

Why it doesn't clone full disk?

  • 1
    Have you tried to just use a simple dd if=/dev/sdd of=/dev/sdc with no limiting arguments? Here is an answer that talks to this subject: Check out this answer for details: askubuntu.com/questions/435694/… – SDsolar Aug 13 '17 at 16:43
0

Try this:

exec sudo -i
fdisk -l
umount /dev/sdd?
fsck -y /dev/sdd?
dd if=/dev/sdd of=/dev/sdc bs=1M conv=noerror,sync

Change ? for the corresponding partition of /dev/sdd

|improve this answer|||||
  • thanks for the response but I am targeting the device sdd and not just its partition. – redochka Jan 10 '17 at 21:41
0

For anyone experiencing the same issue, it is likely because you have actually created the "file" /dev/sdd

The virtual /dev parition is usually 10MB which is why the dd stops after 10MB.

Even if the "device" /dev/sdd later shows up, it will be blocked by the existing file.

Try ls -la /dev/sd* and you should see some anomalies.

|improve this answer|||||
  • i don't understand your response. Sorry – redochka Jan 10 '17 at 21:40
0

Most dd commands can be replaced with cat.

E.g.:

cat /dev/sdd > /dev/sdc 
|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.