Re: restoring MBR
On Sun, 31 Jul 2011 20:14:17 +1000, Andrew McGlashan wrote:
> On Sat, July 30, 2011 6:40 am, Camaleón wrote:
>>>>> One of my (home made) overnight cron jobs does this:
>>>>>
>>>>> dd if=/dev/sda \
>>>>> of=$DST/mbr_backup.bin \
>>>>> bs=512 \
>>>>> count=1 >> $LOG 2>&1
>
> Okay, well this script isn't perfect and it sure won't help after the
> problem, but it will save all possible MBRs and fdisk output for a bunch
> of candidate disks:
(...)
This should be done _at install time_ when things can badly break. Once
you've lost your MBR making a backup of the _wrong_ MBR is of course
useless.
Greetings,
--
Camaleón
Reply to: