Help with a little dd damage!



Hi Folks

This post could equally be titled - is there a God?

Yesterday I ran this command:
[root@morgansmachine DiskBUImagesEtc]# dd if=/dev/sda of=pocketpc.rescue bs=1M count=33
(No output, just bash history.)

Today I ran these commands:
[root@morgansmachine DiskBUImagesEtc]# dd if=/dev/sda of=2ndstage.rescue bs=1K count=1280
1280+0 records in
1280+0 records out
1310720 bytes (1.3 MB) copied, 0.0535238 s, 24.5 MB/s
[root@morgansmachine DiskBUImagesEtc]# chown morgan: ./2ndstage.rescue
[root@morgansmachine DiskBUImagesEtc]# dd if=zImage-LAB-20060421.htc of=/dev/sda
2348+0 records in
2348+0 records out
1202176 bytes (1.2 MB) copied, 0.117155 s, 10.3 MB/s
[root@morgansmachine DiskBUImagesEtc]#

Both yesterday and today I should not have used /dev/sda, but should have used /dev/sdc... Ouch...

Now I seem to have an unallocated partition of some 37.26GB where once existed my carefully constructed laptop hard drive.

Everything seems to be running fine, but I expect if I reboot - I wont! I guess I've just wiped out my MBR or something close.

So, fingers firmly crossed, have I managed to copy enough of my hard drive with the first two commands to be able to patch back the catastrophic damage I seem to have done with the last command. Could someone more confident than I give me some instruction:)

Any help desperately welcome.

Regards,
Morgan.
--
Getting errors: "There are problems with the signature" (or similar)?
Update your system by installing certificates from CAcert Inc, see here:
http://wiki.cacert.org/wiki/BrowserClients?#head-259758ec5ba51c5205cfb179cf60e0b54d9e378b
Or, if Internet Explorer is your default browser, simply click this link:
http://www.cacert.org/index.php?id=17

Morgan Read
NEW ZEALAND
<mailto:mstuffATreadDOTorgDOTnz>

fedora: Freedom Forever!
http://fedoraproject.org/wiki/Overview

"By choosing not to ship any proprietary or binary drivers, Fedora does
differ from other distributions. ..."
Quote: Max Spevik
http://interviews.slashdot.org/article.pl?sid=06/08/17/177220

RMS on fedora:
http://fedoraproject.org/wiki/FreeSoftwareAnalysis/FSF

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



Relevant Pages

  • HELP
    ... I was trying to get the unsubscribe command and did not realize my message went to the list. ... I am no longer using Fedora, so was trying to unsubscribe myself from the list. ... What DHCP command to use, to get DNS ... spec file for rpms ...
    (Fedora)
  • Re: Switching from tcsh to bash as an interactive shell
    ... >> Anyone care to clue me in as to some of the neato features bash has over ... But isn't that what tcsh does? ... I have never been able to make out how bash history ... Bits of command appear and disappear, and I don't know if one ...
    (comp.os.linux.misc)
  • Re: Help with a little dd damage!
    ... Partition 3 has different physical/logical beginnings: ... Feb 28 20:20:57 morgansmachine kernel: EXT3-fs: write access will be enabled during recovery. ... So, fingers firmly crossed, have I managed to copy enough of my hard drive with the first two commands to be able to patch back the catastrophic damage I seem to have done with the last command. ... "By choosing not to ship any proprietary or binary drivers, Fedora does ...
    (Fedora)
  • Re: OSR 6.0
    ... I have an SCO OSR 6 server and I would like the "history" feature like linux ... command line editing such as bash or ksh. ...
    (comp.unix.sco.misc)
  • Re: intelligent unix shells
    ... >> I issue the same command several times it still only shows up once as ... >> the last command in the history, ... question was about "unix shells(csh, bash, sh)". ...
    (comp.unix.shell)