LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   grub problembetween redhat and fedora (https://www.linuxquestions.org/questions/linux-newbie-8/grub-problembetween-redhat-and-fedora-776377/)

Computer_Apurv 12-17-2009 05:20 AM

grub problembetween redhat and fedora
 
Hi!
Friends,I have installed win xp and win 7 on my laptop.I installed redhat 5.2.Everything was ok uptill now.Problem took palce when i installed fedora 11 after redhat.After the complete installation i was unable to boot into redhat.I read about this problem on internet,they say its a GRUB problem,that it,gets overwritten during installation,that is ,fedora overwrites redhat's GRUB.I tried to install redhat's grub to it's root and added redhat to fedora's booting list during fedora's installation,but system could not boot in redhat.Can anybody tell how to install redhat and fedora over the same system?Any help would be appriciated.
THANKS.

Computer_Apurv 12-17-2009 05:22 AM

GRUB fight between fedora and redhat
 
[QUOTE=Computer_Apurv;3795176]Hi!
Friends,I have installed win xp and win 7 on my laptop.I installed redhat 5.2.Everything was ok uptill now.Problem took palce when i installed fedora 11 after redhat.After the complete installation i was unable to boot into redhat.I read about this problem on internet,they say its a GRUB problem,that it,gets overwritten during installation,that is ,fedora overwrites redhat's GRUB.I tried to install redhat's grub to it's root and added redhat to fedora's booting list during fedora's installation,but system could not boot in redhat.Can anybody tell how to install redhat and fedora over the same system?Any help would be appriciated.
THANKS.

~sHyLoCk~ 12-17-2009 05:22 AM

First you have to install Redhat's grub to Redhat's root partition and then you can chainlod to it using fedora's grub.

Regards

Computer_Apurv 12-19-2009 05:08 AM

Hi!
Thanks for the reply.
How to do chainloading?I have read about this.we have to make an entry of operating system in menu.lst (of fedora in my case).I tried it,but i was not able to open menu.lst in fedora.I tried to open it using vi editor.I tried to log in as a root,but vi didn't accept the request.what to do?if you can elaborate what acuatlly chainloading means,how it works? and how it is to be configured(in my case),i would be gtateful to you.
Thanks!

Samotnik 12-19-2009 06:12 AM

Grub natively boot any of the linux distributions, so no one needs this chainloader tricks. Just open menu.lst of redhat, and copy entries for booting up redhat in fedora menu.lst
menu.lst should be placed in /boot/grub/menu.lst

Computer_Apurv 12-19-2009 11:14 PM

Hello,
Samotnik!
I tried to open menu.lst,but failed.
Can you tell me detailed procedure for opening the same.As i wrote earlier,i tried opening that file through vi,but vi is not accepting root login.
Plzzzzzz tell the detailed procedure.!!!!!!!
THANKS!!!!!!!!!!!!!!!!!!!

yancek 12-20-2009 12:50 PM

Can you open a terminal and log in as root in Fedora. Do that and then enter 'su' or 'su -' (without quotes). Then type from the root prompt:

vi /boot/grub/menu.lst

It's pretty hard to advise you without knowing your partition information and what is where. As root in terminal, run the command: fdisk -l and post that information here.

chrism01 12-20-2009 07:05 PM

On RH style systems, the real file is /boot/grub/grub.conf. 'menu.lst' is just a symlink.


All times are GMT -5. The time now is 04:09 PM.