Re: Recover from unintended dd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Kalpa Welivitigoda writes:

Hi all,

I wanted to create a live install media from by flash drive using dd. Following is the command I used,

sudo dd bs=4M if=Fedora-Live-Desktop-x86_64-19-1.iso of=/dev/sdc1

The sad part is /dev/sdc1 happened to be my external hard disk (I wanted to write the image to my flash disk), this was by mistake.


Now I cannot access files in my external hard disk. My hard disk is 1TB and had only one partition. With this dd now it has two partitions (sdc1 and sdc2), following are the outputs of trying to mount them,



$ sudo mount /dev/sdc1 abc/
mount: mount /dev/sdc1 on /tmp/abc failed: Structure needs cleaning



$ sudo mount /dev/sdc2 abc/
mount: /dev/sdc2 is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/sdc2,
       missing codepage or helper program, or other error


       In some cases useful info is found in syslog - try
       dmesg | tail or so.


I googled for the issue and read that it is hard to recover.


Have any of you experienced a similar situation and recovered?


Any help/clue to get the hard disk recovered is highly appreciated.

dd overwrote the destination block device. The old data on the disk is gone. It is no more. It ceased to the exist. Went to the great bit bucket in the sky. It is ex-data.

Attachment: pgppJAWVBNBJz.pgp
Description: PGP signature

_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]
  Powered by Linux