LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-08-2006, 11:00 AM   #1
Hikaru_K
LQ Newbie
 
Registered: Sep 2006
Location: ?
Distribution: Mandriva
Posts: 3

Rep: Reputation: 0
Dual boot, linux + windows, two hard drives already installed


Hello everyone, this is my first post here. I tried to serch about what I want to do, but I still have some doubts about it.

Here's the thing:

A day before I only had one hard disk drive for linux (Mandriva 2005LE) completely partitioned for the linux system like this:

dev/hda1/ -->> /swap
dev/hda5/ -->> /
dev/hda6/ -->> /home

and today I got a new hard drive for Windows XP partitioned this way:

C:\The Windows system (Windows, Program Files, etc.)
D:\Data

The thing is that I separately installed windows XP in the new hard drive disconenecting my Linux hard drive, and is like if I have 2 different computers.

If I want to boot Linux, I just put the IDE cable on the linux hard drive, and if I want Windows, the same.

Is there a way to dual boot without having to disconnect and switch them everytime? And if it's possible, what hard disk drive has to be master or slave?

Thanks in advance
 
Old 09-08-2006, 11:11 AM   #2
Okie
Senior Member
 
Registered: Mar 2002
Location: Oklahoma
Posts: 1,154

Rep: Reputation: 187Reputation: 187
RE:["Is there a way to dual boot without having to disconnect and switch them everytime?"] YES!

Linux has two main bootloaders, Grub & LILO, lilo is older and still used today, Grub is newer and more popular...

both Grub and LILO will boot Windows & Linux without having to be switching harddrive IDE cables...

install WIndows first, then Linux last if you ever have to re-install your OSs...

as to fixing what you have now i suggest setting one disk as a master and the other as a slave on the same IDE, /dev/hda & /dev/hdb

/dev/hda = primary master
/dev/hdb = primary slave
/dev/hdc = secondary master
/dev/hdd = secondary slave
 
Old 09-10-2006, 01:27 PM   #3
Hikaru_K
LQ Newbie
 
Registered: Sep 2006
Location: ?
Distribution: Mandriva
Posts: 3

Original Poster
Rep: Reputation: 0
Thank you very much, I managed to get them working together.

I just plugged them in the same IDE as u said, then I put the linux installation CD to restore the linux boot record. The CD did it itself with LILO, and it's working sweet!

Thanks!!
 
  


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
dual boot system on 2 hard drives, wont load windows kamowa Linux - Newbie 6 01-27-2005 11:31 PM
Dual-boot Linux and Windows on 2 drives rgbrock1 Linux - Newbie 3 11-30-2004 01:48 PM
Windows/Linux - dual boot or 2 drives? chantrelle Linux - General 4 11-03-2004 04:59 PM
Dual boot win98 and linux on two hard drives donni Linux - Newbie 2 04-21-2004 02:39 AM
Want to dual boot Windows and Linux, BUT on 2 hard drives hanchey Linux - Hardware 4 12-02-2003 10:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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