Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: I just wiped out my harddrive using dd....HELP!!

  1. #1
    Join Date
    Nov 2009
    Beans
    699

    I just wiped out my harddrive using dd....HELP!!

    I just used DD to make an image to my big external hard drive (sdc) and wiped out over 350g of data.

    The command I used was dd if=/dev/sdb of=/dev/sdc bs=4096 conv=notrunc,noerror

    sdb was only 16g from a flash drive.

    Please, please, please....someone...help me recover the data!!!!!

  2. #2
    Join Date
    Jan 2007
    Location
    Toronto ON Canada
    Beans
    1,127
    Distro
    Xubuntu

    Re: I just wiped out my harddrive using dd....HELP!!

    Afraid I can't be much direct help on this - but file recovery information is all over the web. My experience with recovery is limited to SystemRescueCD - but a wealth of possibilities, tools and tutorials are out there. I just didn't want to leave you unanswered...

    Hope it helps - or that you find a 'reverse this ....up' command.
    | Xubuntu 20.04 / Arch rolling XFCE/ MX-19 patito feo / Arcolinux 20.5.7 rolling / EndeavourOS rolling XFCE / Ubuntu Unity 20.04 / Arch rolling Cinnamon / EndeavorsOS rolling Budgie / Arch rolling XFCE-compiz / Kubuntu 20.04 |

  3. #3
    Join Date
    Feb 2007
    Location
    West Hills CA
    Beans
    10,044
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: I just wiped out my harddrive using dd....HELP!!

    You may get lucky. The first 16 GB of the drive were probably Windows system files. If they were linux files, you would lose 8 to 13 GB of data because a typical linux distro is around 5 GB of system files.

    You may be motivated to read the following: https://help.ubuntu.com/community/DataRecovery
    -------------------------------------
    Oooh Shiny: PopularPages

    Unumquodque potest reparantur. Patientia sit virtus.

  4. #4
    Join Date
    Nov 2009
    Beans
    699

    Re: I just wiped out my harddrive using dd....HELP!!

    What I was trying to do was make an image of my Crunchbang USB stick. The 500g drive previously to the disaster was only used for storage of files.

    According to Gparted there are 450g of unallocated space on the drive.

    I just wasted over 2 hours running Testdisk with it not finding the missing partition or telling me much of anything.

    The Testdisk forum has more unanswered questions than answered.

    I'll try your suggestion for the DataRecovery...and think pure thoughts.

    Thanks
    Last edited by PDA1; February 12th, 2014 at 06:11 AM.

  5. #5
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    Hidden!

    Re: I just wiped out my harddrive using dd....HELP!!

    dd is nicknamed 'disk destroyer' for a reason. I'm sure you will use a safer method next time you want to make an image of a drive, for example Clonezilla, or an installed system, for example the One Button Installer.

    But like you have been told in the previous replies, I think there is hope to recover a lot of the files, if you are prepared to do a lot of hard work. The data that 'sit behind' the first 16 GB should still be there and available.

    If you cannot get the file system back, there is always PhotoRec. It can recover many kinds of files from the data found of the disk surface (without any partition table or file system). But the file names and directory structure are lost.

    http://www.cgsecurity.org/wiki/PhotoRec
    Last edited by sudodus; February 12th, 2014 at 09:18 AM.

  6. #6
    Join Date
    Nov 2009
    Beans
    699

    Re: I just wiped out my harddrive using dd....HELP!!

    Clonezilla? Have tried too many times and it's a mess to use. Redo is easier to understand.

    Tried Testdisk. There's got to be a more understandable way to solve this.

  7. #7
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    Hidden!

    Re: I just wiped out my harddrive using dd....HELP!!

    Using Clonezilla in beginner mode to make an image of a whole drive is not too difficult and definitely safer than dd (at least for me). You like Redo. I have not tried it, but I have seen other people recommend it. One of the advantages with Linux is that there are many ways and tools to perform a task. It is often possible to find something for each person and task.

    Sometimes Testdisk will find what you need, sometimes not. I'm not sure the problem is that you don't understand Testdisk. I think Testdisk can't find it. So you can try some of the other tools suggested or linked to ... and the last resort is PhotoRec, if you cannot find or re-create the partition table and file system.

  8. #8
    Join Date
    Nov 2009
    Beans
    699

    Re: I just wiped out my harddrive using dd....HELP!!

    Conclusion- failure

    Tried- Seagate File Recovery (try before you buy) and it said the drive should be sent in to their lab$$$.

    On the good side- there were backups of everything except some critical DVDs that I'll have to copy back to the new hard drive.

    I once read, "Linux assumes you know what you're doing".

    Obviously, I didn't.

  9. #9
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    Hidden!

    Re: I just wiped out my harddrive using dd....HELP!!

    What a relief to read that you have backups of everything except some critical DVDs

    In this case restoring from the backup is way better than recovering files with PhotoRec.

  10. #10
    Join Date
    Aug 2013
    Beans
    4,941

    Re: I just wiped out my harddrive using dd....HELP!!

    Try fsarchiver. It is easy to use and safe. It is in the repo

    http://ubuntuforums.org/showthread.p...3#post12923983 See post #8 for a brief instruction.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •