LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Grub freezes with "GRUB" text on HP Visualize X-Class (https://www.linuxquestions.org/questions/linux-general-1/grub-freezes-with-grub-text-on-hp-visualize-x-class-273852/)

trainpic 01-04-2005 03:57 PM

Grub freezes with "GRUB" text on HP Visualize X-Class
 
Hey.
GRUB has been doing some weird things on this system.
It's main hard drive is a 20GB Ultra SCSI. I also have a 6GB IDE Hard Drive that I have been trying to build LFS on. I am running Fedora Core 2 I recently attempted to boot the machine up. It stopped with the text "GRUB" on the screen.
Normally it pauses here for about 1 second then adds "loading stage2", but it froze completely. I booted up with the FC2 rescue cd and ran grubinstall, this worked fine but it still froze trying to boot from the hard drive.

mikEdub 01-04-2005 08:12 PM

it froze on the GRUB screen after doing grubinstall?

I had this problem after updating to the newest version of grub in gentoo. after it got updated i then had to use knoppix and chroot into my gentoo install then start grub and reconfigure it.

after you chroot run 'grub'. then type in this with your info. ( you might be (sd0,0) because your scsi. other than that the comments will help you )

grub> root (hd0,0) (Specify where your /boot partition resides) < - dont actually type this in
grub> setup (hd0) (Install GRUB in the MBR)
grub> quit (Exit the GRUB shell)

aberios 04-01-2007 11:21 AM

Use the [d] option
 
I've been struggling with the same problem, and have finally come across a solution. Here's my grub session:
grub> root (hd0,0)
grub> setup (hd0)
Checking if "/boot/grub/stage1" exists... no
Checking if "/grub/stage1" exists... yes
Checking if "/grub/stage2" exists... yes
Checking if "/grub/e2fs_stage1_5" exists... yes
Running "embed /grub/e2fs_stage1_5 (hd0)"... 17 sectors are embedded.
succeeded
Running "install /grub/stage1 (hd0) (hd0)1+17 p (hd0,0)/grub/stage2 /grub/menu.lst"... succeeded
Done.

If I then take the install command that was automatically run, and run it manually before quitting, but add the [d] option, it installs properly:
install /grub/stage1 d (hd0) (hd0)1+17 p (hd0,0)/grub/stage2 /grub/menu.lst

An explanation of the [d] option can be found here:
http://www.gnu.org/software/grub/man...b.html#install

Hope this helps.

mr_git 10-27-2009 01:32 AM

thanks aberios
 
...came across this dusty old thread when I'd installed WinXP and Ubuntu dual-boot onto a Toshiba laptop, and was just getting 'GRUB' in the top left corner of the screen on boot, and the machine would be frozen there.

If I put the WinXP CD in and let the BIOS start the boot process with that (but didn't press any key to boot from CD), then GRUB would load up from the hard disk as normal.

I solved the problem by getting to GRUB using the boot CD like this, then dropping to the command line and following aberios's instructions to re-install GRUB using the 'd' option. This seems to have sorted it.

Thanks very much - still useful advice several years later!


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