LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 05-26-2006, 08:53 AM   #1
Kiwi01
LQ Newbie
 
Registered: Mar 2005
Location: Extreme Southern Colorado
Distribution: FC5 ...
Posts: 13

Rep: Reputation: 0
FC5 Dual Boot problem with Grub


I am struggling with install of FC5 ... specifically the bootloader.

system:

dual head
two disk drives
hda Windows XP Vfat (1) and NTFS (2)
hdb Linux FC 5 / /root
hdc DVD reader
hdd DVD writer

Installation is from DVD burnt with downloaded ISO disk check out OK.

in Windows hda is master and hdb is slave.

I have read many posts and tried many variations of re-install, boot from linux rescue grub-install hdb1, dd a boot.lnx file and write to Windows C:, etc.

Now I am seeing options of Windows XP and FC 5 at boot. Windows as default or selected boots fine. When selecting FC5 I only get a "-" in the upper left hand corner. If I try to force a boot from the hdb drive I get the " L 99 99 99 99 ..." response.


I think I am close but I am running out of ideas and patience ... can anyone point me in the right direction?

thanks in advance ... kiwi01
 
Old 05-26-2006, 09:24 AM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Which bootloader are you using???? Which one do you want to use???

It sounds like at one time you had a version of Linux installed on hdb and removed it. This is why you get the LILO error when you force the system to boot to the drive.

So lets see if we can FC5 to at least boot. Using the installation media boot into rescue mode by typing 'linux rescue' minus the single quotemarks. Answer a few questions and read the on-screen messages, pay close attention to the chroot instructions. When ready do the suggested chroot command then try something like;

/sbin/grub-install --recheck /dev/hda

Reboot (with the installation media removed) the system and try to boot into FC5.
If successful then reboot the system again this time try booting into Windows XP, report the results good or bad.
 
Old 05-26-2006, 10:59 AM   #3
Kiwi01
LQ Newbie
 
Registered: Mar 2005
Location: Extreme Southern Colorado
Distribution: FC5 ...
Posts: 13

Original Poster
Rep: Reputation: 0
Thanks ... I will try it tonight when I get home.

Yes at various times I have had Slackware (used LILO)and FC4 (I thought used GRUB) on the 2nd drive. While I am not a newbie I am just a interested user, with no back ground in computers. I thought I would try FC5 and see how "easily" it would install and learn some more about LINUX.
 
Old 05-27-2006, 08:21 AM   #4
Kiwi01
LQ Newbie
 
Registered: Mar 2005
Location: Extreme Southern Colorado
Distribution: FC5 ...
Posts: 13

Original Poster
Rep: Reputation: 0
it is a start... but NO Windows XP

OK ... reinstalled grub to /dev/hda and now it boots to FC5. Tried a reboot to windows ... no go. It boots to the diagnostics. Just to kep the wife happy I booted to windows repair and did a fixmbr. What did I do to mess up the Windows boot?
 
Old 05-27-2006, 10:58 AM   #5
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Don't know...... It would be nice to see the contents of the /boot/grub/grub.conf file. It would also be helpful to see the output from the command;

