Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Since Windows still does not offer means to skip rewriting the MBR, what can I do before reinstalling Windows to get Grub2 back into the MBR as easy as possible? (I'll also appreciate it if the answer then describes how to restore Grub)

share|improve this question
up vote 3 down vote accepted

Some people have been able to get NTLDR to chain to grub: http://stringofthoughts.wordpress.com/2009/04/27/booting-linux-from-ntloader-windows-bootloader/

Although in practice it's easier to use a live CD. I usually do something like:

mount /dev/sda2 /mnt/somewhere # mount the linux partition
chroot /mnt/somewhere bash
mount /proc
grub-install /dev/sda2
share|improve this answer
+1, I took the liberty to quote your answer to my similar question at SU, but if you repost it there yourself I'll accept your post and delete my quote – Tobias Kienzler Mar 18 '11 at 10:26

Nothing. Just make sure that you have a live CD around. After you install Windows and by the way let it overwrite the MBR, just boot into the live CD and restore Grub.

Regarding restoring Grub, it has been asked before.

share|improve this answer
+1 and thanks (I accept pjc50's answer though for the link and the minimal code) edit though your answer here also helps – Tobias Kienzler Mar 17 '11 at 11:28

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.