LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-08-2011, 10:23 PM   #1
thirstonlinux
Member
 
Registered: Jul 2011
Posts: 62

Rep: Reputation: Disabled
Unable to boot Windows because of Grub error


Hi All,

I am new to Linux. I have installed RHEL 5.4 on my PC with preloaded Windows XP.

Windows was set as the first boot kernel. So if i do not choose which OS to be loaded it will load Windows by Default.

Today I got an error saying GRub Loading Stage2 read error.

Is there any fix for this issue. Atlease I need to load Windows properly.
 
Old 07-08-2011, 11:19 PM   #2
gremlin-touch
LQ Newbie
 
Registered: Jun 2011
Distribution: Slackware
Posts: 12

Rep: Reputation: Disabled
Please post your grub conf file or else it's all guesswork.
 
Old 07-09-2011, 04:26 AM   #3
thirstonlinux
Member
 
Registered: Jul 2011
Posts: 62

Original Poster
Rep: Reputation: Disabled
What do you mean by post conf file?
 
Old 07-09-2011, 10:42 AM   #4
gremlin-touch
LQ Newbie
 
Registered: Jun 2011
Distribution: Slackware
Posts: 12

Rep: Reputation: Disabled
There is a text file that gives instructions to the bootloader. Mine is /etc/grub.conf

Go to the terminal and type "whereis grub.conf"
Open that file via "emacs /etc/grub.conf" or "gedit /etc/grub.conf" , depending on your distro. Do so as root by logging in as root or putting "sudo" in front of the above command. Post the contents of that file.
 
Old 07-09-2011, 02:29 PM   #5
xxxabhash
LQ Newbie
 
Registered: Jul 2011
Posts: 6

Rep: Reputation: Disabled
You can also repair your xp using xp cd.
 
Old 07-09-2011, 10:05 PM   #6
thirstonlinux
Member
 
Registered: Jul 2011
Posts: 62

Original Poster
Rep: Reputation: Disabled
Well the problem is i am unable to login to linux at all. Because the grub loader is corrupted.
I am stuck in a black scren which says GRUB loading stage2 read error and cannot pass this screen.
Since i am in a learning stage if you give me step by step instruction it will be helpful
 
Old 07-09-2011, 11:24 PM   #7
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,502

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
You should be able to use your Red Hat (or any Linux) installation CD. Boot it, go to a terminal and mount your /boot partition for Red Hat so you can take a look at the grub.conf file for starters. Don't know your experience level, if you don't know how to do this, post back.
 
Old 07-10-2011, 02:35 AM   #8
thirstonlinux
Member
 
Registered: Jul 2011
Posts: 62

Original Poster
Rep: Reputation: Disabled
i have RHEL CD. After putting it in the hard disk will it detect automatically. and wat should i do after that. I need to know the step by step process to do this. please help me out
 
Old 07-10-2011, 12:33 PM   #9
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,502

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
The first thing you would need to do is post partition information so we know where your windows partition is. Boot the Red Hat CD and log in to a terminal as root and this command: fdisk -l (lower case Letter L in the command).
 
Old 07-29-2011, 11:00 PM   #10
thirstonlinux
Member
 
Registered: Jul 2011
Posts: 62

Original Poster
Rep: Reputation: Disabled
Issue fixed. I unplugged the hard disk and re plugged it which fixed the issue.

Also your sugestions are very useful.
 
  


Reply



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
[SOLVED] Unable to boot with Ubuntu and Windows 7 - grub bootloader getting removed Robhol Linux - General 1 09-02-2010 03:16 PM
Cannot install Grub,unable to boot windows 7 Mr.Bean Linux - Newbie 2 06-01-2010 04:46 AM
Fedora 9, grub boot: Error 23 -- unable to parse number ThumbTack Linux - Newbie 8 12-05-2008 01:36 PM
Fedora 9 - grub error 15 - unable to boot system jaideep.dhok Fedora 3 07-14-2008 05:21 PM
Unable to boot Windows XP with Grub Nightfox Linux - General 4 10-25-2004 11:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:54 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
Open Source Consulting | Domain Registration