LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 01-09-2007, 03:23 PM   #1
sachinh
Member
 
Registered: Jul 2004
Location: india
Distribution: RH
Posts: 189

Rep: Reputation: 30
GRUB GRUB GRUB..... error


Hi All ,

After fresh image restoration , GRUB fails to load the operating system and instead fills the screen with an endless sequence of GRUB GRUB GRUB..............

We are pretty sure that there is nothing wrong with the Image that we have restored.

The OS on it is RHEL 4.0 ..... Any help ??
 
Old 01-09-2007, 03:59 PM   #2
psisquare
Member
 
Registered: Sep 2004
Location: Germany
Distribution: Gentoo
Posts: 164

Rep: Reputation: 31
GRUB consists of multiple stages. Usually, only stage1 is installed to the MBR (that is, loaded directly by the BIOS) and the physical location of stage2 (which usually resides in /boot/grub/stage2) is patched into stage1. If you restore the corresponding partition on filesystem level, stage2 can end up being located at a different physical location, leading stage1 to load some random data from the original address.

In short, you need to reinstall GRUB using a rescue disc and either grub-install or a GRUB shell (loaded directly from the rescue disc or by the "grub" command). Both methods are explained in detail in the manual (see "info grub").
 
Old 01-16-2007, 10:02 PM   #3
karan.notorious
LQ Newbie
 
Registered: Jan 2007
Posts: 1

Rep: Reputation: 0
boot the os in rescue mode, after chroot /mnt/sysimage, just enter grub command. If you have stage1 installed then u can see grub> prompt. enter command " root(hd0,0)" ( I hv assumed that your hdd is primary master and boot is installed at first partition ). If it fails then recover stage2 with command "setup(hd0)". After all success load kernel and initrd. cheers
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Grub error 17, and wont reinstall using grub-install! chiefreborn Linux - General 6 06-06-2007 11:29 AM
can some fc4 user mail his grub.conf and tell me how can i make this grub read this amolgupta Linux - Software 1 03-15-2006 05:04 AM
Grub Error 17: Cannot mount selected partition and other Grub problems Sebastian Naitsabes Linux - General 1 07-05-2005 09:33 AM
GRUB bootloader spits out "GRUB hard disk error" Crampedson Linux - Software 2 01-26-2005 07:34 PM
Why grub prompt after installing Grub inder Debian woody 3.0r2? velan Debian 1 04-20-2004 05:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 03:41 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration