[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Disaster recovery help, please



On Wed, 2003-11-12 at 18:03, stan wrote:
> Last night I was peacefully using my happy little Debian machine, 
> when it froze. To make a log sad story short, it was a cataostrophic 
> disc failure (still in waranty it turns out).
> 
> The good news, is that I have Amanda runing every night, so I really
> don't think I will lose anything. However I have a question about
> how to recover from this.
> 
> I plan on restoring the complete amanda backup of the disk to
> another disk, on a running machine. So far so good. At that point
> I _think_ I should be in good shape, except for boot blocks, right?
> 
> So, given that I was using liol, what should I do to restore the boot 
> blocks?

Once you've copied the data back onto the new drive just boot from a
rescue disc or a Debian install disc and re-run lilo. In the case of the
Debian install disc (Woody), you'll want to do either:

rescue root=/dev/yourrootpartition

or

rescbf24 root=/dev/yourrootpartition

Unless you've been using a 2.2 series kernel, I'd suggest using
rescbf24.

Once you're booted up (ignore any errors for now), just run lilo as
root, take out the boot disc, and reboot. You should be back up and
running in no time.

p.s. I commend you for making regular backups. I recently had one of the
drives in my RAID 0 array start acting up and almost lost all of my
data. Luckily, I was able to recover the majority of my home directory
(the only really important stuff was there anyway), but it would have
been MUCH easier had I just had a separate backup somewhere.

-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: