LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 11-25-2006, 01:29 AM   #1
tmhartsr
LQ Newbie
 
Registered: Jun 2006
Location: Waynesboro, PA
Distribution: Fedora Core 5 x86-64
Posts: 9

Rep: Reputation: 0
Angry Dual Boot Two Drives


Have matched pair of SATA II 3.0 250 GB hard drives. Installed XP on drive sda. Then installed Core 6 on sdb. Installation said installing boot loader. But have no idea where it is. Boots only to XP, no GRUB Screen, no matter what I do. I take it that GRUB must go on the first sector of the first active drive controller a drive is attached to? Must /boot also be located on the same drive as GRUB? In the above case what happened to GRUB? If I F11 to sdb still does not boot. Same if I change first boot drive in BIOS. Even tried disabling the sda drive controller. When I force to look at sdb says no OS, or Bootloader found, or something like that.
Thanks
Terry
 
Old 11-25-2006, 02:03 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
It looks like the grub bootloader wasn't written to the MBR of either disk. See if you can boot up to the install disk. Press [ESC] on the grub menu and see if you can boot manually from the grub shell. For example, you might enter:
kernel (hd1,1)/boot/vmlinuz
initrd (hd1,1)/boot/initrd
boot

Use autocompletion to find the correct drive, partition, and file for the kernel and initrd file. There might be symbolic links (vmlinuz & initrd) pointing to the actual kernel and ramdisk file which you can select.

If you can boot up this way, then run grub-install to write grub to /dev/sda.
 
Old 11-25-2006, 10:25 AM   #3
tmhartsr
LQ Newbie
 
Registered: Jun 2006
Location: Waynesboro, PA
Distribution: Fedora Core 5 x86-64
Posts: 9

Original Poster
Rep: Reputation: 0
Thanks
Will try that. Up all night and have to go to work so later. Will let you know how this comes out. Looks to me like GRUB must be installed on the first PHYSICAL drive controller that a drive is connected to, no matter if you use F11 or BIOS to change the Boot order? Seems like a Bug to me that the default install did apparently not install, or update, GRUB at all when I did the install on the second drive?
Terry
 
Old 11-26-2006, 04:49 AM   #4
decrepit
Member
 
Registered: May 2006
Distribution: Ubuntu10.04, < fedora12
Posts: 347

Rep: Reputation: 34
every fedora install I've done, you get a choice of where to install grub, to the MBR (of primary hard drive) or the boot partition. Did you see this screen???
 
Old 11-27-2006, 12:18 AM   #5
tmhartsr
LQ Newbie
 
Registered: Jun 2006
Location: Waynesboro, PA
Distribution: Fedora Core 5 x86-64
Posts: 9

Original Poster
Rep: Reputation: 0
No. Using Core 6 default install. No customization or partition review. Never get that screen? When I was having this problem on two different computers (exactly the same problem) had pre fdisk and formatted a vfat partition for data to be shared between Doze and Fedora. Friend suggested removing the vfat partition and then trying the install. Did so and now it boots fine to the second drive using F11. Apparently having that vfat partition on a portion of the drive before hand causes this problem. No idea why?
 
Old 11-27-2006, 04:10 AM   #6
decrepit
Member
 
Registered: May 2006
Distribution: Ubuntu10.04, < fedora12
Posts: 347

Rep: Reputation: 34
That's a mystery to me, when I've installed fedora to drive b and wanted to boot from that, I've disabled drive a (pulled it's power lead) during the install proccess. That makes sure fedora installs grub to the MBR of drive b.
Then you can play with grub so it will boot doze as well, then you don't have to play around with bios, but doze will still boot from drive a if needed.

And I've never had a problem with vfat partitions already installed.

Last edited by decrepit; 11-27-2006 at 05:17 AM.
 
Old 11-27-2006, 09:32 PM   #7
Linux>Me
LQ Newbie
 
Registered: Nov 2006
Location: San Diego, CA
Distribution: Fedora
Posts: 21

Rep: Reputation: 15
I had a very similar problem to your issue myself.

My headaches and findings can be found here.

http://www.linuxquestions.org/questi...d.php?t=500958

For some reason GRUB only 'likes' to be installed on the first HDD on the Primary IDE cable. I found that out the hard way.

If you don't want to read all the posts in that thread, my ultimate solution ended up being that I took the drive I wanted to install Linux on and put it on the Primary IDE cable as a Master. Then, I proceeded to install Fedora. I rebooted the machine and Fedora Core booted up normally. I then switched Fedora back to my secondary Master, replacing my original Primary Master (My windows HDD) to its original place.

Now, when I want to boot Fedora, I simply hit F11 and select my Secondary Master from the list, no multi booting necessary.
 
Old 11-28-2006, 01:02 AM   #8
tmhartsr
LQ Newbie
 
Registered: Jun 2006
Location: Waynesboro, PA
Distribution: Fedora Core 5 x86-64
Posts: 9

Original Poster
Rep: Reputation: 0
What I figured out was that if I put a FAT32 partition on the drive first and Formatted it using MS ahead of time then for some reason could not get the thing to boot to Fedora. Ended up creating the Fat partition but NOT formatting it ahead of time. Then had Fedora format it during the install. That works and solved my problem. I do ALWAYS disable other hard drives when installing any OS. You can simply go into BIOS and disable the drive controller of the other drive(s). Same as physically disconnecting them. SATA controllers are dual channel, ie master and slave, just like IDE. So if you have four SATA connectors 1 will be the first controller master, 2 first slave, 3 second controller master, 4 second slave. Ideal situation is to connect a pair of drives to connector 1 and the second to connector 3. That way you can enable and disable either of them from BIOS. After I got Fedora to install on the second drive re-enabled the other controller and can now use F11 to select which drive to boot from just fine.
 
  


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
grub dual boot, dual drives... scoob8000 Linux - General 5 04-11-2005 06:54 PM
Fedora Core 3 Dual Boot, Dual Hard drives, Grub Boot Loader Denali03 Linux - Newbie 1 03-04-2005 01:44 PM
Dual boot, dual drives. Where to put GRUB? rgbrock1 Linux - Newbie 5 10-02-2004 10:56 AM
Dual Boot on Dual Drives-- need clarification infidel Linux - Hardware 3 12-28-2003 10:38 AM
dual boot with dual hard drives spleef Linux - General 4 09-08-2003 01:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 11:54 AM.

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