Jump to content


Photo

winxp and fc 5 dual boot problem help please


  • Please log in to reply
7 replies to this topic

#1 blueflames1

blueflames1

    stranger

  • Members
  • 2 posts

Posted 08 June 2006 - 08:36 AM

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






#2 danleff

danleff

    Carpal Tunnel

  • Moderators
  • 2903 posts

Posted 08 June 2006 - 05:05 PM

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.



#3 blueflames1

blueflames1

    stranger

  • Members
  • 2 posts

Posted 11 June 2006 - 12:18 AM

YO,

typing in:

grub-install --recheck /dev/hda

Done Did It (worked lol)

Your the bomb Danleff.



#4 danleff

danleff

    Carpal Tunnel

  • Moderators
  • 2903 posts

Posted 11 June 2006 - 03:08 AM

Great! This tells me a bit more about the problem globally.

#5 rosto

rosto

    stranger

  • Members
  • 3 posts

Posted 22 June 2006 - 04:34 AM

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

#6 rosto

rosto

    stranger

  • Members
  • 3 posts

Posted 22 June 2006 - 04:39 AM

I have another question now:
How can I mount automaticaly "the XP hd" when i boot in Fedora?

#7 danleff

danleff

    Carpal Tunnel

  • Moderators
  • 2903 posts

Posted 22 June 2006 - 05:54 PM

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.

#8 rosto

rosto

    stranger

  • Members
  • 3 posts

Posted 22 June 2006 - 07:10 PM

So, I was right by modifying "grub.conf"?

if i can't write on NTFS is bad




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

IPB Skin By Virteq