LinuxQuestions.org
Help answer threads with 0 replies.
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 10-17-2006, 10:41 AM   #1
arzer
Member
 
Registered: Oct 2006
Distribution: Kubuntu, FC5
Posts: 38

Rep: Reputation: 15
Dual booting Linux and WinXP


Hi,

I have an x86 machine that currently has WinXP on it. I would like to use this hardware to gradually move to Linux.

I was thinking of putting a new hard drive in this PC, and dual booting. I just wondered whether anyone knows if Linux and WinXP will happily dual boot in this fashion?

My action plan would be:

(1) Add the new drive (this would be an Ultra ATA IDE hard drive) - the WinXP drive is currently an SATA unit.

(2) Boot with the FC5 install DVD and hope that it gives me the right options to install on to the IDE HDD without affecting the SATA windows disc.


Also, assuming this works, would the Linux install set a boot manager on the HDD drive (so if I set my BIOS to boot using this device it will let me boot to Linux), or would I have to keep changing the boot drive in the BIOS depending on which OS I wanted to run?


Thanks very much guys, much appreciated.
Arzer
 
Old 10-17-2006, 11:23 AM   #2
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Rep: Reputation: 128Reputation: 128
This has been asked many times before, so a quick search of this site would have answered your questions.

In short though:

Yes, you can dual boot.

Fedora will install Grub (a bootloader) on your disk and ask you which OS you want to boot every time you switch on your computer.
 
Old 10-17-2006, 11:26 AM   #3
kvedaa
Member
 
Registered: Mar 2004
Location: Virginia
Distribution: PacketProtector
Posts: 331

Rep: Reputation: 30
Generally speaking I have had good success in dual booting Windows and Linux (mostly red hat distros in my experince). I generally find that the process goes best when you start with you Windows installation in place, and then install Linux. Most distros (including Fedora Core) will see your windows instance and walk you through the process of creating a dual boot system.

It will ask you where you would like Linux to take residence (this will be the extra drive in your case). And it will create a boot loader. You will then get to choose which OS you wish to be the default. Thus you will not need to go into BIOS and select a boot drive.

Note that it is likely that the SATA drive will likely be your primary drive, this process will load the boot loader there, so that it is seen in the start up process, but the main body of the installation can be performed on the additional drive (ATA) if that is what you select.

Happy Hunting!
 
Old 10-17-2006, 11:45 AM   #4
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
In this kind of dual-boot setup, where the operating systems are on different harddisks (and now the other one is SATA, other is not, if I read right), you might bump into some problems with the bootloader:

- Grub/LiLo/other "is installed", but still only Windows boots
- Grub/LiLo/other starts, fails and you can't boot neither OS
- Windows won't boot (unlikely)

When installing the bootloader you are given the opportunity to choose where to install it: MBR is the preferred choice, but that might create problems too. Because of this, it's a good habit to create boot diskette for each OS (unless you have bootable CD/DVDs already) so if the worst happened, you could more easily fix the problem (yes, the problem(s) can be fixed).

One thing where I've heard errors may occur is a setup where there are two IDE drives (so this migt not apply to you), on the primary cable there is one HD and one CD/DVD, and on the secondary the other HD - in this case there is a possibility the bootloader fails to load completely. As I don't have multiple harddisks myself I'm unable to create a bullet-proof how-to, but usually the working receipt in any case is the one that's said here multiple times: first install Windows (since it overwrites other bootloaders), install bootloader into MBR of the primary harddisk and so on.

One more thing: if you dislike using non-Windows bootloader, it's perfectly ok: Windows' own bootloader is fully capable of booting Linux, you just need to create an "image" of the /boot of your Linux, place it under Windows and configure Windows' bootloader so it sees it. And it works, though not everyone knows that (still I myself prefer Grub or LiLo).
 
Old 10-18-2006, 04:33 AM   #5
arzer
Member
 
Registered: Oct 2006
Distribution: Kubuntu, FC5
Posts: 38

Original Poster
Rep: Reputation: 15
Thanks for the responses guys.

The reason I posted here is because of the SATA vs EIDE issue.

The first time I tried to install FC5 on my machine, it failed with an exception because it couldnt access the SATA hard drive (the error message from anaconda suggested this might be an internal bug). I disconnected the WinXP SATA drive and reinstalled and it worked fine, then reconnected it and now both operating stems seem to be present and correct, but a couple of things have happened:

(1) Fedora seems to be picking up the network domain, machine name, et cetera from the WinXP drive! Is this possible? Well, I guess it must be possible, but is it configurable?

