LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 02-03-2005, 07:39 PM   #1
computergee
Member
 
Registered: Feb 2005
Posts: 58

Rep: Reputation: 15
Dual Boot With Linux Already Installed


Can I dual boot linux with windows if linux is already installed and windows is not?
I have Linux installed on my primary harddrive, I plan to install another harddrive and put windows on it, can i move my linux harddrive to the secondary position and put my new harddrive to primary? Also how would I configure a boot manager?
 
Old 02-03-2005, 07:48 PM   #2
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
It is possible, Windows will likely take over the MBR and you'll be using the NTLDR boot manager(I don't like it). There are guides to add linux to it, or you can use a linux rescue disc and get GRUB/LILO back as your bootloader.
 
Old 02-03-2005, 08:56 PM   #3
JoannesX
Member
 
Registered: Dec 2004
Location: Brazil
Distribution: Slackware
Posts: 99

Rep: Reputation: 15
you'd better clean up the mbr of your first hard drive before installing windows

install windows in the partition you chose. if you've done that only windows will be booted when the pc is turned on...

you must now install a boot loader other than windows' in the MBR. i have grub here
if you install grub it will automatically create the entries for the OS you have in your machine...
 
Old 02-03-2005, 08:57 PM   #4
computergee
Member
 
Registered: Feb 2005
Posts: 58

Original Poster
Rep: Reputation: 15
I know i sound like an idoit but what is a mbr and how do i clean it up?
 
Old 02-03-2005, 09:06 PM   #5
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
MBR = Master Boot Record. The area of the hard drive that the BIOS passes the boot process to. There is a whole lot of info about it I could give you, but its about 90% worthless, so that answer should suffice
 
Old 02-03-2005, 09:59 PM   #6
computergee
Member
 
Registered: Feb 2005
Posts: 58

Original Poster
Rep: Reputation: 15
OK, how would i go about cleaning this?
 
Old 02-03-2005, 10:57 PM   #7
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
Once windows is installed, you can lilo from your linux distro or a rescue cd to fix LILO. You haven't told us which distro, so if your using grub, I'll have to look that up
 
Old 02-03-2005, 11:15 PM   #8
tormented_one
Member
 
Registered: Oct 2004
Location: Small Town USA
Distribution: slamd64 2.6.12 Slackware 2.4.32 Windows XP x64 pro
Posts: 383

Rep: Reputation: 30
Windows may complain about not being first on the drive. XP trys to get me to remove the partition in "it's" place. Almost always have to put a partition on the master drive. They don't like to be the "slave". Good ole windows for ya. To avoid an headaches install windows first then linux. Usually make for a nearly fool-proof install.
 
Old 02-04-2005, 06:39 AM   #9
azfaiz
LQ Newbie
 
Registered: Feb 2005
Posts: 4

Rep: Reputation: 0
what he said ^

I'm not sure if this still matters, but the 2.6 kernel had issues with seeing XP. Use your xp recovery disk to get to the command line and fixmbr if you run into that problem and need to get windows back in a hurry.
 
Old 02-04-2005, 12:20 PM   #10
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,848

Rep: Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823
Unless things have changed (very) recently, Windows must be installed on the primary drive.
So to answer your question, yes you can move the Linux disk, and install the new as primary for Windows.
At which point that Linux disc will become non-bootable - must be primary, and the boot-loader will have installed in the MBR of that disk.
Windows will install into the MBR of the new disk, and will know nothing of Linux.
Boot manager setup depends on which you choose to use; Linux (grub/lilo) or Windows (ntldr).

Nothing is as easy as it seems, is it.

Given your lack of experience, it might be best to check if your BIOS supports changing the primary disk.
If it does, you can select which disc to be made primary at will, and boot the applicable O/S. No physical movement needed.
I don't like to do it this way, but others happily run like this.

After you get a bit more comfortable with things, you can set up the bootloader to load both. Plenty of how-to's on the 'net.
 
Old 02-04-2005, 03:51 PM   #11
JoannesX
Member
 
Registered: Dec 2004
Location: Brazil
Distribution: Slackware
Posts: 99

Rep: Reputation: 15
computergee

if you installed windows xp, just take the cd you used and boot your machine with it in the drive. then some normal processes happen...

at a time you'll be asked to "install windows" "repair installation" or "exit"
choose "repair"

you will have to choose the installation to be repaired. if you see something like:
"1 c:\windows" you should type "1"
after you have to type the administrator's passwd..

when you finally get in the prompt, make FIXMBR and it will clean your mbr
then install the boot loader of yourt choice...
 
Old 02-04-2005, 03:59 PM   #12
computergee
Member
 
Registered: Feb 2005
Posts: 58

Original Poster
Rep: Reputation: 15
So let me see if i got this right.

I can move my linux harddrive to the secondary/slave position and put my to-be windows harddrive on primary/master and install windows on there?
 
Old 02-04-2005, 07:27 PM   #13
thorn168
Member
 
Registered: Oct 2004
Location: USA
Distribution: Vector Linux 5.1 Std., Vector Linux 5.8 Std., Win2k, XP, OS X (10.4 & 10.5)
Posts: 344

Rep: Reputation: 42
Computergee,

there are two ways to do this:

1. using the bios software to select the HD that is the master and slave drive.

2. changing the plug in position on the hard drive ribbon cable. The plug at the end is the master postion, the plug in the middle is the slave position.


Ideally it is better to install Windows first then Linux in a dual drive setup. The Linux boot loaders are better.

Thorn
 
Old 02-05-2005, 01:32 PM   #14
computergee
Member
 
Registered: Feb 2005
Posts: 58

Original Poster
Rep: Reputation: 15
I got it working, I just installed windows and then installed linux. But now for some reason my 80 gig hdd that linux is on is reading as 30 gig. Also it loads linux first then I have to switch to windows, how can I make it so it go to windows first?
 
  


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
how to create an XP dual boot after linux has been installed izquierdista Linux - Software 4 07-08-2005 03:01 PM
Has anybody successfully installed a windows/linux dual boot system on a Compaq PC? bugsbunny Linux - Newbie 16 04-03-2004 02:24 PM
Dual Boot, linux already installed primal Linux - Newbie 2 01-19-2004 07:35 PM
Installed Windows and Linux, but can't configure Dual Boot albert106 Linux - Newbie 19 07-31-2003 01:10 AM
Dual-boot with Windows, installed Linux first trusted_content Linux - General 10 06-06-2003 02:38 PM


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