LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to install windows on linux (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-install-windows-on-linux-894773/)

dspjm 07-31-2011 01:17 PM

How to install windows on linux
 
I only have a linux on my computer. I want to install windows on it, what should i do

repo 07-31-2011 01:20 PM

Dual boot or install windows in a virtual machine.
If you want to run windowsprogramms in linux, take a look at wine
http://www.winehq.org/

Kind regards

Tinkster 07-31-2011 01:34 PM

Quote:

Originally Posted by dspjm (Post 4430044)
I only have a linux on my computer. I want to install windows on it, what should i do

See a psychologist? Just kidding, what repo said; be more specific
with your requirements.


Cheers,
Tink

16pide 07-31-2011 03:49 PM

I would use Virtualbox (the simplest virtual machine system).
create a virtual machine, and install Windows in it.
Once you're done, you'll have a windows machine running in a window of your Linux system.

jefro 07-31-2011 04:05 PM

I am always a big fan of the free virtual machines if your system is supported.

Worse comes to worse you can dual boot or use wine or even make a bartsPE disk.

flamelord 07-31-2011 04:26 PM

A note about dual booting: installing Windows will remove your linux partition, so make sure you have a backup, and are willing to reinstall linux after installing windows.

markush 07-31-2011 04:37 PM

Quote:

Originally Posted by flamelord (Post 4430158)
A note about dual booting: installing Windows will remove your linux partition, so make sure you have a backup, and are willing to reinstall linux after installing windows.

This is a good point, but it is possible to install Windows without deleting the Linux-partition. You'll have to take care that the Windows-paritition (which will be created from the Windows-setupprogram) is not bigger than the free space on the disk. I'd recommend to create some free space on the "first part" of the disk. Unfortunately Windows will not recognize partitions which are created with Linux.

But as flamelord wrote, make sure to have a backup of your data before you perform the Windows-installation.

Markus

dspjm 08-01-2011 10:20 PM

I am sorry that I don't want to install on a virtual machine, which I have one already. I want to install windows meanwhile keep my mbr and grub. Thank everybody for answering

EDDY1 08-02-2011 01:06 AM

You'll also need an ubuntu disk to reinstall grub

Gerwar 08-02-2011 02:45 AM

I dont think there is a way to install windows without messing up the mbr, because as far as i know, windows overwrite the entire mbr. I havent done a lot research 'bout that so maybe im wrong.

markush 08-02-2011 02:54 AM

Quote:

Originally Posted by Gerwar (Post 4431387)
I dont think there is a way to install windows without messing up the mbr, because as far as i know, windows overwrite the entire mbr. I havent done a lot research 'bout that so maybe im wrong.

But it is important that Windows does not overwrite parts of the Linux-installation, the MBR is easy to repair.

Markus

nkd 08-02-2011 04:59 AM

By the way windows need to be on the active primary partition to boot up. So first thing first, check out your partition table and see if you have the active primary partition free for the windoz installation.
I donot think that if you only have one partition on your machine and on that partition you have linux, you can install windoz very easily.
You will have to move the linux partition to the end of disk, create a new partition and mark it as primary and active.
Then you may go ahead and install vista or windoz 7. And you will need to use a ubuntu live cd or some other live distro to do all that !

Anyone knows how to do all that any other way ?

nishith


All times are GMT -5. The time now is 06:50 AM.