System re-instalation & Grub problem
I've got a cuple of systems installed on my machine, but somethings seems to have gone wrong with the windows system. And rather than trying to fix the problem I'd like just to re-install the system.
Here's how the hdd is set up:
/dev/sda1 (ntfs) <--- WinXP Pro
/dev/sda2 (fat32) <--- Data Partition
/dev/sda3 (ext3) <--- Ubuntu (the primary sytsem)
/dev/sda5 (swap) <--- Swap
/dev/sda6 (ext3) <--- Fedora
/dev/sda7 (fat32) <--- Win98
Ubuntu was the last system to be installed and so the Ubuntu Grub is used as the boot agent, whitch sutes me just fine since it is simple and elegant.
But the problem is if I re-install WinXP the boot loader gets replaced by the win. boot loader. Becouse previously on another machine when I tryed to re-install the Grub of Ubuntu I was unsuccessful.
So my question is, does anyone know a way that I could re-install the win. system and still keep the current Grub boot loader?
Would it work if I made a backup of the current MBR and after re-install of the win. system just simply restored the MBR backuped before the re-install?
And if so how can I backup and restore the current MBR?
Thanks for the help