Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Usually when we install Windows after installing GNU/Linux, we usually lose the Grub. Which is the best way to recover grub when we lost grub or what are the possible different ways.

share|improve this question

1 Answer 1

You need to boot system using LiveCD of ubuntu and run below command to install grub :

sudo grub-install /dev/XXX

above command will install grub and it also Keep windows bootloader NTLDR into grub , then you can choose any one OS while boot.

/dev/XXX this is your HDD where ubuntu installed (eg: grub-install /dev/sdb).

Please refer below link for more information :

https://help.ubuntu.com/community/RecoveringUbuntuAfterInstallingWindows

share|improve this answer

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.