Fedora / Windows XP GRUB Problem

  • katana
  • Mastermind
  • Mastermind
  • User avatar
  • Joined: 07 Sep 2004
  • Posts: 2381
  • Loc: Dùn Èideann (Edinburgh), Scotland
  • Status: Offline

Post July 1st, 2005, 12:07 pm

Hi guys.

I've got a dual boot with XP on my main disk and a Fedora partition on my second disk. I had to reinstall XP about a week ago, which has since overwritten my GRUB settings. As my Fedora installation was Core 3, and seeing as I didn't really have any important data on it, I decided to reformat the linux partition and install Core 4.

During the Core 4 install, I checked and double checked the settings for GRUB, however my machine still boots straight to XP. I've installed Core 4 twice now (in case there was an error the first time), and I've tried re-installing GRUB using the installation ISO DVD, however I'm still getting the same problem.

Anyone got any ideas as to how I can get GRUB to load?

Cheers,

katana
Why do geeks get Halloween and Christmas confused?
Because 31 Oct == 25 Dec
www.darren-king.co.uk
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post July 1st, 2005, 12:07 pm

  • placid psychosis
  • Proficient
  • Proficient
  • User avatar
  • Joined: 08 Jun 2005
  • Posts: 284
  • Loc: Warsaw, IN
  • Status: Offline

Post July 1st, 2005, 12:11 pm

Are you loading GRUB into the MBR of the first disk? I think the default for Fedora is not to use the MBR, as it's not required if Fedora is the only OS and you're installing on the primary disk...
  • katana
  • Mastermind
  • Mastermind
  • User avatar
  • Joined: 07 Sep 2004
  • Posts: 2381
  • Loc: Dùn Èideann (Edinburgh), Scotland
  • Status: Offline

Post July 1st, 2005, 1:28 pm

I tried to reinstall GRUB from the boot CD (well, the setup DVD), and it said that it couldn't be installed because no kernal files were found(?). I then tried reinstalling the whole thing again (for the 3rd time), making sure that GRUB would be installed to the MBR and HDA but it's still booting straight to XP.
Why do geeks get Halloween and Christmas confused?
Because 31 Oct == 25 Dec
www.darren-king.co.uk
  • katana
  • Mastermind
  • Mastermind
  • User avatar
  • Joined: 07 Sep 2004
  • Posts: 2381
  • Loc: Dùn Èideann (Edinburgh), Scotland
  • Status: Offline

Post July 1st, 2005, 1:55 pm

I found some other info through Google about installing GRUB from the command line. So, I booted up in rescue mode and typed:
chroot /mnt/sysimage

Then issued the command:
grub-install /dev/hda

The following error message was generated:
dev/hdb1 does not have any corresponding BIOS drive


Any ideas?
Why do geeks get Halloween and Christmas confused?
Because 31 Oct == 25 Dec
www.darren-king.co.uk
  • rkb
  • Born
  • Born
  • No Avatar
  • Joined: 25 Jul 2005
  • Posts: 1
  • Loc: Asheville, NC, USA
  • Status: Offline

Post July 25th, 2005, 8:19 am

Did you ever find a solution to your problem?

Thanks...
  • Daemonguy
  • Moderator
  • Mastermind
  • User avatar
  • Joined: 23 Jan 2004
  • Posts: 2372
  • Loc: Somewhere outside the box in RTP, NC.
  • Status: Offline

Post July 25th, 2005, 7:40 pm

"It's always a long day, 86,400 won't fit into a short."
  • concoran
  • Born
  • Born
  • No Avatar
  • Joined: 25 Jul 2005
  • Posts: 1
  • Status: Offline

Post July 25th, 2005, 8:57 pm

By any chance, do you have SATA drives? If so, setup disk under rescue may not recognize it.
  • PsyckBoy
  • Graduate
  • Graduate
  • No Avatar
  • Joined: 20 Jun 2005
  • Posts: 204
  • Loc: SoCal
  • Status: Offline

Post July 26th, 2005, 12:04 am

Your problem is likely that you have your "/boot" folder on a different disk than WinXP. From the link above provided by Daemonguy:

Quote:
If you have multiple hard drives (disks), /boot must be on the same hard drive (probably the first hard drive) that has the Windows boot loader (NTLDR) on the MBR.


So you should leave a little extra room on your first hard drive when installing WinXP so you can make a partition for "/boot" there under Fedora.
  • katana
  • Mastermind
  • Mastermind
  • User avatar
  • Joined: 07 Sep 2004
  • Posts: 2381
  • Loc: Dùn Èideann (Edinburgh), Scotland
  • Status: Offline

Post July 26th, 2005, 11:27 am

Oops, forgot to update this one. Yeah, found a solution to my little problem. Had to manually install GRUB
Put Linux boot CD in, and type "linux rescue", then (at the prompt) type "GRUB". At the GRUB prompt, type:
root (hd1,0)
setup (hd0)


Now, just need to get Solaris installed....
Why do geeks get Halloween and Christmas confused?
Because 31 Oct == 25 Dec
www.darren-king.co.uk

Post Information

  • Total Posts in this topic: 9 posts
  • Moderator: Moderator Team
  • Users browsing this forum: No registered users and 100 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© Unmelted Enterprises 1998-2008. Driven by phpBB © 2001-2008 phpBB Group.

 
 
 

Need a pre-made web design for your website?

Check out our templates here: Ozzu Templates

Perfect Money : Swiss approach to work with e-finance