LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 09-05-2009, 03:36 AM   #1
dimple12
LQ Newbie
 
Registered: Sep 2009
Location: India
Posts: 2

Rep: Reputation: 0
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.
 
Old 09-05-2009, 05:50 AM   #2
vinaytp
Member
 
Registered: Apr 2009
Location: Bengaluru, India
Distribution: RHEL 5.4, 6.0, Ubuntu 10.04
Posts: 704

Rep: Reputation: 55
Quote:
Originally Posted by dimple12 View Post
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....
 
Old 09-05-2009, 06:01 AM   #3
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,974

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
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
 
Old 09-05-2009, 10:04 AM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 11,469
Blog Entries: 4

Rep: Reputation: 1525Reputation: 1525Reputation: 1525Reputation: 1525Reputation: 1525Reputation: 1525Reputation: 1525Reputation: 1525Reputation: 1525Reputation: 1525Reputation: 1525
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!
 
Old 09-07-2009, 12:39 AM   #5
dimple12
LQ Newbie
 
Registered: Sep 2009
Location: India
Posts: 2

Original Poster
Rep: Reputation: 0
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.
 
Old 09-07-2009, 02:23 AM   #6
firewiz87
Member
 
Registered: Jan 2006
Distribution: OpenSUSE 11.2, OpenSUSE 11.3,Arch
Posts: 240

Rep: Reputation: 37
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....
 
Old 09-07-2009, 02:28 AM   #7
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,628

Rep: Reputation: Disabled
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.
 
Old 09-07-2009, 10:49 AM   #8
yancek
Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 5,108

Rep: Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816
This site has very specific explanation:

http://apcmag.com/how_to_dual_boot_l...lled_first.htm
 
Old 09-07-2009, 11:35 AM   #9
alexroux
LQ Newbie
 
Registered: Sep 2009
Location: Lausanne (Switzerland)
Distribution: Ubuntu
Posts: 12

Rep: Reputation: 3
Smile

Quote:
Originally Posted by linuxlover.chaitanya View Post
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!
 
Old 09-07-2009, 12:29 PM   #10
anshexp
LQ Newbie
 
Registered: Jul 2009
Posts: 14

Rep: Reputation: 0
Quote:
Originally Posted by dimple12 View Post
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
 
Old 09-07-2009, 01:14 PM   #11
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 2,658
Blog Entries: 3

Rep: Reputation: 224Reputation: 224Reputation: 224
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.
 
Old 09-08-2009, 02:13 AM   #12
tpsbpl
LQ Newbie
 
Registered: Sep 2009
Posts: 5

Rep: Reputation: 0
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
 
Old 09-08-2009, 04:46 AM   #13
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,628

Rep: Reputation: Disabled
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.
 
  


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
Cannot login in windows after i installed Ubuntu drunkenbrawler Linux - Newbie 17 09-04-2009 08:54 AM
LXer: Steps to install gOS on Ubuntu Gutsy Gibbon LXer Syndicated Linux News 0 01-01-2008 04:20 AM
LXer: Install multimedia codecs in Ubuntu 7.10 Gutsy Gibbon in 2 easy steps LXer Syndicated Linux News 0 10-25-2007 06:40 PM
LXer: 6 Steps to a Ubuntu Dapper Drake install LXer Syndicated Linux News 1 06-07-2006 11:56 AM
Help - Installed Ubuntu but now can't start Windows! tranceybowler Linux - Newbie 6 01-29-2005 06:13 AM


All times are GMT -5. The time now is 10:16 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration