LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 01-04-2005, 04:57 PM   #1
trainpic
Member
 
Registered: Apr 2004
Location: Ohio
Distribution: Ubuntu 6.06 LTS (Ubuntu, Edubuntu, Ubuntu Server)
Posts: 77
Blog Entries: 2

Rep: Reputation: 15
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.
 
Old 01-04-2005, 09:12 PM   #2
mikEdub
LQ Newbie
 
Registered: Dec 2004
Distribution: Gentoo, GentooX
Posts: 21

Rep: Reputation: 15
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)
 
Old 04-01-2007, 12:21 PM   #3
aberios
LQ Newbie
 
Registered: Apr 2007
Posts: 2

Rep: Reputation: 0
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.
 
Old 10-27-2009, 02:32 AM   #4
mr_git
LQ Newbie
 
Registered: Dec 2005
Distribution: Ubuntu
Posts: 10

Rep: Reputation: 1
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!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Gentoo... grub problems... "/boot/grub/stage1" exists... no halo14 Gentoo 5 02-06-2011 05:50 PM
how can i replace "lilo" with "grub"....... b0nd Linux - Newbie 5 04-18-2005 05:52 AM
GRUB bootloader spits out "GRUB hard disk error" Crampedson Linux - Software 2 01-26-2005 07:34 PM
GRUB GRUB GRUB GRUB "Whats Going on?" Gaweph Linux - Newbie 6 03-26-2004 11:40 AM
RH "null" beta system freezes right after printing "INIT" markus1982 Linux - Hardware 0 09-09-2002 04:31 PM


All times are GMT -5. The time now is 07:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration