LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 07-07-2005, 11:04 AM   #1
izquierdista
Member
 
Registered: Mar 2005
Distribution: Ubuntu
Posts: 344

Rep: Reputation: 30
how to create an XP dual boot after linux has been installed


Hello,
I own a computer that has SUSE 9.1 installed as the operating system. I want to play computer games on it and I cant get them to work with wine or anything else so I have decided that I want to create a dual boot so that I can use the windows partition to play games on it.

Can I make a dual boot computer when linux has already been installed and I want to install Windows XP afterwards?

Is this even possible? I know that one can do a dual boot by installing windows first and then linux but I dont know about the opposite.

thanks for your help.
 
Old 07-07-2005, 06:32 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
Yes, it can be done. It's just more work for you when installing xp after Linux.

1) Make a boot floppy or cd for Linux, or be prepared to use the install cd to be able to boot Linux until you get grub (the bootloader) configured.

2) Assuming you already have a partition set up for xp, install xp. It will write to the MBR and make Linux un-bootable except as outlined in 1) above.

3) after xp is installed, boot into Linux as outlined above, and re-install grub (not install the software, but setup grub to re-write to the MBR). There are instructions easily found on how to do that.

4) Edit /boot/grub/menu.lst to add an entry for xp. Search these boards. There are many examples of the correct entries to make.

5) To choose a default system to boot, make the menu.lst entry 'default 0', then put the entry for the default as first in the list. Or, if you have xp listed second in the list of OSs, and you want xp to be the default, change the default to 1. In grub accounting, numbers start with 0. 0 is first; 1 is second; etc.

6) Test your work. Re-boot. If grub comes up with Linux and xp in the choices, you did it right.
 
Old 07-08-2005, 10:13 AM   #3
hoe
Member
 
Registered: May 2004
Location: Fredericton, NB Canada
Distribution: Mepis
Posts: 81

Rep: Reputation: 15
If you haven't got a partition ready you will have to resize your Suse partition so that it is the second partition because XP will want to be on the front of the HD.

Wayne
 
Old 07-08-2005, 12:44 PM   #4
jayakrishnan
Member
 
Registered: Feb 2002
Location: India
Distribution: Slacky 12.1, XP
Posts: 992

Rep: Reputation: 30
best option is

1. backup data
2. install windows
3. install linux
 
Old 07-08-2005, 02:01 PM   #5
[|RoA|]RoadRunner
Member
 
Registered: Jul 2005
Distribution: LFS
Posts: 43

Rep: Reputation: 15
Quote:
Originally posted by jayakrishnan
best option is

1. backup data
2. install windows
3. install linux

Please, don't do it this way!

Bigriddriver's Way is good and will tell You the little secrets about startmechanisms from Linux. Isn't the Knowlegde about Linux-Things the impulse from which this Forum lives?

If You miss some Details about Bigriddrivers todo-list then feel free to ask.

In one point jayakrishnan is right; Backup Your data before change Partition-sizes, install other OS or change MBR's.
 
  


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
Dual Boot With Linux Already Installed computergee Linux - Newbie 13 02-05-2005 12:32 PM
Has anybody successfully installed a windows/linux dual boot system on a Compaq PC? bugsbunny Linux - Newbie 16 04-03-2004 01:24 PM
Dual Boot, linux already installed primal Linux - Newbie 2 01-19-2004 06:35 PM
Installed Windows and Linux, but can't configure Dual Boot albert106 Linux - Newbie 19 07-31-2003 12:10 AM
Dual-boot with Windows, installed Linux first trusted_content Linux - General 10 06-06-2003 01:38 PM

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

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