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 09-11-2009, 10:18 PM   #1
mansoor323
LQ Newbie
 
Registered: Jul 2009
Posts: 17

Rep: Reputation: 0
GRUB does not show windows in boot menu


I hav two 40 GB hard disks.RHEL5 is installed on 1st and Windows on 2nd.
In order to use each OS I manually hav to go and change the "first boot device" option in BIOS setting and boot into required OS.
GRUB doesn't show Windows in its boot menu.How can I make GRUB recognize Windows and boot into both OS using GRUB boot menu?
 
Old 09-11-2009, 10:31 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,153

Rep: Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125
Set RHEL as the boot device, and add the following to /boot/grub/menu.lst (or grub.conf if RH still do that)
Code:
title Windows
rootnoverify (hd1,0)
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1
If that doesn't work, post the output from
Code:
/sbin/fdisk -l
(that's a lower case ell, not the digit one).
 
  


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
Grub will not Load Windows XP or show boot options bajam Linux - Newbie 2 12-18-2008 04:01 PM
grub menu.lst Won't boot Windows XP tschima Solaris / OpenSolaris 2 07-23-2008 08:35 PM
Grub trouble, can't get menu to boot from CD into windows hot01 Ubuntu 28 12-30-2007 01:54 PM
Help w/ GRUB, menu.lst, dual boot Windows XP ryanryan Linux - Newbie 11 04-05-2007 08:26 PM
GRUB - How to add Windows to boot menu? geekgyrrrl Linux - Newbie 4 06-04-2005 10:02 PM

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

All times are GMT -5. The time now is 04:25 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