LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Cannot boot XP Home with GRUB from FC2 (https://www.linuxquestions.org/questions/linux-newbie-8/cannot-boot-xp-home-with-grub-from-fc2-223626/)

Conpen2000 08-28-2004 04:28 PM

Cannot boot XP Home with GRUB from FC2
 
I recently loaded Fedora Core 2 onto my PC which until now has been using Windows XP Home edition. I installed FC2 with no problems except for an error message saying something about the disk partitions and possible bootloader issues. I am able to run FC2 with no problem, obviously, but I cannot get into XP from the GRUB bootloader. Windows XP is installed onto my primary, HD0, and Linux is installed onto my slave, HD1. Alacrity with answering my issue would be greatly appreciated, as I am currently stranded in Linux, and I am almost completely helpess as far as doing anything other than browing the web.

berkay 08-28-2004 04:35 PM

Can you post your grub.conf which must be in /boot/grub/grub.conf...
Maybe I can help?

berkay

masand 08-28-2004 04:36 PM

hi

the first thing u should do is
boot into linux

post ur '/etc/grub.conf' and

and output of

fdisk -l /dev/hda

fdisk -l /dev/hdb

this will help everyone to solve ur problem

regards
gaurav

Conpen2000 08-28-2004 04:40 PM

Whenever I try to open /boot/grub/grub.conf or /etc/grub.conf it tells me that acess is denied. I am logged in as a super user, but I'm not sure if there is something else I could do to get acess.

masand 08-28-2004 04:44 PM

hi
post the exact method and error msgs u get

like
what happens when u go for
#vi /etc/grub.conf

regards

mugstar 08-28-2004 04:50 PM

Re: Cannot boot XP Home with GRUB from FC2
 
See that error message?

It was identifying the problem.

See here for a solution.

Conpen2000 08-28-2004 04:51 PM

I log into the terminal, and right away I type "su" for a super-user password prompt. I enter my password and log on as a super user. Then I entered "/boot/grub/grub.conf" and got the error message "bash: /boot/grub/grub.conf: Permission denied". When I try to get "#vi /etc/grub.conf" it brings me to a new line without any explination. The new line looks just like all the other super user lines I get.

masand 08-28-2004 05:00 PM

hey
u need to type
'vi /etc/grub.conf'

#-indicated the prompt here
like this

[root@gaurav plugins]# vi /etc/grub.conf
also

[root@gaurav plugins]# vi /boot/grub/grub.conf
is correct

regards


regrads

Conpen2000 08-28-2004 05:23 PM

Okay, I finally got into Grub.conf, it gave me a big text thing with instructions and some places with peramiters. What do I need to do from here?

masand 08-28-2004 05:25 PM

hi

u need to post that here
so that we can have a look at it...

regards

Conpen2000 08-28-2004 05:29 PM

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd1,0)
# kernel /vmlinuz-version ro root=/dev/hdb2
# initrd /initrd-version.img
#boot=/dev/hda
default=1
timeout=10
splashimage=(hd1,0)/grub/splash.xpm.gz
password --md5 $1$RPa/AXKb$SJ//7FHirDEWTWT/w4Myk1
title Fedora Core (2.6.5-1.358)
root (hd1,0)
kernel /vmlinuz-2.6.5-1.358 ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.5-1.358.img
title Other
rootnoverify (hd0,0)
chainloader +1
~
That's the text in its entirety.

berkay 08-28-2004 05:43 PM

You should add makeactive line... Hope this helps!

Code:

title Other
rootnoverify (hd0,0)
makeactive
chainloader +1


dsegel 08-28-2004 07:14 PM

Quote:

Originally posted by berkay
You should add makeactive line... Hope this helps!

Code:

title Other
rootnoverify (hd0,0)
makeactive
chainloader +1


makeactive is not necessary to boot Windows XP.

Make sure you're editing the correct grub.conf file. The one you want will be /boot/grub/grub.conf. If you have one under /etc for some reason you can safely ignore it.

masand 08-28-2004 11:49 PM

hey

'/etc/grub.conf' is a shotcut to /boot/grub/grub.conf'
no 2 files are there


also post ur
'fdisk - /dev/hda' and 'fdisk -l /dev/hdb'
output here

regards

Conpen2000 08-29-2004 11:55 AM

I tried the makeactive line-it didn't help. My output for fdisk - /dev/hda and fdisk -l /dev/hdb is bash: fdisk: command not found.


All times are GMT -5. The time now is 04:25 PM.