LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 07-12-2010, 10:19 AM   #1
asinghpu
Member
 
Registered: Mar 2010
Location: India
Posts: 32

Rep: Reputation: 15
how to install window xp on linux os


hi all

i am great fan of linux and most of work i do in linux . i have laptop and linux is installed . But now i want to install window xp in my laptop with linux (i want both operating system in my laptop). So any body can help me about my problem .



with regards
Amandeep
 
Old 07-12-2010, 10:27 AM   #2
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 9,425

Rep: Reputation: 2826Reputation: 2826Reputation: 2826Reputation: 2826Reputation: 2826Reputation: 2826Reputation: 2826Reputation: 2826Reputation: 2826Reputation: 2826Reputation: 2826
Well the question back to you would be if you want to use only one at a time or both simultaneously?

The first will require you to make some space on the hard drive and then go through the normal install process for windows.
The downside will be that you will then need to re-install your bootloader as windows does not play well with others

The second you can achieve with some virtual software, vmware, virtualbox, to name a couple.
 
Old 07-12-2010, 10:30 AM   #3
arochester
Member
 
Registered: May 2006
Distribution: Debian
Posts: 606

Rep: Reputation: 97
It's easier if you have Windows XP first. Look at http://apcmag.com/how_to_dual_boot_l...lled_first.htm
 
Old 07-12-2010, 10:34 AM   #4
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
Just install it.

Suggestions

(1) You need unallocated free hard disk space. This can be achieved by resizing the Linux if you have given all the hard disk space to it. gparted is the program you need to use so get it installed by the package manager. About 15 to 25Gb will be needed depending on how you use the Xp. You can create the partition for Xp installation in Linux by specifying the partition Type 7 for ntfs.

(2) You can optionally format the Xp partition using command like "mkfs.ntfs". Use the -f paramter to do a quick format otherwise it will be very slow. Xp intaller can format the partition too but it could be the slow format.

(3) Tell Xp installer to use the partition you have created (and formatted).

(4) Xp installer will place Xp's boot loader in the MBR and so your Linux will be out of action temporarily. You need to restore the Linux boot loader (can be Grub1, Grub2 or Lilo) and amend its configuration file to dual boot the two system. Equally you can use Xp to dual boot Linux. The choice is yours. All the details are in just booting tips in my signature if you need to find the commands and steps.

Lastly you also have a choice of using vitual machine by installing Xp as a guest system inside Linux as a host.
 
1 members found this post helpful.
Old 07-12-2010, 10:35 AM   #5
asinghpu
Member
 
Registered: Mar 2010
Location: India
Posts: 32

Original Poster
Rep: Reputation: 15
hi grail

i want to operate only one operating system at a time . but in my system linux is already installed and there is no free space in hard disk . so please help me .


Amandeep
 
Old 07-12-2010, 10:38 AM   #6
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721
You have 3 options (in order from most to least preferable):

1. Try running your Windows apps under Wine (no Windows, and you can even seamlessly use your apps)

2. Install Windows in VirtualBox under Linux (You can still use Linux and Windows at the same time, but not quite seamlessly)

