LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora > Fedora - Installation
User Name
Password
Fedora - Installation This forum is for the discussion of installation issues with Fedora.

Notices



Reply
 
Search this Thread
Old 10-26-2005, 02:04 PM   #1
ZeroIdea
LQ Newbie
 
Registered: Sep 2005
Posts: 17

Rep: Reputation: 0
Question Dual Boot Problem: FC4 and Win XP; GRUB not appearing


I'm having problems with my FC4 installation. I have two hard drives installed.

Hard Drive # 1: 80GB (Windows system, NTFS - 3 partitions) - hda
Hard Drive # 2: 20GB (FC4) - hdb

Problem

I tried to install FC4 on hdb. During installation I installed GRUB on /dev/hda.

The setup seemed to go fine. However, when I rebooted the system - GRUB did not appear rather the system goes directly to Windows XP boot sequence.

Can someone help me over come this problem.

I need not add that I'm totally ignorant on LINUX !!
 
Old 10-26-2005, 04:03 PM   #2
Dudydoo
Member
 
Registered: Sep 2003
Location: UK
Distribution: I use 'em all ;-)
Posts: 275

Rep: Reputation: 38
For some reason grub must have failed to write to the MBR of the drive, as /dev/hda is definitely what you want. I would try a manual install of grub, see if you can follow these steps:

1. Boot with the FC4 CD #1

2. At the prompt type 'linux rescue'

3. After it sets up the rescue environment you should get to a shell prompt

4. Type 'chroot /mnt/sysimage' (you should see this mentioned)

5. Type 'grub' then you will get a grub> prompt

6. Type 'root (hd0)' press ENTER then type 'setup (hd0)'

7. Exit out of the install and reboot (type 'exit' or press ctrl-alt-del)
 
Old 10-26-2005, 04:30 PM   #3
ZeroIdea
LQ Newbie
 
Registered: Sep 2005
Posts: 17

Original Poster
Rep: Reputation: 0
I just checked grub.conf and the following came out...does this make any sense ?

# 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/VolGroup00/LogVol00
# initrd /initrd-version.img
#boot=/dev/hda
default=1
timeout=5
splashimage=(hd1,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.11-1.1369_FC4)
root (hd1,0)
kernel /vmlinuz-2.6.11-1.1369_FC4 ro root=/dev/VolGroup00/LogVol00 rhgbquiet
initrd /initrd-2.6.11-1.1369_FC4.img
title Other
rootnoverify (hd0,0)
chainloader +1
~
~
"grub.conf" [readonly] 20L, 669C 1,1 All

Also my drives are setup in the following manner:

Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 4863 39062016 7 HPFS/NTFS
/dev/hda2 4864 9729 39086145 f W95 Ext'd (LBA)
/dev/hda5 4864 8511 29302528+ 7 HPFS/NTFS
/dev/hda6 8512 9729 9783553+ 7 HPFS/NTFS


Disk /dev/hdb: 20.0 GB, 20020396032 bytes
255 heads, 63 sectors/track, 2434 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 13 104391 83 Linux
/dev/hdb2 14 2434 19446682+ 8e Linux LVM
 
Old 10-26-2005, 04:40 PM   #4
Dudydoo
Member
 
Registered: Sep 2003
Location: UK
Distribution: I use 'em all ;-)
Posts: 275

Rep: Reputation: 38
It makes sense, but it doesn't tell us where the grub bootloader is installed. Did you try what I suggested?
 
Old 10-26-2005, 05:07 PM   #5
ZeroIdea
LQ Newbie
 
Registered: Sep 2005
Posts: 17

Original Poster
Rep: Reputation: 0
I tried as suggested Dudydoo. When I typed 'root (hd0)' and entered i got an error msg:

filesystem unkown, using whole disk

another question which i wanted to know, shouldn't the default value in grub.conf be 0 rather than 1 ?
 
Old 10-26-2005, 06:12 PM   #6
Dudydoo
Member
 
Registered: Sep 2003
Location: UK
Distribution: I use 'em all ;-)
Posts: 275

Rep: Reputation: 38
Try 'root (hd0,0) then 'setup (hd0)'


The default=x option determines what OS to boot by default, either after by pressing enter or after the timeout. In your case 0=WinXP and 1=Linux.
 
Old 10-26-2005, 06:15 PM   #7
Dudydoo
Member
 
Registered: Sep 2003
Location: UK
Distribution: I use 'em all ;-)
Posts: 275

Rep: Reputation: 38
If the above does'nt work, from the rescue shell try 'grub-install /dev/hda'
 
Old 11-18-2005, 11:50 PM   #8
tinybit
Member
 
Registered: Jul 2005
Location: China
Distribution: Mandriva
Posts: 84

Rep: Reputation: 15
GRUB and LILO always conflict with Windows. And GNU GRUB is not so robust, causing many problems during boot.

So try GRUB for DOS please. It is a cross-platform boot loader based on GNU GRUB. The GRUB.EXE can be started from DOS/Win9x; and GRLDR can be started from BOOT.INI of Windows NT/2K/XP/2003; and even more, the GRUB.EXE can be started from LINUX via the KEXEC tool.

By using GRUB.EXE or GRLDR, you don't have to touch your MBR. It is the safest way coexisting with DOS/Windows.

You needn't install GRUB for DOS. Just run GRUB.EXE from DOS, or append a line of "C:\GRLDR=START GRUB" into your BOOT.INI(restart and select the "START GRUB" menu item), that will do.

Download GRUB for DOS here: http://freshmeat.net/projects/grub4dos/

There is a fat12grldr.img file with the GRUB for DOS release. You can create a GRUB bootable floppy with this fat12grldr.img file.

Or, you can just copy GRUB.EXE to your DOS floppy and run GRUB.EXE to enter the GRUB environment.

If the system has no DOS/WINDOWS, you may use the bootlace.com utility to write GRLDR boot record onto the MBR.
 
  


Reply


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
Dual Boot Problem: FC4 and XP Pro; GRUB not appearing sable.eminence Fedora - Installation 9 10-25-2005 12:49 PM
FC4 and Win XP dual boot Sata drives and Raid ChaoticPi Linux - Hardware 2 10-20-2005 12:47 AM
Trying to Dual boot Win XP & FC4. Grub doesnt come up at all. Gordon99 Fedora - Installation 3 10-05-2005 10:09 AM
GRUB unfound on dual boot RH9 & Win XP TCDnewbie Linux - Laptop and Netbook 1 02-13-2004 07:52 AM
Problems booting with GRUB on RH 7.3/ Win XP Dual Boot pasta4u2 Linux - Newbie 8 10-07-2002 11:22 PM


All times are GMT -5. The time now is 04:28 AM.

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