LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 08-28-2004, 04:28 PM   #1
Conpen2000
LQ Newbie
 
Registered: Jan 2004
Location: Vail and Denver, CO
Distribution: Fedora Core 2 (Home) / RH9 (Server)
Posts: 28

Rep: Reputation: 15
Angry 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.
 
Old 08-28-2004, 04:35 PM   #2
berkay
Member
 
Registered: Mar 2004
Location: TR
Distribution: Gentoo 2004.2
Posts: 100

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

berkay
 
Old 08-28-2004, 04:36 PM   #3
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
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
 
Old 08-28-2004, 04:40 PM   #4
Conpen2000
LQ Newbie
 
Registered: Jan 2004
Location: Vail and Denver, CO
Distribution: Fedora Core 2 (Home) / RH9 (Server)
Posts: 28

Original Poster
Rep: Reputation: 15
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.
 
Old 08-28-2004, 04:44 PM   #5
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
hi
post the exact method and error msgs u get

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

regards
 
Old 08-28-2004, 04:50 PM   #6
mugstar
Member
 
Registered: Jun 2004
Location: Scotland
Distribution: Anything that'll install...
Posts: 305

Rep: Reputation: 30
Re: Cannot boot XP Home with GRUB from FC2

See that error message?

It was identifying the problem.

See here for a solution.
 
Old 08-28-2004, 04:51 PM   #7
Conpen2000
LQ Newbie
 
Registered: Jan 2004
Location: Vail and Denver, CO
Distribution: Fedora Core 2 (Home) / RH9 (Server)
Posts: 28

Original Poster
Rep: Reputation: 15
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.
 
Old 08-28-2004, 05:00 PM   #8
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
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
 
Old 08-28-2004, 05:23 PM   #9
Conpen2000
LQ Newbie
 
Registered: Jan 2004
Location: Vail and Denver, CO
Distribution: Fedora Core 2 (Home) / RH9 (Server)
Posts: 28

Original Poster
Rep: Reputation: 15
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?
 
Old 08-28-2004, 05:25 PM   #10
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
hi

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

regards
 
Old 08-28-2004, 05:29 PM   #11
Conpen2000
LQ Newbie
 
Registered: Jan 2004
Location: Vail and Denver, CO
Distribution: Fedora Core 2 (Home) / RH9 (Server)
Posts: 28

Original Poster
Rep: Reputation: 15
# 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.
 
Old 08-28-2004, 05:43 PM   #12
berkay
Member
 
Registered: Mar 2004
Location: TR
Distribution: Gentoo 2004.2
Posts: 100

Rep: Reputation: 15
You should add makeactive line... Hope this helps!

Code:
title Other
rootnoverify (hd0,0)
makeactive
chainloader +1
 
Old 08-28-2004, 07:14 PM   #13
dsegel
Member
 
Registered: Aug 2004
Location: Davis, California
Distribution: Gentoo, always Gentoo.
Posts: 159

Rep: Reputation: 30
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.
 
Old 08-28-2004, 11:49 PM   #14
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
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
 
Old 08-29-2004, 11:55 AM   #15
Conpen2000
LQ Newbie
 
Registered: Jan 2004
Location: Vail and Denver, CO
Distribution: Fedora Core 2 (Home) / RH9 (Server)
Posts: 28

Original Poster
Rep: Reputation: 15
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.
 
  


Reply



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
gentoo : grub: The file /boot/boot/grub/stage1 not read correctly Boudewijn Linux - Software 3 05-21-2008 03:13 AM
FC2 andWin XP dual boot ...grub tumblin_dice Fedora 1 11-04-2004 09:28 AM
Problems with GRUB on XP/FC2 dual-boot Ziklen Linux - Newbie 27 08-26-2004 12:40 AM
FC2 with grub boot/init very slow zipo13 Fedora 9 08-03-2004 01:15 PM
grub.conf - Trying to dual boot XP and FC2 LogicNZ Linux - Newbie 4 07-01-2004 03:01 AM

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

All times are GMT -5. The time now is 07:49 PM.

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
Open Source Consulting | Domain Registration