LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   BOOT LOADER problem : cant boot linux (https://www.linuxquestions.org/questions/linux-newbie-8/boot-loader-problem-cant-boot-linux-699421/)

nishant.linux 01-23-2009 01:27 PM

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

Junior Hacker 01-23-2009 08:02 PM

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.


All times are GMT -5. The time now is 09:53 PM.