LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 09-27-2007, 04:59 PM   #1
yianni
LQ Newbie
 
Registered: Dec 2003
Posts: 12

Rep: Reputation: 0
xp not booting in grub


i had windows xp installed then i installed fedora when i select windows to boot it just restarts and goes back to grub it will not let me get back into windows this is my fdisk

Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 11473 92156841 7 HPFS/NTFS
/dev/sda2 11474 18732 58307917+ 7 HPFS/NTFS
/dev/sda3 18733 27851 73248367+ 7 HPFS/NTFS
/dev/sda4 27852 30401 20482875 f W95 Ext'd (LBA)
/dev/sda5 27852 30273 19454683+ 83 Linux
/dev/sda6 30274 30401 1028128+ 82 Linux swap / Solaris

Disk /dev/sdb: 120.0 GB, 120060444672 bytes
255 heads, 63 sectors/track, 14596 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 14595 117234306 7 HPFS/NTFS

Disk /dev/sdc: 507 MB, 507379712 bytes
16 heads, 63 sectors/track, 983 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

Device Boot Start End Blocks Id System
/dev/sdc1 1 983 495313+ 6 FAT16

Last edited by yianni; 09-27-2007 at 05:01 PM.
 
Old 09-27-2007, 05:59 PM   #2
gfem
Member
 
Registered: Apr 2003
Distribution: Fedora
Posts: 126

Rep: Reputation: 15
Check your grub.conf file and make sure it points to the correct disk and partition for windows.
 
Old 09-27-2007, 06:48 PM   #3
yianni
LQ Newbie
 
Registered: Dec 2003
Posts: 12

Original Poster
Rep: Reputation: 0
this is my grub config

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,4)
# kernel /boot/vmlinuz-version ro root=/dev/sda5
# initrd /boot/initrd-version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,4)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.21-1.3194.fc7)
root (hd0,4)
kernel /boot/vmlinuz-2.6.21-1.3194.fc7 ro root=LABEL=/1 rhgb quiet
initrd /boot/initrd-2.6.21-1.3194.fc7.img
title windows
rootnoverify (hd0,0)
chainloader +1
 
Old 09-27-2007, 11:23 PM   #4
kojot
LQ Newbie
 
Registered: Jul 2007
Location: Latvia
Distribution: Fedora
Posts: 13

Rep: Reputation: 0
Try this:

Code:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You do not have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /, eg.
#          root (hd0,4)
#          kernel /boot/vmlinuz-version ro root=/dev/sda5
#          initrd /boot/initrd-version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,4)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.21-1.3194.fc7)
	root (hd0,4)
	kernel /boot/vmlinuz-2.6.21-1.3194.fc7 ro root=LABEL=/1 rhgb quiet
	initrd /boot/initrd-2.6.21-1.3194.fc7.img
title windows
	rootnoverify (hd0,0)
	map (hd0) (hd1)
	map (hd1) (hd0)
	chainloader +1
 
Old 09-28-2007, 02:48 AM   #5
ArchAngeL13
Member
 
Registered: Jun 2006
Location: Groningen
Distribution: SUSE 11 and 10 Enterprise, Fedora 9, Mepis 7.0, Sabayon
Posts: 46

Rep: Reputation: 15
If you install Fedora, Grub automatically appoints the Fedora partition but you have to manually appoint other ones like XP. If I am not mistaken
 
Old 09-28-2007, 04:35 AM   #6
DOTT.EVARISTI
Member
 
Registered: Jan 2007
Location: La spezia ( Italia )
Distribution: Fedora 9 amd 64, Gnome,PCLOS 2007,OpenSuse 11 amd 64,Sabayon 3.4,Xp,Vista
Posts: 248

Rep: Reputation: 31
uhm..

Then You could try:

1)run gparted to see if partttion numbers are correct

2)do a mbr backup

3)re-install win bootloader by fixmbr

4)re-install mbr and grub

if the partitions are correct now it should work

P.s::i think win partition should be set to actve and bootable in gparted

Good luck !

Last edited by DOTT.EVARISTI; 09-28-2007 at 04:42 AM.
 
Old 09-28-2007, 12:44 PM   #7
yianni
LQ Newbie
 
Registered: Dec 2003
Posts: 12

Original Poster
Rep: Reputation: 0
i tried what kojot said but that didnt work

i installed gparted all the partitions are right

how can i do these


2)do a mbr backup

3)re-install win bootloader by fixmbr

4)re-install mbr and grub

Last edited by yianni; 09-28-2007 at 12:47 PM.
 
Old 09-28-2007, 12:50 PM   #8
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
Can you insert

makeactive

just underneath the hd line for xp?
 
Old 09-29-2007, 03:52 AM   #9
DOTT.EVARISTI
Member
 
Registered: Jan 2007
Location: La spezia ( Italia )
Distribution: Fedora 9 amd 64, Gnome,PCLOS 2007,OpenSuse 11 amd 64,Sabayon 3.4,Xp,Vista
Posts: 248

Rep: Reputation: 31
Thumbs up Here it comes the possible solution...

Take a look at aus9's grub troubleshooter and grub tutorial

http://www.linuxquestions.org/questi...hreadid=237511

http://www.linuxquestions.org/questi...postid=1413211

they're more complete than i could explain and let me know how it goes

Good luck
 
Old 09-29-2007, 04:04 AM   #10
DOTT.EVARISTI
Member
 
Registered: Jan 2007
Location: La spezia ( Italia )
Distribution: Fedora 9 amd 64, Gnome,PCLOS 2007,OpenSuse 11 amd 64,Sabayon 3.4,Xp,Vista
Posts: 248

Rep: Reputation: 31
How to re-install win xp bootloader


Anyway to re-install win bootloader you have to insert win installation cd,as it loads push R to access the recovery console and identify your win root and then tyoe fixmbr and press enter.

That's all !

Last edited by DOTT.EVARISTI; 09-29-2007 at 04:05 AM.
 
Old 10-01-2007, 04:26 AM   #11
DOTT.EVARISTI
Member
 
Registered: Jan 2007
Location: La spezia ( Italia )
Distribution: Fedora 9 amd 64, Gnome,PCLOS 2007,OpenSuse 11 amd 64,Sabayon 3.4,Xp,Vista
Posts: 248

Rep: Reputation: 31
How it's gone ?

Can you boot Win now ?
 
  


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
Booting of raw ISO from GRUB/LILO (though preferably GRUB) Orkie Linux - Software 28 12-15-2013 09:37 PM
Booting my new ubuntu install = "GRUB GRUB GRUB GRUB GRUB" etc. dissolved soul Ubuntu 2 01-13-2007 12:55 PM
Help with grub booting turalo Linux - Newbie 3 06-30-2006 02:23 PM
how to edit grub.conf from grub shell during booting pashaikh Linux - Security 1 06-27-2006 05:01 AM
Booting xp with Grub corbinc1 Linux - Software 10 03-10-2005 11:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 10:01 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