LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-30-2010, 06:08 PM   #1
Doknik
LQ Newbie
 
Registered: Jun 2010
Posts: 26

Rep: Reputation: 1
Grub boots into RHEL 5 instead of Windows XP


Hi ,
I have a dual boot set up on my Dell Inspiron 1525 laptop , I have Windows Vista originally installed and i installed RHEL 5 a while ago they used to sit happily together.However After upgrading RHEL 5 from 5.3 to 5.5 yesterday and configuring grub to boot into Vista by default it refuses to do that and boots into RHEL 5 by default.
The laptop used to boot straight into vista but i thought i,d learn how grub works by configuring it, after the rhel5 upgrade.
But after changing the DEFAULT value from 0 to 1 and then back from 1 to 0 still grub only boots into RLinux RHEL 5 by default regardless.

Can someone help me please i need to make my laptop boot straight into Windows Vista by default and not RHEL 5

Any help would be greatly appreciated .I am sure this is an easy one for someone i am a GRUB newbie help please you gurus out there

This is what my grub.conf looks like
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,1)
# kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
# initrd /initrd-version.img
#boot=/dev/sda
default=1
timeout=5
splashimage=(hd0,1)/grub/splash.xpm.gz
hiddenmenu
title Red Hat Enterprise Linux Server (2.6.18-194.el5xen)
root (hd0,1)
kernel /xen.gz-2.6.18-194.el5
module /vmlinuz-2.6.18-194.el5xen ro root=/dev/VolGroup00/LogVol00 rhgb quiet
module /initrd-2.6.18-194.el5xen.img
title Red Hat Enterprise Linux Server (2.6.18-194.el5PAE)
root (hd0,1)
kernel /vmlinuz-2.6.18-194.el5PAE ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.18-194.el5PAE.img
title Other
rootnoverify (hd0,0)
chainloader +1
 
Old 06-30-2010, 06:12 PM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,508

Rep: Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490
Your grub.conf file has two entries for Red Hat and vista is the third. Change the default to 2 in place of 1.

I would suggest you put a hash mark )()to the left of the line hiddenmenu at the top if you wish to see the menu on boot.
 
1 members found this post helpful.
Old 06-30-2010, 06:53 PM   #3
Doknik
LQ Newbie
 
Registered: Jun 2010
Posts: 26

Original Poster
Rep: Reputation: 1
Yancek,thanks very much i changed it and it works , pretty simple ..perhaps i should do more with grub , i had a different grub issue with a different machine but i will post that seperately thanks very much
 
Old 06-30-2010, 08:42 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
one other odd thing you seam to have two different types of kernels installed
1) el5xen
2) el5PAE

xen and pae
 
  


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
windows 7 wipes grub everytime it boots bhanuvrat SUSE / openSUSE 11 09-10-2011 06:33 AM
How to increase Grub boot wait time on Dual OS RHEL 5 and Windows XP mbj_linux Linux - Newbie 1 04-28-2009 03:27 PM
Fedora 9 boots (long delay) as single core if I go to GRUB menu, otherwise boots fine saravkrish Fedora 1 05-27-2008 07:59 AM
/grub/menu.lst file disappeared but computer still boots (grub) rrrssssss Linux - General 5 04-08-2007 09:02 AM
GRUB boots Windows 2000 but not Linux methuselah Linux - Newbie 5 09-01-2004 06:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:54 AM.

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