3. Dual-Boot with Windows (you cannot have Linux running while using Windows apps, also it's risky to setup)
 
Old 07-12-2010, 10:50 AM   #7
asinghpu
Member
 
Registered: Mar 2010
Location: India
Posts: 32

Original Poster
Rep: Reputation: 15
hi


from where can i download "gparted program" . Can anybody explain it by command how can use this program which help me to install window xp .
 
Old 07-12-2010, 10:59 AM   #8
Kenny_Strawn
Senior Member
 
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791
Blog Entries: 62

Rep: Reputation: 56
You could also try using VirtualBox to install Windows XP in a virtual machine...

Last edited by Kenny_Strawn; 07-12-2010 at 11:01 AM.
 
Old 07-12-2010, 11:05 AM   #9
asinghpu
Member
 
Registered: Mar 2010
Location: India
Posts: 32

Original Poster
Rep: Reputation: 15
hi


i do't want to use virtual box .
 
Old 07-12-2010, 11:24 AM   #10
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721
Quote:
Originally Posted by asinghpu View Post
i do't want to use virtual box .
Why exactly?

And what's wrong with trying to run your Windows apps with Wine?
 
Old 07-12-2010, 12:31 PM   #11
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,990

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Just google gparted download. Then follow the instructions above from saikees post. It's pretty easy to use but if you have problems, you can always post specific questions.
 
Old 07-12-2010, 01:21 PM   #12
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181
Quote:
Originally Posted by asinghpu View Post
i have laptop and linux is installed .
Do you also have Linux on a liveCD? Many Linux distributions install from a liveCD, so the media you installed Linux from might be a liveCD.

Do you know what boot manager you are using to start Linux? Probably it is grub, but it is best to find out for sure what to fix before breaking it.

You should be booted in the liveCD to shrink the Linux partition before installing XP and you should be booted in the liveCD to repair the Linux boot manager after you install XP.

Make sure you know how to use the liveCD to repair the boot manager before you even resize the partition.

gparted is available as a program to be used inside your installed Linux, but it can't resize the Linux partition that is booted, so it would be pretty useless for you in that form.

gparted is also available as a liveCD. That might be what you want. I don't have a copy of that and don't know if it includes what you also need to repair your boot manager.

Many distributions of Linux are available as a liveCD that includes both gparted and the tools to repair grub. There is no need to have a compatible distribution of liveCD to your installed copy of Linux. I use an older version Mepis liveCD for many such repair tasks on Centos systems. Mepis 8.5 isn't as effective as a stand alone liveCD for repairing other systems, but older versions of Mepis are quite good for that. But if your Linux uses grub2, you would need a liveCD with grub2 support for repairing it.

Last edited by johnsfine; 07-12-2010 at 01:31 PM.
 
Old 07-12-2010, 03:12 PM   #13
David2010
Member
 
Registered: May 2009
Posts: 255

Rep: Reputation: 23
Quote:
Originally Posted by MTK358 View Post
Why exactly?

And what's wrong with trying to run your Windows apps with Wine?
There is nothing wrong with "trying" to run windows apps and games with Wine.

Except for the fact that 3/4th of the apps and games won't function like they are supposed to.
 
Old 07-12-2010, 03:36 PM   #14
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Quote:
Originally Posted by David2010 View Post
There is nothing wrong with "trying" to run windows apps and games with Wine.

Except for the fact that 3/4th of the apps and games won't function like they are supposed to.
Actually, I believe we are at or near the point where the majority DOES work. As a "registered lazy person", I use CrossOver (the commercial version of WINE), and I have been pleasantly surprised how much works now. Note the CrossOver comes in various flavors, including one specifically for games.
http://codeweavers.com
 
Old 07-12-2010, 03:50 PM   #15
David2010
Member
 
Registered: May 2009
Posts: 255

Rep: Reputation: 23
Quote:
Originally Posted by pixellany View Post
Actually, I believe we are at or near the point where the majority DOES work. As a "registered lazy person", I use CrossOver (the commercial version of WINE), and I have been pleasantly surprised how much works now. Note the CrossOver comes in various flavors, including one specifically for games.
http://codeweavers.com
I have never used CrossOver so I don't have much of an opinion on it.

As for "wine" in itself, it has very little compatibility with windows games and applications.

Quick question though, will CrossOver run "The Sims 2"? If you don't know then thats ok.
 
  


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
Compare Linux to Microsoft window and install ...Linux? k-c-l Linux - General 1 07-12-2009 02:12 PM
create linux bootable iso from windows or Install linux from window hard disk AsimAli Linux - Software 5 11-16-2008 12:32 AM
install window xp after linux kashif2131971 Linux - Newbie 3 05-20-2008 10:51 AM
how do you install linux on windows because my friend wants linux on window gundumfx Linux - General 18 07-11-2007 02:07 PM
how do i install & play window game on linux ngoclinux Linux - Games 3 12-05-2005 12:16 PM


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