LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Installing Windows over Fedora (https://www.linuxquestions.org/questions/linux-general-1/installing-windows-over-fedora-719519/)

pratapchiluveru 04-16-2009 03:41 AM

Installing Windows over Fedora
 
hi everyone!
I have installed both fedora8 and windows in my laptop. I encountered a problem in windows, so i want to re-install the windows. I know that, if I install the windows over linux, then the grub loader will be disabled or lost. Is there any way to get the linux (grub loader) back after installing the windows.
Any answer would be appreciated.
Thanks in advance.

asymptote 04-16-2009 04:26 AM

After you install windows, boot from a livecd of your choice and enter grub by typing in a terminal with root permissions: grub Then you can use the commands to restore grub which are easily located in a google search.

pratapchiluveru 04-16-2009 10:40 AM

Thank you very much for your suggestion

asymptote 04-18-2009 01:04 AM

No problem! How is it working for you?

pratapchiluveru 04-19-2009 06:36 AM

Still I have one problem, I don't have a partition for my boot. I have only / and swap partitions. I tried the following command
root (hd0,5)
but it is giving me error
What can I do now?

asymptote 04-19-2009 07:22 AM

/boot is located in your root "/" partition. You can tell grub to boot from this partition by trying some of the commands at http://www.sorgonet.com/linux/grubrestore/ or any other "restore grub" tutorials via Google. You want to find that stage1 file and then use the "root" command.

pratapchiluveru 04-20-2009 01:33 AM

thank you very much
It worked for me


All times are GMT -5. The time now is 04:00 AM.