(2) Fedora works absolutely fine, but I have no mouse cursor!! I get a mouse cursor when X server starts, and I get one while it is initializing, but as soon as it gets to the login screen the pointer disappears. Fedora then starts as normal, but with no cursor. I can still move the mouse and the UI reacts as if the point is there (i.e. I can select menu options, etc) but no pointer? Any ideas?
 
Old 10-18-2006, 09:31 AM   #6
kvedaa
Member
 
Registered: Mar 2004
Location: Virginia
Distribution: PacketProtector
Posts: 331

Rep: Reputation: 30
For the mouse issue, take a look at:

https://bugzilla.redhat.com/bugzilla....cgi?id=182517

I found it on another Linux Questions thread at:

http://www.linuxquestions.org/questi...d.php?t=447233
 
Old 10-18-2006, 09:40 AM   #7
kvedaa
Member
 
Registered: Mar 2004
Location: Virginia
Distribution: PacketProtector
Posts: 331

Rep: Reputation: 30
For the network addressing, it seems likely that you are picking up the same dynamic address information that your windows instance was from DHCP on your network (possibly from your home router?).

But this of course can be changed as well.

This thread at Linux Forums discusses dome of the diffrent ways to accomplish this:

http://www.linuxforums.org/forum/red...p-address.html

Happy Hunting!
 
Old 10-18-2006, 02:39 PM   #8
usaf_sp
Member
 
Registered: Jul 2005
Location: Tennessee
Distribution: openSUSE
Posts: 419

Rep: Reputation: 30
Fedora is a good distribution, but have you considered SuSE? I have found that SuSE finds and correctly installs most hardware with no problems.

Also I wanted to point out that WindowsXp should be on the first partition of the primary Hard Drive. If you have problems with Linux and decide to remove it, you can repair the MBR by using the following commands from the recovery console of the WindowsXP install disc:

fixboot
fixmbr

This will reinstall the original windows NTLDR.

What issues are you having with EIDE? You mentioned it, but did not elaborate.
 
Old 10-19-2006, 04:47 AM   #9
arzer
Member
 
Registered: Oct 2006
Distribution: Kubuntu, FC5
Posts: 38

Original Poster
Rep: Reputation: 15
Thanks guys,

@ usav_sp: As regards EIDE it was just that my system has a serial ATA drive (with WinXP on), and I wanted to install another drive to put FC5 on - but this device was EIDE - I was unsure how they would work together in terms of booting etc.. Not really a problem. Have got it working now, but I have to keep changing the boot drive in the BIOS which is a bit annoying. Ideally I would have liked a software boot loader to offer the choice..

Thanks again.
 
Old 10-19-2006, 09:31 AM   #10
kvedaa
Member
 
Registered: Mar 2004
Location: Virginia
Distribution: PacketProtector
Posts: 331

Rep: Reputation: 30
Well lets see,

I assume that when you did the Linux installation you had pulled the windows drive out? Otherwise I suspect that the default would have been to install the bootloader on the Windows drive and you would not have any need to change BIOS settings to boot (of course you still had the option to not install a bootloader during the install process). Regardless it looks like you might have a lot of work ahead of you to get this the way that you would like from here.

Here are two pages that you may want to review.

Here is an O’Reilly page on using the Windows boot loader to select between Windows and Linux:


http://hacks.oreilly.com/pub/h/2337

[note that you may already have GRUB installed on your Linux disk, so you can look up the information that the article above is asking for...]

Here is Linux Questions postings that covers a roughly similar issue to what you have.


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

If nothing else it should give a background on what is happening and give you a lot of the information that you will need to make the changes that you want.

Happy Hunting!

Last edited by kvedaa; 10-19-2006 at 10:13 AM.
 
Old 10-19-2006, 10:08 AM   #11
arzer
Member
 
Registered: Oct 2006
Distribution: Kubuntu, FC5
Posts: 38

Original Poster
Rep: Reputation: 15
Thanks, much appreciated!
 
  


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
GRUB error -- dual booting Linux and WinXP j3nnifers Linux - Software 4 06-27-2006 03:13 PM
Problems booting after trying to dual boot Linux and WinXP Matt Houston Linux - Newbie 10 10-21-2005 07:03 AM
Dual booting Linux and WinXP Pro? OriginalReaper Linux - Newbie 2 01-19-2004 05:22 AM
dual booting winxp/gentoo linux c0nfig Linux - General 2 08-08-2003 05:19 PM
Dual Booting Linux & WinXP (Again, i know) Creep Linux - General 9 12-18-2002 06:15 PM


All times are GMT -5. The time now is 04:24 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration