Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have Windows 7 and Ubuntu 12.04 with grub providing dual boot. I would like to upgrade the Ubuntu via a re-installation and keep my grub so I can dual boot.

I am at the point in the installation process where I am presented with the screen:

"This computer currently has Windows 7 and Ubuntu 12.04.2 LTS".....

Am I ok selecting "Erase Ubuntu 12.04.2 LTS and reinstall"? My grub will not get deleted?

share|improve this question
2  
Grub won't be messed with until the end, when the installer will overwrite grub. The installer will then run the command, update-grub, at which point it will see that you have windows installed, and create a new menu. You should be safe. –  Max Tither Jun 15 '13 at 18:55
    
If you install ubuntu again it's won't mess up your grub. But problem will happen if you want to reinstall windows :) as because windows don't like other OS :P –  jibon57 Jun 15 '13 at 19:53
add comment

1 Answer 1

Since the grub config file is stored on the partitions that you're going to be formatting, yes, your previous GRUB installation will disappear - but as Max said above in comments, it will run update-grub to generate a new menu. It should pick up Windows and any other GRUB entries that the previous Ubuntu installation would have added to the menu.

share|improve this answer
add comment

Your Answer

 
discard

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.