LinuxQuestions.org
Visit Jeremy's Blog.
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 05-18-2007, 01:08 PM   #16
stoat
Member
 
Registered: May 2007
Distribution: LFS
Posts: 628

Rep: Reputation: 185Reputation: 185

Quote:
Originally Posted by hardfluidity
id didn't know that u could put grub on one drive or MBR and have it point to anouther drive. has anyone done this yet? and dose it work?
Sure. Even the XP boot loader will do that. The GRUB configuration file, grub.conf, can usually be configured to launch any operating system on any drive that is recognized by the system BIOS.
 
Old 05-19-2007, 01:48 AM   #17
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
I'ts a major pain adding Linux to XP boot loader compared to setting up Grub properly. During installation, if you selected to install grub in /dev/hda, everything should have worked without issues. Here are the instructions I pass around to fix FC6 grub boot loader:

Boot from Fedora Core Linux 1st CD or DVD and type the following commands at shell prompt:
Code:
boot: linux rescue
Just follow on screen instructions, when prompted let installer search Linux installation. If the search operation is successful, your Linux installation will be available at special directory called /mnt/sysimage.
Prepare system for GRUB reinstallation
Code:
# chroot /mnt/sysimage
# cd /boot/grub
Install grub to the drive set to boot in the bios (normally the primary drive), if it is the first drive which is a SATA (SCSI) drive, use this command (replace 'sda' with 'hda' for ATA IDE drive):
Code:
# grub-install /dev/sda
If above command returned any error, return with –recheck option to probe a device map even if it already exists:
Code:
# grub-install --recheck /dev/sda
Exit from chrooted enviroment and reboot Linux:
Code:
# sync;sync;exit;exit
# reboot
 
Old 05-19-2007, 02:06 AM   #18
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
Quote:
Originally Posted by harley51
Now duel booting using XP boot manager (My Preference. I don't like third party boot managers.)
There's no need and never was a need to have a duel between Grub and XP boot loaders, you only need to install one or the other to boot as many OS's as you want. The only real contributing factor in deciding which one, should be, "ease in configuration/installation".
I prefer bootitng which blows both of those away because it eliminates chain-loading vulnerabilities etc., but preference does not answer the poster's question does it?. Any boot loader can do the job flawlessly when installed properly, does not matter if it's first, third, or fifth party, technology is available to everyone to use and enjoy. Telling people not to use what they want to use based on preference is poor advice.
Is there a plausible reason why you recommend not using grub?

Telling yourself not to use third party software is like telling your employer not to give you a raise in pay, (I'd rather stay behind and fall into poverty).

Last edited by Junior Hacker; 05-19-2007 at 02:19 AM.
 
Old 05-19-2007, 03:11 AM   #19
Techno T
LQ Newbie
 
Registered: May 2007
Posts: 10

Original Poster
Rep: Reputation: 0
Minor hiccup!!

Thanks harley51,

I followed your instructions and almost everything works, the only hiccup is now that if I select “Fedora Core 6” to be booted, all I get is a blinking cursor and it refuses to boot. “XP” works fine, if I boot fedora directly it works fine also.
 
Old 05-19-2007, 09:08 AM   #20
stoat
Member
 
Registered: May 2007
Distribution: LFS
Posts: 628

Rep: Reputation: 185Reputation: 185
Hello again Techno T & everyone else,

Quote:
Originally Posted by Techno T
In the meantime I have managed to get fedora up and running and have made it my (C:/hda) drive. So now my drive with XP is the (E:/hdb) drive in Grub lingo this means (hd 0,2 and hd 1,0) or something along those lines. It just makes more sense. Now all I have to do is getting my XP to boot from the grub boot loader.
That sounded like you had Fedora booting with the GRUB bootloader and only had to tweak grub.conf to get it to boot XP. I predicted that possibility in a previous post in this thread. It is usually simple to fix that.

Quote:
Originally Posted by Techno T
Thanks harley51,

I followed your instructions and almost everything works, the only hiccup is now that if I select “Fedora Core 6” to be booted, all I get is a blinking cursor and it refuses to boot. “XP” works fine, if I boot fedora directly it works fine also.
harley51's excellent instructions were on setting up the XP boot loader to boot both systems. You seem to have reversed yourself here. And that's okay. You must do this the way you want. But here is something for you to consider. I intend no disrespect for harley51 and his nice instructions, but I have always experienced inconsistent results using the dd command to create the copy of stage1 for this procedure. So have others. I don't know why. So, if you never get the binary file created with the dd command to work, try using the utility BOOTPART to do the same thing and more. This free utility works in Windows XP and will copy GRUB stage1 to a binary file in the XP root directory and edit the XP boot.ini all in one step. And it has never failed to work when I had trouble doing this using dd. I learned how to use it from Mauriat Miranda's tutorial. Mauriat's tutorial is light on details but very adequate since the subject is so simple. If you should need more details, just ask. Or, read the information in the "So have others" link above. The details are published there.

Anyway, good luck to you with what ever boot loader you decide to use. Either one will be okay.

Last edited by stoat; 05-19-2007 at 09:15 AM.
 
Old 05-19-2007, 07:08 PM   #21
Techno T
LQ Newbie
 
Registered: May 2007
Posts: 10

Original Poster
Rep: Reputation: 0
Close but no bananas!

Thanks Stoat,

Useful info, looks like I have some tinkering to do. I checked my install. log in Fedora and somehow I still managed to install grub into the MBR of my second hd. I tried to create a grub floppy according to the instructions mentioned in the grub manual but got an error message instead. Anyway it is hardware “Dual-boot” at the moment, have to fix it so that it will work like it is supposed to!!
 
Old 05-19-2007, 10:19 PM   #22
harley51
Member
 
Registered: Nov 2003
Location: Downey Ca
Distribution: Fedora 11
Posts: 230

Rep: Reputation: 30
Techno T

If you get a blinking cursor that means the dd command did not work correctly which has happened before just run it again. Providing you followed the instructions accordingly. And Junior Hacker this was my preference on what I like to do. You can chose your own way we're all here to help each other and we all have different ways which can be very interesting. Please keep your comments to your self. The method that I put out was written back in the Red Hat 1 days by someone else and I have refined it over the years to fit the current Distros.

Last edited by harley51; 05-19-2007 at 10:50 PM.
 
  


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
Fedora Core 6 and Win Xp dual boot eugen.serban Linux - Newbie 2 04-04-2007 12:23 AM
Fedora Core 3 + Win XP Dual Boot azrael808 Linux - Software 19 01-17-2006 12:15 PM
Dual Boot Fedora Core 3 and Win Xp Pro Lambda_Core Linux - Software 7 07-03-2005 08:06 PM
questions regarding dual-boot (fedora and Win XP) nulinuser Linux - Newbie 11 07-05-2004 08:00 PM
I need help because I am trying to set up a dual boot system with win XP and Fedora fedoracorechris Fedora 3 04-11-2004 09:24 AM

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

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