LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   help:Getting back linux after installing windows (https://www.linuxquestions.org/questions/linux-newbie-8/help-getting-back-linux-after-installing-windows-614903/)

VINSTAR 01-20-2008 01:22 AM

help:Getting back linux after installing windows
 
i install fedora7.
but due to some problems i need to
reinstall windows. But after installing windows
system is directly booting into windows. Grub boot menu
is not there. But files of fedora is safe in its partition.
i checked with slax live cd.

is there any way to get back grub's boot menu
without reinstalling Linux

MS3FGX 01-20-2008 01:30 AM

You just need to boot to the install CD and reinstall GRUB; no need to reinstall the OS.

This topic shows how to do it under FC 6, but it will be the same process for pretty much any distribution using GRUB.

VINSTAR 01-20-2008 01:45 AM

it doesnt work
i tried it
when i reinstalled grub with fedora7 cd
i get msg that no changes made to kernal
and the problem dont solved

serafean 01-20-2008 08:36 AM

Hi,

Boot a liveCD, mount the fedora root partition, chroot into it, fire up the grub command line, select the /boot partition, and install grub. :
Code:

#mount /dev/sda1 /mnt/root
#chroot /mnt/root /bin/bash
#grub
>root (hd0,0)
>setup (hd0)
>quit
#exit

Then reboot your computer, GRUB should be back. Substitute sda1 by your root partition; root by the mount point of your choice; hd0,0 by the disk/partition numbers (the first disk being 0, same for the first partition.

Serafean

VINSTAR 01-20-2008 10:48 AM

thanks serafean


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