LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 01-30-2005, 11:10 AM   #1
bcal
Member
 
Registered: Nov 2004
Distribution: FC3/winXP dual-boot
Posts: 61

Rep: Reputation: 15
Dual boot XP/FC2 probs aftter FC2 install - "cannot find operating system"


Hi,

just installed FC2 on a machine that already had XP running successfully. FC2 installed automatically onto /dev/hda6, 7, 8 (boot, root, swap).

During the installation, I chose to install grub on the root linux partition instead of overwriting the MBR. However, on reboot after completing the installation, the grub screen never appears. Worse,
Error loading operating system
appears on the screen and nothing else happens.

Having searched the web, I changed the hard drive setting in the BIOS from "auto" to "LBA". This got rid of the error message, but now the boot hangs at "verifying DMI data..." and does not proceed.

I can access FC2 via linux rescue on the install CD and the winXP data is accessable through the XP install CD. The first priority is to get XP back and booting properly without any data loss, can anyone help? Then the next step will be to get linux dual booting properly.

I have seen the fixmbr command option in several posts on the web, is this a safe option or is it possible that it will make my windows data totally inaccessable? Similarly for "fdisk /mbr" etc.

Need help here, cos it's a friend's machine and he AIN'T impressed!
 
Old 01-30-2005, 11:28 AM   #2
avarus
Member
 
Registered: Apr 2004
Location: Oxford, UK
Distribution: Ubuntu, Debian, various
Posts: 230
Blog Entries: 5

Rep: Reputation: 32
1) Boot from rescue CD
2) Grub-install on the MBR

This won't break XP - trust me. If FC gets confused and doesn't give you an option to boot Windows this is dead easy to fix - at the GRUB menu you grab a command line and say:

root (hd0,0)
chainloader +1
boot

(change first line depending on drive config)

fdisk /mbr will also work fine but then you can't boot into Linux, which is obviously no good.

TIM
 
Old 01-30-2005, 12:21 PM   #3
bcal
Member
 
Registered: Nov 2004
Distribution: FC3/winXP dual-boot
Posts: 61

Original Poster
Rep: Reputation: 15
Tim, thanks for getting back to me so quickly. A couple of questions before I go for it:

1) I read that fdisk /mbr should not be used for harddrives with more than 4 partitions. There are 5 windows partitions (not all primary obviously), would this cause a problem with fdisk?
2) If the above is true, would fixmbr from "windows restore" in the windows install cd work instead?
2) can you please give me the exact command to install grub on the mbr ( I don't know how it's referred to in grub - hd0,0?)

And also some information: "fdisk -l" shows the boot partition to be hda1 (not hda6)

Cheers - I know that this isn't a terminal problem, but I hate having a PC down that's not mine and I don't want to it to put my buddy off linux!

Last edited by bcal; 01-30-2005 at 12:23 PM.
 
Old 01-30-2005, 12:37 PM   #4
avarus
Member
 
Registered: Apr 2004
Location: Oxford, UK
Distribution: Ubuntu, Debian, various
Posts: 230
Blog Entries: 5

Rep: Reputation: 32
Hi,

Sorry I have no idea about the first two.

You need to boot from the rescue CD, then mount your root partition under, say, /mnt/hdroot. If you have a separate /boot partition mount it under /mnt/hdroot/boot.

Now issue the command:

grub-install --root-directory=/mnt/hdroot /dev/hda

That should do it!

TIM
 
Old 01-30-2005, 03:38 PM   #5
bcal
Member
 
Registered: Nov 2004
Distribution: FC3/winXP dual-boot
Posts: 61

Original Poster
Rep: Reputation: 15
thanks again Tim. FC2 is now booting thanks to you. However, Win XP will not boot from grub, I have tried calling every (non-linux) partition in the WinXP section of grub.conf. I know I saw a potential solution somewhere involving the command sfisk but now I can't find it! If anyone can point me in the direction of that solution, or has another solution, I'd appreciate it.
 
  


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
"Error loading operating system" upon first reboot after install Unforgiver Linux - Newbie 4 01-03-2012 03:42 AM
Dual-boot install: "Could not find kernel image: linux / boot:" JEBBEDIAH C Linux - Newbie 16 02-02-2005 08:25 PM
"PCI: Cannot allocate..." error message at boot FC2 ?!?! eltoro Fedora 1 10-14-2004 04:03 PM
FC2 freezes on boot "setting hostname" munkymonkjr Fedora 2 10-03-2004 10:07 PM
FC2 post-install hangs on dual boot system Rainer Butsch Fedora - Installation 1 09-11-2004 08:08 PM


All times are GMT -5. The time now is 03:46 AM.

Main Menu
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