LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Problems with GRUB dissappearing (https://www.linuxquestions.org/questions/linux-newbie-8/problems-with-grub-dissappearing-381616/)

Enigma_Tl 11-09-2005 07:52 PM

Problems with GRUB dissappearing
 
I have Win 2k and Fedora 4 (2.6 Kern) on my system and for some reason the GRUB loader keeps dissappearing and booting directly into Windoze. I was told that you could get it to reinstall it's self but I am not sure WHY it keeps dissappearing.

Also, what do you have to do in order to get the GRUB to reinstall its self?


Thanks for the Help...

Nylex 11-10-2005 06:14 AM

I'm not sure, but it sounds like it could be that the time delay before GRUB boots the default entry is set to be quite short.

You should be able to find a way to boot your Fedora installation using one of your CDs (but I don't know the procedure, as I'm used to Slackware) and then edit your grub.conf/menu.lst file.

When you've managed to boot your system, look for the line in the above file that says "timeout x", where x is the number of seconds to wait.

Also, you can reinstall GRUB with the command grub-install.

HTH a bit.

ethics 11-10-2005 07:26 AM

Yeah the GRUB default timer is really short ,and if you set windows to default it's probably the problem.

steps:

Boot into your rescue CD, follow the steps into rescue mode.

it should mount your current Linux install to /mnt/sysimage

once at the rescue terminal type

Code:

chroot /mnt/sysimage
This effectively moves your session into your linux install, from there you can type

Code:

vi /etc/grub.conf
change the timer value there which means GRUB waits longer before booting your default OS (giving you time to choose), you can also change the default there if you want to.

tinybit 11-18-2005 09:54 PM

GRUB and LILO always conflict with Windows. And GNU GRUB is not so robust, causing many problems during boot.

So try GRUB for DOS please. It is a cross-platform boot loader based on GNU GRUB. The GRUB.EXE can be started from DOS/Win9x; and GRLDR can be started from BOOT.INI of Windows NT/2K/XP/2003; and even more, the GRUB.EXE can be started from LINUX via the KEXEC tool.

By using GRUB.EXE or GRLDR, you don't have to touch your MBR. It is the safest way coexisting with DOS/Windows.

You needn't install GRUB for DOS. Just run GRUB.EXE from DOS, or append a line of "C:\GRLDR=START GRUB" into your BOOT.INI(restart and select the "START GRUB" menu item), that will do.

Download GRUB for DOS here: http://freshmeat.net/projects/grub4dos/

There is a fat12grldr.img file with the GRUB for DOS release. You can create a GRUB bootable floppy with this fat12grldr.img file.

Or, you can just copy GRUB.EXE to your DOS floppy and run GRUB.EXE to enter the GRUB environment.


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