Vista bootmanager + Grub

in

when I installed Vista to play with DirectX 10 it wiped the MBR of my linux disk, that is Grub. fixing it was as simple as booting from a pendrive and updating Grub. but then Vista wouldn't show up in the Grub menu and not even boot directly from the disk its installed on.
since the recovery DVD wouldn't detect the ghosted Vista installation the "Repair Boot" option failed.
here's how I managed to restore the Vista bootmanager:

  • (physically) disconnect the linux disk - or windows will again install its bootmanager there
  • boot the Vista DVD and choose "repair" and a command prompt
  • run  diskpart and make sure your Vista partition is set "active"
  • run bootrec /fixmbr
  • run bootrec /fixboot
  • restart "repair" from DVD again and choose the (now hopefully visible) location
  • now the "Repair Boot" option should work fine and you can boot Vista again

plug your linux disk back in, boot linux and run sudo update-grub
et voila: Grub with an option to boot into M$' latest OS codename "more bloat for the money".