Solved

Installing Linux alongside windows XP

Posted on 2004-09-07
5
709 Views
Last Modified: 2013-12-15
I have 2 hardisks hda (master) and hdb(slave). Is it possible to install Linux on hda as the primary OS and XP on hdb as the secondary OS.?
Or will the windows OS insist on being the primary OS.?
Has anybody any experience with this setup.?
0
Comment
Question by:theaussie
5 Comments
 
LVL 6

Expert Comment

by:knollbert
ID: 11997556
Is it possible to install xp on one disk
and linux on the other??
yes
Currently do it however i have Xp on hda and linux on hdb
I have run it the other way too (little more work in setup)
0
 

Author Comment

by:theaussie
ID: 11997859
I've had XP on hda and Linux on hdb before without any problems. At the moment I only Linux installed on my primary drive hda.
I intend to install a new harddisk (hdb), and then install XP onto this.

hdb will be a bootable. Will I require a special setup for this?
For example do I risk that XP will overwrite my MBR where LILO presently resides.?
0
 
LVL 6

Expert Comment

by:knollbert
ID: 11997986
Easiest remove (unplug) linux hd when installing to ensure that it doesn't overwrite the wrong harddrive
However you are using lilo i used grub and know little about lilo


i did see this at several locations
other = /dev/hdb1
label = Windoze
map-drive from=0x80 to=0x81
map-drive from=0x81 to 0x80
0
 
LVL 4

Expert Comment

by:jonnietexas
ID: 12003365
Install Windows then LInux.  The Linux install will be aware of your Windows and will allow dual boot.  Then you can change your GRUB to set default.
0
 
LVL 1

Accepted Solution

by:
kmcgonigal earned 100 total points
ID: 12013264
The best way is to install Windows XP is on the primary hard drive.  Leave some room on hda for /  and use hdb for the other partitions. For example if you have a 80GB hd leave about 10GB for / then put the other linux partitions on hdb. Windows does care where it is installed. Installing Windows on hdb could be problematic. Linux does not care how many drives or partitions  you have because everything is seen as a file anyway. If you do not want to reinstall Linux then you could resize the partions after you install hdb with Partition Magic or qtparted http://qtparted.sourceforge.net/ . An easy way to acomplish this is to download and burn Systemrescue cd http://www.sysresccd.org/ . Boot into systemrescue cd then resize the partitions to your liking. Install windows xp. Windows will erase the boot sector. All you have to do is reinstall Lilo with the correct settings.

The easiest way to dual boot is to start fresh with a new installation (depending on your experience).  :)
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question