Linux – Restore GRUB after Windows installation (Arch Linux)

bootgrublinuxwindowswindows 7

After installing Windows 7 Ultimate x64 on a machine running Arch Linux the MBR became rewritten (I do not think GRUB has been uninstalled). Arch is now unbootable except if I use the live-CD to boot, and then choose from the local drives.

The disk where Win7 was installed is hd0 and the one where Arch is hd1.

Is there a way to restore GRUB and make the system dual-booting? It would be best if it could be done from within the Arch environment (after all I have found the workaround with the live-CD).

Best Answer

Try runing "grub-install" from your arch enviroment. If you didn't have windows before, edit the grub configuration and add windows to your config.