LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 01-23-2009, 01:27 PM   #1
nishant.linux
LQ Newbie
 
Registered: Mar 2008
Posts: 2

Rep: Reputation: 0
BOOT LOADER problem : cant boot linux


HELLO Friends ,,,

I am using RHEL 5 .. in dual booting with XP
today i formatted C:\ and installed XP . and then i installed grub to /dev/hda

i m written what i did

with the 1st CD of RHEL 5 i boot my system
i went to linux rescue mode
then at the shell
i run these cammands

[....]# chroot /mnt/sysimage
[....]# grub-install /dev/hda

the grub has been installed

but now the background is black and when i go to linux it doesnt boot it message

press any key
and it shows ERROR 17: can not mount partition

and when i boot xp it works properly

i used 4 partition for XP.
and hda1 hda5 hda6 hda7 for XP and hda8 to 11 for linux

kernel version is 2.6.18-8.el5xen
 
Old 01-23-2009, 08:02 PM   #2
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 59
Try reinstalling grub, but this time at the shell from the 1st RHEL CD in rescue mode, try these four commands below (as root) to get you into a grub session first, in the example below I'm assuming your RHEL /boot partition is /dev/hda8, adjust accordingly. Remember grub counts from 0.
Code:
grub
root (hd0,7)
setup (hd0)
quit
Grub error 17:
Quote:
17 : Cannot mount selected partition
This error is returned if the partition requested exists, but the filesystem type cannot be recognized by GRUB.
 
  


Reply

Tags
booting, rhel5


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
Two hard disks - dual boot ( XP - Linux ) using microsoft boot loader, not grub cristy88 Linux - General 2 12-17-2007 06:26 PM
Linux Boot Loader Configuration Problem !!! A.Elkaysh Linux - General 4 09-04-2006 11:28 PM
To load/boot Red Hat Enterprise Linux 4 WS from Microsoft's Boot Loader (NTLDR) dhawal Red Hat 1 09-25-2005 07:08 AM
Grub boot loader menu shows two linux boot options pramos Linux - Newbie 3 09-12-2004 11:40 PM


All times are GMT -5. The time now is 08:32 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration