LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Problem in Grub (https://www.linuxquestions.org/questions/linux-newbie-8/problem-in-grub-618563/)

farooqhussain 02-04-2008 07:15 AM

Problem in Grub
 
Hello Everyone,

I have recently start use Fedora. I have problem that I have change my Grub file myself but could not do it properly. So, now I have a problem that Fedora in not loading. It will stand on Grub> prompt when its boots.

PTrenholme 02-04-2008 07:24 AM

What changes did you make? Why did you make those changes?

Most editors will have made a backup file: /boot/grub/grub.conf~, and you could do a mv /boot/grub/grub.conf~ /boot/grub/grub.conf to revert your changes.

farooqhussain 02-04-2008 07:33 AM

I did know how to do this please tell me how i reach there. bcz my system is standing Grub promt.



Quote:

Originally Posted by PTrenholme (Post 3045538)
What changes did you make? Why did you make those changes?

Most editors will have made a backup file: /boot/grub/grub.conf~, and you could do a mv /boot/grub/grub.conf~ /boot/grub/grub.conf to revert your changes.


PTrenholme 02-04-2008 10:59 AM

Can you enter commands at the grub> prompt? If you can, the help command will list the available commands.

Perhaps all you need to do is enter the boot command.

Stéphane Ascoët 02-04-2008 11:12 AM

Grub enable to start interactively
 
Quote:

Originally Posted by PTrenholme (Post 3045721)
Can you enter commands at the grub> prompt? If you can, the help command will list the available commands.

Perhaps all you need to do is enter the boot command.

If it doesn't work, try "root (hd0,0)" if your Fedora /boot is on the first partition of the first HD.
Then, try "configfile /boot/grub/menu.lst" (autocompletion works)

PTrenholme 02-04-2008 03:11 PM

Quote:

Originally Posted by Stéphane Ascoët (Post 3045736)
If it doesn't work, try "root (hd0,0)" if your Fedora /boot is on the first partition of the first HD.
Then, try "configfile /boot/grub/menu.lst" (autocompletion works)

Stéphane: He's using a Fedora system. Those systems use /boot/grub/grub.conf rather than /boot/grub/menu.lst. There is a symlink from /etc/menu.lst to /boot/grub/grub.conf defined by default in most Fedora installations, but that's not usable by the GRUB.

farooqhussain: If you could describe what you did to mess up your boot menu, perhaps we could offer more specific advice.

farooqhussain 02-04-2008 11:27 PM

Quote:

Originally Posted by PTrenholme (Post 3045954)
Stéphane: He's using a Fedora system. Those systems use /boot/grub/grub.conf rather than /boot/grub/menu.lst. There is a symlink from /etc/menu.lst to /boot/grub/grub.conf defined by default in most Fedora installations, but that's not usable by the GRUB.

farooqhussain: If you could describe what you did to mess up your boot menu, perhaps we could offer more specific advice.

PTrenholme: I have install Fedora 5.0 some days ago in my office system. I my using Red Hat Linux at home with dual boot Windows XP and Red Hat. After the deleted the partition of Linux am I facing a problem in that is stop boot and only right Grub error. For this I have search that in recovery console I have to type fixmbr command. And i did that my home pc is working after this. But their i find a method to change my grub file i want a change i my grub file to that it will boot with asking any question (5 Sec Time). I made changes in /boot/gurb.conf there i found i did not made my change changes correctly. When i restart my Fedora the big blue screen comes and give my prompt Grub>. after this what i will do. If you have yahoo or hotmail Address then i will send to the screen shoat of this.

PTrenholme 02-05-2008 02:25 PM

Quote:

Originally Posted by farooqhussain (Post 3046384)
PTrenholme: I have install Fedora 5.0 some days ago in my office system.

Fedora Core 5 has not been supported for several years. Using an unsupported system in an office may be quite risky, since you will get no security updates.
Quote:

I my using Red Hat Linux at home with dual boot Windows XP and Red Hat.
O.K. Are you having problems withe your home system or your office system?
Quote:

After the deleted the partition of Linux am I facing a problem in that is stop boot and only right Grub error. For this I have search that in recovery console I have to type fixmbr command.
The recovery console and fixmbr command are Windows-specific. When you ran fixmbr that should have erased GRUB from the MBR of the XP boot drive.
Quote:

And i did that my home pc is working after this.
Do you mean that only XP was working on your home system? If your dual-boot home system was booting from the XP boot drive, GRUB should have been erased by the fixmbr command, and no longer available.
Quote:

But their i find a method to change my grub file i want a change i my grub file to that it will boot with asking any question (5 Sec Time). I made changes in /boot/gurb.conf there i found i did not made my change changes correctly. When i restart my Fedora the big blue screen comes and give my prompt Grub>. after this what i will do. If you have yahoo or hotmail Address then i will send to the screen shoat of this.
Now I am confused.:confused: The only Fedora installation you've mentioned is the obsolete and unsupported FC 5 system installed at your office. If we're talking about that new installation, then my suggestion would be to download the Fedora 8 Live CD and install it on your office system and to then install any additional application you need from the Internet. The Live CD will install a new GRUB in the MBR, and you can then try "tweaking" the grub.conf file again.


All times are GMT -5. The time now is 06:56 PM.