LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-13-2006, 10:59 AM   #1
Fixed_it
Member
 
Registered: Jun 2006
Location: New England
Distribution: FC11
Posts: 48

Rep: Reputation: 15
Another Dual Boot Problem: XP / FC5 w. 2 SATA drives


I am in need of some expert assistance. I have searched this forum and googled for dual boot help, but each one has its own nuance that is different than mine, and as I am a newbie at linux I am having difficulty adapting the solutions.

Hardware:
2 80Gb SATA drives

Software:
Win XP on /sda1
Fedora Core 5 on /sdb

I would like to use the windows boot loader, so have I have copied the linux boot sector over to the C: drive and altered the boot.ini file. This all works. When I boot Windows I have no problems(no extra ones that is!). When I select FC5 I get "GRUB hard disk error". So I checked out the grub.conf file, and this is what I currently have :

splashimage = (hd1,0)/grub/splash.xpm.gz
hidemenu
Title Fedora Core (xxx)
root(hd1,0)
kernel /vmlinuz-xxx ro root=/dev/VolGroup00....
initrd /initrd-xxx
Title Other
rootnoverify(hd0,0)
chainloader +1

Any assistance will be greatly appreciated
 
Old 07-13-2006, 12:01 PM   #2
michapma
Member
 
Registered: Oct 2003
Location: Zürich
Distribution: Debian
Posts: 537

Rep: Reputation: 39
First of all, here is my usual reference:
http://www.geocities.com/epark/linux...w2k-HOWTO.html

According to the GRUB manual, this is a Stage 1 error:
http://www.gnu.org/software/grub/man...roubleshooting

As far as I understand, that means is that it doesn't matter what's in your grub.conf file, because it's not even being found by GRUB's stage 1. Grub's stage one is likely what you mean by "I have copied the linux boot sector over to the C: drive."

It seems to me that this statement from the first link above is relevant:
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.
That means that if your /boot is on sdb, then the NTLDR might not be finding it. It is quite possible to install /boot on a small partition on sda and still have the rest of FC5 on sdb.

The easiest solution probably involves reconsidering GRUB as your bootloader. It's more than capable of booting Windows, I think Windows just needs to be installed on a primary partition. If you do replace NTLDR with GRUB though, in order to be able to reinstall the NTLDR easily, simply backup your MBR and then you can restore it as if nothing happened. Google the three words backup mbr linux and you'll get plenty of ideas how to do this.

Here are some tools you'll likely find useful:
http://www.ultimatebootcd.com/faq.html
http://knoppix.org/
http://www.linuxquestions.org/questi...d.php?t=362506 (you can also use the dd command to backup the MBR)
 
Old 07-13-2006, 12:50 PM   #3
Fixed_it
Member
 
Registered: Jun 2006
Location: New England
Distribution: FC11
Posts: 48

Original Poster
Rep: Reputation: 15
Hmmm
I think you might be on to something. I performed the operation descibed by your first link, but the version I was following neglected to say what you highlited- /boot needs to be on the ntldr drive. It is not. I will work on this and see what new errors I can make .
Thanks
 
Old 07-17-2006, 06:49 AM   #4
michapma
Member
 
Registered: Oct 2003
Location: Zürich
Distribution: Debian
Posts: 537

Rep: Reputation: 39
Please let us know how you fare.
 
Old 07-18-2006, 08:24 AM   #5
Fixed_it
Member
 
Registered: Jun 2006
Location: New England
Distribution: FC11
Posts: 48

Original Poster
Rep: Reputation: 15
Well it is a rather sad tale now, and an ending is still being written. I was working on repartitioning my NTFS drive, a day to back up and a day to defrag, another to get a hold of a copy of knoppix that had the repartion tool QTparted. So it all came to a climax this morning. Got it all booted up in knoppix and ran the partition tool- BAD CLUSTERS. But thankfully I was told what to do, run checkdisk and restart- twice. Okay that works, so I reboot and viola- windows has been destroyed! wont boot due a file missing error, but alas, more helpfull hints.. rerun setup disk and run the windows recovery. Why not. So I run that and not its asking for a password I didnt know existed on XP- administrator. I dont think I have ever used THAT. I dont even remember creating it, but there was no use in arguing. So now I have nothing, or so I thought. I figured, "hey lets try and see what errors Fedora 5 can give me, since windows is a little repetitious with its missing file thing" and viola (again)- it works. I am not sure exactly what I did to get it to work, as far as I can tell all I did was inadvertantly kill windows, giving some breathing room for Fedora to spread its wings, or something like that. I suppose I should be trying to recover the windows partion, but that means starting the whole thing all over again- I would rather work on customizing and setting up my nice new FC5/64 OS.
Thanks for the help. I am sure I will need it again soon
 
  


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
Dual boot with two SATA-II drives AbZu Linux - Newbie 2 05-26-2006 08:26 AM
FC5 Install problem ... Dual Boot Kiwi01 Fedora - Installation 4 04-17-2006 05:05 PM
Dual boot w separate SATA drives newguy55 Linux - Newbie 7 03-19-2006 01:44 PM
FC4 and Win XP dual boot Sata drives and Raid ChaoticPi Linux - Hardware 2 10-19-2005 11:47 PM
dual boot on 2 drives...sata and ide vrdhananjay Linux - Hardware 6 09-08-2004 01:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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