?
Solved

15 Jul 09 13 - Not able to find Boot Menu in Dual Booting System (Windows & RHEL5)

Posted on 2009-07-08
25
Medium Priority
?
255 Views
Last Modified: 2013-12-15
Using Windows Xp Professional on Compaq Presario C700,and i installed RHEL v5.2 on it,GRUB installed on First Sector of boot Partition of RHEL.The problem is am not able to find Boot Menu of Windows & Linux,where i can only boot from Grub i.e.. Linux not Windows Xp.I even Fix MBR by using Bootable XP CD (fixmbr) in repair mode,now windows Xp is booting (From HDD) but booting from Linux is not possible,as Boot Menu is not appearing.

Please suggest exact solution by depicting step by step to get display of Boot Menu at start-up,as i want to use Windows & RHEL5 on my Laptop.Thanks
0
Comment
Question by:rajhyd
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 14
  • 9
25 Comments
 
LVL 7

Expert Comment

by:martin_2110
ID: 24803415
boot of the redhat install cd.

type linux rescue

to go through the options it will ask you to mount your drive, make sure you select to mount as read/write, (dont mount it as read only)

pick all the defaults for everything else.

from the command line run
chroot /mnt/sysimage

run
grub-install

All this will get your grub menu back.

----
exit and reboot
----

boot in to linux  via grub prompt

after your all the way up add the following to the end of /etc/grub.conf

-
title Windows
rootnoverify (hd0,0)
chainloader +1
---


reboot you should be able to select windows or linux.





0
 

Author Comment

by:rajhyd
ID: 24829366
Sorry martin for late reply, At "grub-install" command in rescue mode it displays "install_device not secified".& Also displaying some tips to help out how to install it with Syntax like " grub-install [OPTION] install-device ".
                                 
When i trying to install grub in "/boot/" with command-- "grub-install /boot/" displaying message
 "/usr/src/grub/i386-redhat/stage1: Not found".




























0
 
LVL 7

Accepted Solution

by:
martin_2110 earned 1500 total points
ID: 24829434
it will most likely be grub-install /dev/sda or /dev/hda


so
chroot /mnt/sysimage
grub-install /dev/sda
or
grub-install /dev/hda
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

Author Comment

by:rajhyd
ID: 24829487
same error -  "/usr/src/grub/i386-redhat/stage1: Not found". when trying the command "grub-install  /dev/sda " as my Hard Drive is SCSI.
0
 
LVL 7

Expert Comment

by:martin_2110
ID: 24829512
strange did you run the chroot /mnt/sysimage ? where there any errors when the rescue cd mounted your drives?
0
 

Author Comment

by:rajhyd
ID: 24829550
Yes i run, i will explian you clearly what i given commands in rescue mode  

1) mount
2) chroot /mnt/sysimage ( with No Errors )
3) grub-install /dev/sda

At this command getting display of   "/usr/src/grub/i386-redhat/stage1: Not found".
0
 
LVL 7

Expert Comment

by:martin_2110
ID: 24829559
Do you see kernels in /boot? can you post the output of ls /boot and ls /boot/grub



Try running this instead.
grub-install --root-directory=/boot /dev/sda

0
 
LVL 7

Expert Comment

by:martin_2110
ID: 24829560
all the above should be done after the chroot.
0
 

Author Comment

by:rajhyd
ID: 24829574
here i would like to inform one thing while enetring to Linux rescue mode after some process steps like languge selcting,keyboard etc.. Just after searcing RHEL Installation getting an error " An error occured trying to mount some or all of your system.Some of it may be mounted under /mnt/sysimage.Press to get a shell.The system will reboot automatcally when you exit from the shell."
0
 

Author Comment

by:rajhyd
ID: 24829599
displays same message "/usr/src/grub/i386-redhat/stage1: Not found",when trying the command "grub-install --root-directory=/boot /dev/sda"
0
 

Author Comment

by:rajhyd
ID: 24829602
when i try to list the files in /boot it list nothing & showing empty as "total 0"
0
 
LVL 7

Expert Comment

by:martin_2110
ID: 24829618
ya it did not mount /boot thats what that error you saw was about. Can you post the output of
fdisk -l
0
 

Author Comment

by:rajhyd
ID: 24829629
"fdisk -l" displays " cannot open /proc/partitions "
0
 
LVL 7

Expert Comment

by:martin_2110
ID: 24829637
ok exit the chroot. then run fdisk -l. if you have typed chroot a few times you will need to keep typing exit. run fdisk each time and stop when you get output that is not an error.
typing "exit" will exit the shell.
0
 

Author Comment

by:rajhyd
ID: 24829764
Ya, now it displays partion details
0
 
LVL 7

Expert Comment

by:martin_2110
ID: 24829824
can you post the out put.
0
 

Author Comment

by:rajhyd
ID: 24829852
How i have to post the Output, as i am doing conversation with you by another Desktop System of Windows Xp
0
 
LVL 7

Expert Comment

by:martin_2110
ID: 24829860
maybe a screen shot or photo. I need to see how many partitons and what size and type they are.
0
 

Author Comment

by:rajhyd
ID: 24829878
i could not able to take screen shot Mr.martin
0
 

Author Comment

by:rajhyd
ID: 24829910
please find attach file
11072009123.jpg
11072009124.jpg
0
 

Author Comment

by:rajhyd
ID: 24830019
Can any one give response quick
0
 

Author Comment

by:rajhyd
ID: 24846824
Actually i sort out the problem by insatlling RHEL 5.0 again with giving space to GRUB in MBR which is already exist of a Boot Loader of Windows and after booting to Linux i just change boot time delay to 30 sec & Default boot to Windows in grub.conf file in /etc/.Now i can able to see the Boot Menu at Boot Time.
 
Thanks Mr.Martin to your quick replies.
0
 

Author Closing Comment

by:rajhyd
ID: 31601088
Thank You
0

Featured Post

DFW AZURE MEETUP TONIGHT FRI 6PM

We will be discussing what Azure Stack is, how does it fit into the suit of offerings that Azure has currently, and where can it fit into your organizations technology stack. We will also be discussing limitations of the platform while covering various applicable scenarios.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses
Course of the Month10 days, 18 hours left to enroll

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question