LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Steps to Install windows when ubuntu is already installed (https://www.linuxquestions.org/questions/linux-newbie-8/steps-to-install-windows-when-ubuntu-is-already-installed-752840/)

dimple12 09-05-2009 02:36 AM

Steps to Install windows when ubuntu is already installed
 
Hi,

I would like to how i can install Windows XP when i already have install linu in my PC.


Thank you.

vinaytp 09-05-2009 04:50 AM

Quote:

Originally Posted by dimple12 (Post 3670613)
Hi,

I would like to how i can install Windows XP when i already have install linu in my PC.


Thank you.

I hope this is not possible..If you install windows with ubuntu already installed in the system, then you have to recover ubuntu with some live cd..

alternatively, you can install Virtual machine on ubuntu and install windowns on it....

markush 09-05-2009 05:01 AM

Hello dimple12 and wellcome to LQ,

the better (saver) choice is at first to install windows on your machine and afterwards to install linux (independent of the distribution). The problem ist that windows cannot deal with existing linux systems on the machine. Otherwise linux can deal with existing windows-installations without any problems.

Markus

onebuck 09-05-2009 09:04 AM

Hi,

Welcome to LQ!

Yes, it's possible to install M$ after the fact but you had better know how and what to do. It would be a lot easier to install M$ first then install your GNU/Linux. Or as suggested to use a VM to install the alternate OS too.

You did not state the hardware configuration. If you happen to be using multiple hdd subsystems then you could probably fool the system by unplugging the GNU/Linux hdd then doing the install on the active hdd. After the install then you would need to adjust the bootloader. Look at 'Just booting tips' by saikee to get some insight.

Just a few links to aid you;

Linux Documentation Project
Rute Tutorial & Exposition
Linux Command Guide
Linux Newbie Admin Guide
LinuxSelfHelp
Getting Started with Linux

These links and others can be found at 'Slackware-Links' . More than just SlackwareŽ links!

dimple12 09-06-2009 11:39 PM

Hi,

My system configuration is 1GB Ram--------- 160Gb hdd
with a processor of 3.20GHz

Actually I know it is easy to install linux when Microsoft XP is already installed.

I wanted to understand the bootup system for both the cases:

Case1: install linux when XP is already present

Case2: install XP when linux is already present.

Thank u for the reply.

firewiz87 09-07-2009 01:23 AM

The reason why the problem occurs is because windows installer over writes the system's mbr with a default one.... ie this deletes the boot files required by linux for booting.... making linux inaccessible....

This does not, in anyway affect the data in Linux... the windows installer merely resets the mbr... so reinstalling the linux bootloader (grub usually) after the windows install should make things right....

linuxlover.chaitanya 09-07-2009 01:28 AM

Well this kind of issue is already covered here. Some search on LQ will definitely give you results.
Its easy to install window over Ubuntu. Just install windows and recover the Grub from Ubuntu Live CD.
Unless you do something weird it should be fine and you should be able to dual boot the machine.

yancek 09-07-2009 09:49 AM

This site has very specific explanation:

http://apcmag.com/how_to_dual_boot_l...lled_first.htm

alexroux 09-07-2009 10:35 AM

Quote:

Originally Posted by linuxlover.chaitanya (Post 3672610)
Well this kind of issue is already covered here. Some search on LQ will definitely give you results.
Its easy to install window over Ubuntu. Just install windows and recover the Grub from Ubuntu Live CD.
Unless you do something weird it should be fine and you should be able to dual boot the machine.

Exactly. After having installed Windows, just boot on the Ubuntu live cd.

Open a terminal and write:

Code:

    sudo grub
    > root (hd0,0)
    > setup (hd0)
    > exit

Where hd0,0 is the disk,partition where grub is installed (often in /boot). Recall that hd0 -> hda (or sda), hd1 -> hdb (sdb) and that partition 0 on grub corresponds to first partition of udev (hd0,0 -> hda1).

Take a look at http://www.howtogeek.com/howto/ubunt...-wipes-it-out/

Easy as can be!

anshexp 09-07-2009 11:29 AM

Quote:

Originally Posted by dimple12 (Post 3670613)
Hi,

I would like to how i can install Windows XP when i already have install linu in my PC.


Thank you.

hi u install window as a normal way.
after installing the window ur secondary drive MBR having the window boot loader.

so ubantu is not visible to you.

so now u boot ur system with ubantu live cd.

open terminal

try

fdisk -l

and see ur linux partition example ur linux partition
/dev/sda7

try
grub
on terminal it will give you grub prompt
if ur linux partition /dev/sda7
the try
root (hd0,6)
it will give the some o/p
after that
try
setup (hd0)

it will update ur grub and now u can boot both ubuntu amd window

Drakeo 09-07-2009 12:14 PM

is this a linux OS question I really wish you luck my friend. I have no need for M$ but the best is to install that OS then resize the partions and then install Slackware. Or what ever distro you want.

tpsbpl 09-08-2009 01:13 AM

hi i am new to LQ ,what i do mostly is that install grub to specific drive (hda6 or what ever u have),then install M S (on FAT partition c drive),install XOSL and boot as many linux distro as u like,but XOSL didnt worked on NTFS for me,till now. i hope this will help

linuxlover.chaitanya 09-08-2009 03:46 AM

If third party boot managers are concerned, super grub can boot most of the distributions. Look at its homepage for download. But grub does support windows as well so there is hardly any need to third party boot managers.


All times are GMT -5. The time now is 01:22 PM.