winxp and fc 5 dual boot problem help please

I have 2 hard drives, both western digital 40 gig each. I have Win XP on drive 1 NTFS. I installed FC 5 into drive 2, I chose Fedora as the default boot. I made sure that grub was installed onto /dev/hda <- at least that's what it said during the installation.

Everything Linux 1798 This topic was started by ,



data/avatar/default/avatar39.webp

2 Posts
Location -
Joined 2006-06-08
I have 2 hard drives, both western digital 40 gig each. I have Win XP on drive 1 NTFS. I installed FC 5 into drive 2, I chose Fedora as the default boot. I made sure that grub was installed onto /dev/hda <--- at least that's what it said during the installation.
 
When I boot up, it boots straight to windows XP, No grub.
 
 
I ran the FC5 rescue,
 
did the chroot /mnt/sysimage, and tried grub-install /dev/hda:
 
chroot /mnt/sysimage
 
grub-install /dev/hda
 
and got the following error:
 
I accepted the default settings in the installer because I wanted to give LVM a try. After installation, the PC only boots into Windows XP.
 
I ran the FC5 rescue, did the chroot /mnt/sysimage, and tried grub-install /dev/hda:
 
$ chroot /mnt/sysimage
$ grub-install /dev/hda
 
and got the following error:
 
/dev/hdb1 does not have any corresponding BIOS drive.
 
df, on the chrooted system, gives:
 
/dev/VolGroup00/LogVol00 mounted on /
/dev/hdb1 mounted on /boot
 
Any ideas?.
 
df, on the chrooted system, gives:
 
 
Filesystem 1k-block Used Available use% Mounted on
/dev/VolGroup00/LogVol00
26282244 2968104
/dev/hdb1 101086 86012 11% /boot
 
IM STUCK!!!!
 
at this point My bios still has CD as STARTUP 1, and HD-0 as startup 2. I have not touch the bios at all.
 
I've read alot from this forum already. HELP , Thanks
 
 
 
 
 

Participate on our website and join the conversation

You have already an account on our website? Use the link below to login.
Login
Create a new user account. Registration is free and takes only a few seconds.
Register
This topic is archived. New comments cannot be posted and votes cannot be cast.

Responses to this topic



data/avatar/default/avatar10.webp

2895 Posts
Location -
Joined 2002-08-30
Let's try two things. i have been reading up on a possible bug in Grub and fedora.
 
After you chroot /mnt/sysimage, try running;
 
grub-install --recheck /dev/hda
 
If that does not work once you reboot (it does not give you the grub menu on reboot), then do the same (get into chroot) and try typing in at the prompt;
 
grub
At this point you will get a shell with a >
 
Type;
 
>root (hd1,0)
>setup (hd0)
>quit
 
Reboot at this point <ctrl> <alt> <del>
 
Then report your results.
 
 


data/avatar/default/avatar39.webp

2 Posts
Location -
Joined 2006-06-08
OP
YO,
 
typing in:
 
grub-install --recheck /dev/hda
 
Done Did It (worked lol)
 
Your the bomb Danleff.
 
 


data/avatar/default/avatar10.webp

2895 Posts
Location -
Joined 2002-08-30
Great! This tells me a bit more about the problem globally.


data/avatar/default/avatar09.webp

3 Posts
Location -
Joined 2006-06-22
i'm VERY new in this (about 5 days). I try evrithing i found on net to have a choise when i boot, but i was still booting in XP or i recived some error mesage from FEDORA. But i understand this "Grub.conf" is the esence. I remove hdd with XP, reinstall Fedora, logon "root", edit grub.conf and add smething like this:
 
title Windows
rootnoverify (hd0,0)
/boot.ini
and connect again the XP hd.
 
Now i'm happy. When fedora start i have the posibility to boot in Win XP. I don't know if it's right but it works
excuse my english


data/avatar/default/avatar09.webp

3 Posts
Location -
Joined 2006-06-22
I have another question now:
How can I mount automaticaly "the XP hd" when i boot in Fedora?


data/avatar/default/avatar10.webp

2895 Posts
Location -
Joined 2002-08-30
See the Unofficial Fedora faq page.
 
Realize, that you can mount and read NTFS partitions {if that is what you have on the XP system}, but do not attempt to write to an NTFS volume.
 
You may also want to reference the Fedora wiki for general information and tips.


data/avatar/default/avatar09.webp

3 Posts
Location -
Joined 2006-06-22
So, I was right by modifying "grub.conf"?
 
if i can't write on NTFS is bad