Results 1 to 3 of 3

Thread: how to undo 'dd' command

  1. #1
    Junior Member registered user
    Join Date
    Feb 2006
    Location
    southafrica
    Posts
    21

    how to undo 'dd' command

    Hi,

    Could u please help me. I just used the 'dd' command and it mounted my usb files onto my main harddrive partition.
    Command used "dd if=/dev/sda1 of=/dev/hdc5" and this even changed my 80 gig harddrive into a 256Mb harddrive. I have been trying to undo the damage because I need the information on that harddrive. Could u please help as soon as possible.

    Thank U
    mduduzi

  2. #2
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    USA, IL
    Posts
    1,041

    Re: how to undo 'dd' command

    Err, sorry to have to break the bad news here - but you're screwed. I did the same thing a couple of years ago, and depending on HOW BAD you NEED the data on that HD partition, you should:

    a) **Immediately** shutdown and take the HD directly to a data-recovery specialist, do not pass Go, pay $$$ -- and there probably WILL BE some data loss regardless

    b) Reformat partition, Restore from backup ( YOU DO HAVE GOOD BACKUPS, RIIGHT?? )

    c) Give it up as a bad job, reformat partition, reinstall if necessary. Resolve to be more careful in future.

    Quote Originally Posted by mduduzi
    Hi,

    Could u please help me. I just used the 'dd' command and it mounted my usb files onto my main harddrive partition.
    Command used "dd if=/dev/sda1 of=/dev/hdc5" and this even changed my 80 gig harddrive into a 256Mb harddrive. I have been trying to undo the damage because I need the information on that harddrive. Could u please help as soon as possible.

    Thank U
    mduduzi

  3. #3
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    1,516
    OOOWWWWHH, that was bad, you wrote that disk with a bitcopy of the USB pan. not good, not good at all.
    sorry to say so but that partition is more or less gone if you do not like hexedit, and few weeks or so of work, or can pay $$$ for recovery, i am praying you have a great backup..

Similar Threads

  1. help with the ln command
    By Tuxgrrrl in forum General Support
    Replies: 5
    Last Post: 02-08-2007, 10:32 AM
  2. Using Man[command]
    By DigidocTN in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 05-16-2006, 07:04 AM
  3. undo swap
    By vartok in forum General Support
    Replies: 2
    Last Post: 10-22-2005, 05:44 AM
  4. How do I Undo a "chmod -R 777 on my /etc directory?
    By bob58 in forum General Support
    Replies: 1
    Last Post: 08-20-2004, 12:47 PM
  5. Which command is the right one?
    By darkwid in forum Hdd Install / Debian / Apt
    Replies: 4
    Last Post: 04-01-2004, 11:07 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
  •  


Vintage ATARI 800XL - Home Computer Console - Not Tested picture

Vintage ATARI 800XL - Home Computer Console - Not Tested

$85.97



Apple Computer Vintage sheet of 1990s rainbow logo stickers 2 Sticker Sheet picture

Apple Computer Vintage sheet of 1990s rainbow logo stickers 2 Sticker Sheet

$4.80



Lot Of Vintage Software Discs Operating Systems Linux Maximum CD Over 15 Pounds picture

Lot Of Vintage Software Discs Operating Systems Linux Maximum CD Over 15 Pounds

$149.99



Vintage 3M Diskette Filer Storage for 5.25 picture

Vintage 3M Diskette Filer Storage for 5.25

$14.99



Vintage 1992 Apple Macintosh SUPERMAC DigitalFilm NUBUS Graphics Card RARE picture

Vintage 1992 Apple Macintosh SUPERMAC DigitalFilm NUBUS Graphics Card RARE

$350.00



Apple II GS A2S6000 Vintage Computer 3.5

Apple II GS A2S6000 Vintage Computer 3.5" Drive, Software And Cords. Tested/work

$250.00



Vintage Toshiba Tecra 730CDT Laptop picture

Vintage Toshiba Tecra 730CDT Laptop

$150.00



Vintage 1996 Apple Power Macintosh Radius ThunderPower 30/1600 Graphics PCI Card picture

Vintage 1996 Apple Power Macintosh Radius ThunderPower 30/1600 Graphics PCI Card

$85.00



Vintage - Iomega Clik 40mb PC Card Drive for PC Laptops Open Box picture

Vintage - Iomega Clik 40mb PC Card Drive for PC Laptops Open Box

$65.00



Twelve South BookBook Case for iPad Mini 6 | Hardback Leather Vintage Brown  picture

Twelve South BookBook Case for iPad Mini 6 | Hardback Leather Vintage Brown

$39.99