LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   grub loader prob (https://www.linuxquestions.org/questions/linux-newbie-8/grub-loader-prob-296668/)

rinku 03-02-2005 07:56 AM

grub loader prob
 
HELLO sir

i have problem with my linux(redhat release 9)operating system whenever i installed
windows after installing the linux the grub loader automaically removed from the
booting and only the windows option appears for login

so, how i solve this problem guide me with a proper solution

thanking you

Rahul Kanojia(RINKU)

gerardt 03-02-2005 08:16 AM

Windows always overwrites the MBR. (Thats Windows)
Boot your linux OS with a rescue system. (At the prompt on CD 1 type "linux rescue"
find the root filesystem.
type grub <enter>
type find /etc/inittab
it will return something like (hd0,2)
the above device will be /dev/hda3 as grub uses a zero base
mount the device under /mnt

gerardt 03-02-2005 08:18 AM

Apologies entered by mistake.

Continued....

type mount /dev/hd?? /mnt (Questions marks are for your specific device)
type grub-install --root-directory=/mnt /dev/hd??
reboot


All times are GMT -5. The time now is 10:51 PM.