On Thursday 06 June 2002 12:09 am, Brian Parish wrote:
> On Thu, 2002-06-06 at 09:55, Jim Tarvid wrote:
> > My guess is that the partition table got sprayed with bad data on power
> > down.
> >
> > if one had a listing of partitions such as that provided by fdisk
> > /dev/hda -l you should be able to rebuild the partition table.
> >
> > Of course having a copy of the MBR would make life easier
> >
> > dd if=/dev/hda of=backup-hda.mbr count=1 bs=512
>
> Good idea.  I'll do that for all my machines and spread copies around my
> LAN.  I presume that to restore the MBR from one of these backups, it's
> just a matter of reversing the "if" and "of", or is there something else
> required?
>


That bit of code also restores the bootloader, which is OK if it hasn't 
changed. Just in case, it's always  a good idea to keep a boot floppy as 
well.

-- 
Hoyt

http://www.maximumhoyt.com


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to