On Wed, Apr 02, 2008 at 04:46:57PM -0400, brian raszap wrote:
> I need to install vista in a computer that has partitions with ubuntu and
> debian. how do i restore the GRUB i currently have to the MBR afterwards?
1) Boot off of your boot/rescue CD of choice into linux.
2) Mount all of your paritions in some useful place (/mnt, /mnt/boot, etc.)
a lot of boot disks will do this for you automatically
3) chroot to that useful place (`chroot /mnt`)
4) run `grub-install /dev/sda` where /dev/sda is the disk you want to boot
off of (and may change depending on your setup)
- Rob
.