LinuxQuestions.org
Help answer threads with 0 replies.
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 10-14-2007, 09:47 PM   #1
vikas027
Senior Member
 
Registered: May 2007
Location: Sydney
Distribution: RHEL, CentOS, Ubuntu, Debian, OS X
Posts: 1,300

Rep: Reputation: 102Reputation: 102
Unhappy Grub menu not coming; XP & RHEL Dual boot


Hi All,

I have installed XP & RHEL 5. I had absolutely no problems in it, but suddenly my grub menu disappeared and I was not able to boot either of them. I managed to run my XP then by booting it by CD and run FIXMBR.

But now only XP boots directly without the GRUB menu.
I had run Linux Rescue at prompt. Now, my menu.lst is located at /mnt/sysimage/boot/grub/menu.lst

Pls help !!!


Thanks in adv,
Vikas
 
Old 10-14-2007, 10:38 PM   #2
vikas027
Senior Member
 
Registered: May 2007
Location: Sydney
Distribution: RHEL, CentOS, Ubuntu, Debian, OS X
Posts: 1,300

Original Poster
Rep: Reputation: 102Reputation: 102
Quote:
Originally Posted by vikas027 View Post
Hi All,

I have installed XP & RHEL 5. I had absolutely no problems in it, but suddenly my grub menu disappeared and I was not able to boot either of them. I managed to run my XP then by booting it by CD and run FIXMBR.

But now only XP boots directly without the GRUB menu.
I had run Linux Rescue at prompt. Now, my menu.lst is located at /mnt/sysimage/boot/grub/menu.lst

Pls help !!!


Thanks in adv,
Vikas


Now, I have tried running these commands

chroot /mnt/sysimage
grub-install /dev/sda

I am getting GRUB menu now (not colored like before), BUT RHEL still doesnt boots.
I am getting these errors

root (hd0,5)
Filesystem type unknown, partition type 0x82
kernel /boot/vmnlinuz-2.6.18.el5 ro root=LABEL=/ rhgb quiet crashkernel=128@16M

Error 17: Cannot mount selected partition

Press any key to continue



I have tried upgrading my existing installation in Rescue Mode but it doesnt helps. Also, I have tried upgrading or again creating the bootloader, but still all went in vain.


Here is the output of fdisk -l
Device Boot Start End Blocks Id System
/dev/sda1 * 1 2611 c W95 FAT32 (LBA)
/dev/sda2 2612 17902 f W95 Ext'd (LBA)
/dev/sda3 17903 19457 12 Compaq Diagnostics
/dev/sda5 2612 15291 b W95 FAT32
/dev/sda6 15292 15552 82 Linux Swap / Solaris
/dev/sda7 15593 17902 83 Linux


Hope it Helps
 
Old 10-14-2007, 11:09 PM   #3
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
I'm no expert but they will probably want your grub menu list also.
 
Old 10-15-2007, 07:51 AM   #4
emoore
Member
 
Registered: Aug 2007
Distribution: Linux Mint
Posts: 44

Rep: Reputation: 16
You might try booting the SuperGrub CD and using it to restore Grub/dual booting. Its not RHEL 5 specific like I assume Linux Rescue is, which has both advantages and disadvantages.

http://supergrub.forjamari.linex.org/
 
Old 10-15-2007, 09:03 AM   #5
selva146
Member
 
Registered: Oct 2007
Location: INDIA
Distribution: Rehat, Fedora, RHEL
Posts: 47

Rep: Reputation: 15
Here is the output of fdisk -l
Device Boot Start End Blocks Id System
/dev/sda1 * 1 2611 c W95 FAT32 (LBA)
/dev/sda2 2612 17902 f W95 Ext'd (LBA)
/dev/sda3 17903 19457 12 Compaq Diagnostics
/dev/sda5 2612 15291 b W95 FAT32
/dev/sda6 15292 15552 82 Linux Swap / Solaris
/dev/sda7 15593 17902 83 Linux


from your output of fdisk -l , it refers that you are having 2 filesystem for linux.

/dev/sda6 --- swap
/dev/sda7 --- root

you do not have seperate filesystem of boot. so boot files are in root file system itself

so you follow the step given below

boot into sytem using cdrom with rescue

boot: linux rescue

after logining in

chroot /mnt/sysimage (hopefully this is right)

then go to the file

/boot/grub/grub.conf

and edit the following enties in that file

title .............
root (hd0,6) // this is one specfying the boot file in MBR
kernel ................. ro root = /dev/sda7
........


selvaraju

http://linuxmonk.blogspot.com
 
Old 10-15-2007, 11:12 PM   #6
vikas027
Senior Member
 
Registered: May 2007
Location: Sydney
Distribution: RHEL, CentOS, Ubuntu, Debian, OS X
Posts: 1,300

Original Poster
Rep: Reputation: 102Reputation: 102
Smile

Quote:
Originally Posted by selva146 View Post
Here is the output of fdisk -l
Device Boot Start End Blocks Id System
/dev/sda1 * 1 2611 c W95 FAT32 (LBA)
/dev/sda2 2612 17902 f W95 Ext'd (LBA)
/dev/sda3 17903 19457 12 Compaq Diagnostics
/dev/sda5 2612 15291 b W95 FAT32
/dev/sda6 15292 15552 82 Linux Swap / Solaris
/dev/sda7 15593 17902 83 Linux


from your output of fdisk -l , it refers that you are having 2 filesystem for linux.

/dev/sda6 --- swap
/dev/sda7 --- root

you do not have seperate filesystem of boot. so boot files are in root file system itself

so you follow the step given below

boot into sytem using cdrom with rescue

boot: linux rescue

after logining in

chroot /mnt/sysimage (hopefully this is right)

then go to the file

/boot/grub/grub.conf

and edit the following enties in that file

title .............
root (hd0,6) // this is one specfying the boot file in MBR
kernel ................. ro root = /dev/sda7
........


selvaraju

http://linuxmonk.blogspot.com

thank you so MUCH... changing root (hd0,6) worked.
THANKS A TON !
 
  


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
Lost my dual boot grub menu narcispy Linux - Software 1 07-28-2007 08:41 PM
Help w/ GRUB, menu.lst, dual boot Windows XP ryanryan Linux - Newbie 11 04-05-2007 08:26 PM
No Grub menu displaying on dual-boot (2 hdd's) JoeLinux117 Linux - Newbie 10 03-19-2007 01:23 PM
Dual boot menu not coming after reinstallation of Win XP anasahmad Red Hat 3 10-07-2006 03:05 AM
no grub menu after startup in dual boot FC3 and XP Remko Fedora - Installation 6 01-19-2005 04:44 AM

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

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