Home > Linux, Ubuntu, Windows 7 > Reinstall Grub 2 after installing Windows 7 or reinstalling Windows Bootmanager (MBR)

Reinstall Grub 2 after installing Windows 7 or reinstalling Windows Bootmanager (MBR)

An easy way is to use a Ubuntu livecd.

  • Boot Ubuntu 11.10 with the livecd
  • Start the disk utility with the command palimpsest to find the partition where Ubuntu was installed to. On my hard disk it was /dev/sda5.

  • Use your partition number instead of the 5…:
sudo -i
mount /dev/sda5 /mnt
grub-install --root-directory=/mnt/ /dev/sda
  • restart
Categories: Linux, Ubuntu, Windows 7
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: