-
Junior Member
registered user
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
-
Senior Member
registered user
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](images/misc/quote_icon.png)
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
-
Senior Member
registered user
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
-
By Tuxgrrrl in forum General Support
Replies: 5
Last Post: 02-08-2007, 10:32 AM
-
By DigidocTN in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 05-16-2006, 07:04 AM
-
By vartok in forum General Support
Replies: 2
Last Post: 10-22-2005, 05:44 AM
-
By bob58 in forum General Support
Replies: 1
Last Post: 08-20-2004, 12:47 PM
-
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
-
Forum Rules
![Lenovo ThinkStation P920 2x Xeon Gold 6128 3.40GHZ 128GB DDR4 RAM No HDD TESTED picture](/store/img/prkAAOSwafdmmXon/s-l225//Lenovo-ThinkStation-P920-2x-Xeon-Gold-6128-3-40GHZ.jpg)
Lenovo ThinkStation P920 2x Xeon Gold 6128 3.40GHZ 128GB DDR4 RAM No HDD TESTED
$504.95
![HP Workstation Z640 2x Xeon E5-2623V3 32GB Ram 2x256GB SSD Quadro K420 NO OS GA picture](/store/img/rIQAAOSwN9Nlnw4a/s-l225//HP-Workstation-Z640-2x-Xeon-E5-2623V3-32GB-Ram-2x2.jpg)
HP Workstation Z640 2x Xeon E5-2623V3 32GB Ram 2x256GB SSD Quadro K420 NO OS GA
$154.98
![Matched pair Intel Xeon E5-2667v4 SR2P5 3.20GHz, 8 core, 25MB Processors LGA2011 picture](/store/img/zYMAAOSwhh1mdEYc/s-l225//Matched-pair-Intel-Xeon-E5-2667v4-SR2P5-3-20GHz-8-.jpg)
Matched pair Intel Xeon E5-2667v4 SR2P5 3.20GHz, 8 core, 25MB Processors LGA2011
$62.95
![HP Z2 Mini G3 Workstation Intel Xeon E3-1245 v6 3.70Ghz 32GB RAM No SSD No Hdd picture](/store/img/iHIAAOSwdKBlTpia/s-l225//HP-Z2-Mini-G3-Workstation-Intel-Xeon-E3-1245-v6-3-.jpg)
HP Z2 Mini G3 Workstation Intel Xeon E3-1245 v6 3.70Ghz 32GB RAM No SSD No Hdd
$174.00
![Intel Xeon E5-2680 V4 CPU 2.4~3.3GHz 14-Core 35M LGA 2011-3 R3 Server SR2N7 120W picture](/store/img/hLcAAOSwA81iMQ7h/s-l225//Intel-Xeon-E5-2680-V4-CPU-2-4-3-3GHz-14-Core-35M-L.jpg)
Intel Xeon E5-2680 V4 CPU 2.4~3.3GHz 14-Core 35M LGA 2011-3 R3 Server SR2N7 120W
$15.99
![INTEL Xeon E5-2697 V4 SR2JV 2.30GHZ 18-Core CPU 2697v4 GRADE A CONDITION @ E picture](/store/img/RSEAAOSwt21kUDvm/s-l225//INTEL-Xeon-E5-2697-V4-SR2JV-2-30GHZ-18-Core-CPU-26.jpg)
INTEL Xeon E5-2697 V4 SR2JV 2.30GHZ 18-Core CPU 2697v4 GRADE A CONDITION @ E
$39.00
![Intel Xeon E5-2680 V3 2.50Ghz 12 Core 30MB Cache LGA 2011-3 CPU SR1XP Tested picture](/store/img/M1EAAOSwdAdjG8AH/s-l225//Intel-Xeon-E5-2680-V3-2-50Ghz-12-Core-30MB-Cache-L.jpg)
Intel Xeon E5-2680 V3 2.50Ghz 12 Core 30MB Cache LGA 2011-3 CPU SR1XP Tested
$5.90
![Intel Xeon Gold 6138 2.0GHz 27.5MB 20-Core 125W LGA3647 SR3B5 picture](/store/img/U4wAAOSw~HJka8-T/s-l225//Intel-Xeon-Gold-6138-2-0GHz-27-5MB-20-Core-125W-LG.jpg)
Intel Xeon Gold 6138 2.0GHz 27.5MB 20-Core 125W LGA3647 SR3B5
$37.00
![HP Z440 Workstation 18Cores Xeon E5-2699 V3 128GB 1TB SSD 2TB WIFI WIN11 R5-340X picture](/store/img/itIAAOSwjT9mKCN6/s-l225//HP-Z440-Workstation-18Cores-Xeon-E5-2699-V3-128GB-.jpg)
HP Z440 Workstation 18Cores Xeon E5-2699 V3 128GB 1TB SSD 2TB WIFI WIN11 R5-340X
$309.99
![HP Z6 G4 Workstation Xeon Silver 4116 1.5TB SSD 1TB HDD 16GB B Win 11 Pro M4000 picture](/store/img/4s0AAOSwYgFmc0S0/s-l225//HP-Z6-G4-Workstation-Xeon-Silver-4116-1-5TB-SSD-1T.jpg)
HP Z6 G4 Workstation Xeon Silver 4116 1.5TB SSD 1TB HDD 16GB B Win 11 Pro M4000
$349.00