LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   how to reinstall grub (only) again to have dual boot (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/how-to-reinstall-grub-only-again-to-have-dual-boot-696223/)

avd122 01-09-2009 11:09 PM

how to reinstall grub (only) again to have dual boot
 
previously i had vista and fedora installed on my vaio. But i reinstalled vista and removed grub using super grub but my fedora installation is still intact so please tell me how to reinstall grub without reinstalling fedora so that i can have dual boot vista and fedora

jailbait 01-09-2009 11:21 PM

Boot a live CD. Mount your Fedora partition. Your grub configuration is in /boot/grub/menu.lst in your Fedora partition. Set up menu.lst the way that you want with a text editor. Then use the chroot command to change root to your Fedora / partition. Then install grub on the MBR using the grub-install command.

-----------------------
Steve Stites


All times are GMT -5. The time now is 02:15 AM.