Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Re: My computer's last downtime was due to...

by naikonta (Curate)
on Jul 24, 2007 at 15:24 UTC ( #628499=note: print w/replies, xml ) Need Help??

in reply to My computer's last downtime was due to...

I'm using a laptop so I always shutdown it on regular basis, up to 3-4 times a day. I once, however, let it on for a week. But, my truly downtime for me happened about two weeks ago. I stupidly use dd in the wrong way to copy a partition. I had 20 partitions, and I wanted to copy the content of hda14 to hda10. Instead of copying the image, I blew up the partition table and I lost the 11th partition onwards.

It took me a week to recover most of the partitions back, but for some reason, I couldn't rescue data from two partitions, not in easy way (I'm not giving up yet though). Now, none of my two Linux installations are fully working in the same state before the disaster.

I'm using another laptop now, reinstalling a distro, and in the process of setting up everything to build my development environment: web server, rdbms, CPAN, etc, you know.

A very very very expensive lesson for me: before doing high-potential-destructive-operation, think twice, no, no, think three, four, or five times. Well, the more you think the better. Many rescue tools are available out there, and they're getting better and smarter. But things are not always going smooth.

Open source softwares? Share and enjoy. Make profit from them if you can. Yet, share and enjoy!

Replies are listed 'Best First'.
Re^2: My computer's last downtime was due to...
by hrr (Monk) on Jul 24, 2007 at 18:45 UTC
    Two random hints:
    1. Access your disk with parted and use the "rescue" command to find the partition locations.
    2. Backup your partition table by copying it with dd if=/dev/hda ... to a safe place.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://628499]
and the universe expands...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2018-06-20 00:59 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (116 votes). Check out past polls.