fdisk -l (that's the lower case letter 'L' in the command)
 
Old 05-27-2006, 11:23 AM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,128

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
The grub-install is a wrapper for grub - i.e. you weren't using the FC installer code which goes looking for Windows to add to the menu.

You should be able to boot the FC disk 1 into rescue mode,and recover the boot-loader install. Probably easiest if you're not comfortablewith grub.
 
Old 05-29-2006, 11:18 AM   #7
Kiwi01
LQ Newbie
 
Registered: Mar 2005
Location: Extreme Southern Colorado
Distribution: FC5 ...
Posts: 13

Original Poster
Rep: Reputation: 0
I re-booted w/ linux rescue

grub-install --recheck /dev/hda

fdisk -l ... gives

/dev/hda1 1 5 40131 6 Fat16
/dev/hda2 * 6 14589 117145980 7 HPFS/NTFS


/dev/hdb1 * 1 13 103391 83 Linux
/dev/hdb2 14 9964 79931407+ 8e LVM


grub.conf ...
# 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=0
timeout=5
splashimage=(hd1,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.15-1.2054_FC5smp)
root (hd1,0)
kernel /vmlinuz-2.6.15-1.2054_FC5smp ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.15-1.2054_FC5smp.img
title Other
rootnoverify (hd0,0)
chainloader +1


device.map ...

(fd0) /dev/fd0
(hd0) /dev/hda
(hd1) /dev/hdb

Same result after the install-grub ... will boot to FC5 but only boots to diagnostics when I select other. Again I did the fixmbr so that I could boot to Windows XP for the family.

Any suggestions on what I should try next ...
 
Old 05-29-2006, 04:22 PM   #8
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,128

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
Quote:
Originally Posted by Kiwi01
fdisk -l ... gives

/dev/hda1 1 5 40131 6 Fat16
/dev/hda2 * 6 14589 117145980 7 HPFS/NTFS

<snip> ...
title Other
rootnoverify (hd0,0)
chainloader +1
That hda1 is probably something like a vendor recovery partition. Given that hda2 is marked bootable,try
Code:
title Other
	rootnoverify (hd0,1)
	chainloader +1
Edit: If you want a meaningful option on the boot menu, change the "title" line to something meaningful while you're at it - say "title XP".

Last edited by syg00; 05-29-2006 at 04:45 PM.
 
Old 05-30-2006, 08:53 AM   #9
Kiwi01
LQ Newbie
 
Registered: Mar 2005
Location: Extreme Southern Colorado
Distribution: FC5 ...
Posts: 13

Original Poster
Rep: Reputation: 0
Thanks ... I will try this evening when I get back home.
 
Old 05-30-2006, 09:32 AM   #10
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
I had all sorts of problems with a very similar setup.

Try sticking grub on hdb and look at

http://www.linuxquestions.org/questi...d.php?t=439864

I now have Windows on hda and FC5/grub on hdb and have set my bios to boot from hdb

Works fine - only issue is I need to edit grub each time I install a new kernel as I want windows at the top of the bootloader list (ie the default)
 
Old 05-30-2006, 02:42 PM   #11
Stolie
LQ Newbie
 
Registered: May 2006
Posts: 1

Rep: Reputation: 0
I'm having what seems like the same problem. Funny thing is, when I got it to boot in to Fedora, I changed the resolution to something my monitor doesn't support, not thinking about it. Now I can't edit anything with Fedora due to the resolution problem.

I have a copy of Knoppix 3.6 that I'm trying to use to fix all this, but I can't seem to find the X settings for Fedora. Also, I can't edit the grub.conf file because Knoppix is reading it as read-only - even as root..

Any thoughts?



<EDIT> Nevermind! After some more forum probing and self-teaching, I'm good to go! Turns out I didn't have a huge Grub problem after all! Yay Linux!

Last edited by Stolie; 05-30-2006 at 03:24 PM.
 
Old 05-31-2006, 03:03 PM   #12
Kiwi01
LQ Newbie
 
Registered: Mar 2005
Location: Extreme Southern Colorado
Distribution: FC5 ...
Posts: 13

Original Poster
Rep: Reputation: 0
Thanks for all of the help ... I reinstalled FC5 and set Grub to chainload from NTLDR and I can now boot to either XP or FC5. None of the remapping and reinstall of GRUB seemed to work so I opted for this method.
 
  


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
FC5/XP Pro dual boot: Can't load XP from GRUB rockysfr Linux - Newbie 4 05-18-2006 10:26 PM
FC5 Install problem ... Dual Boot Kiwi01 Fedora - Installation 4 04-17-2006 05:05 PM
GRUB dual boot problem: Boot "other" (windows) just restarts GRUB! stevod333 Linux - Software 13 04-06-2006 05:26 AM
grub problem in dual boot kkishor3 Linux - Newbie 30 02-09-2006 10:53 AM
Dual boot GRUB problem mansion108 Linux - Newbie 5 11-18-2005 10:09 PM

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

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