Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Install 2 Copies of XP on the Same Machine


  • Please log in to reply
5 replies to this topic

#1 I_am_CanadianEh?

I_am_CanadianEh?

  • Members
  • 489 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:03:24 AM

Posted 05 October 2009 - 04:00 PM

Here's the scenario.

I want to use my laptop in 2 different ways. In one instance, I will be doing everyday things like, browsing the internet, reading email, listening to music, watching videos, playing games etc. Obviously, I will have a locked down system with firewall & antivirus.

However, I want to also load a profile where I want very few services running, disable ALL security software (I will NOT be going on the internet) and keep Windows XP "bare bones". The reason for this is that I plan to install only ONE program....a virtual music/audio player that can stream CD music to an audio system. Since my laptop is a little old and the software does use some resources, I want to keep this instance of Windows at the minimum.

I know that having separate user accounts won't work since disabling services and antivirus is system wide and not specific to certain users.

Can I create 2 partitions on my HDD and install XP on each one? If so, can I use the same Product Key or do I need 2 licenses?
If I do this, will one XP be independent of the other instance of XP?

Now, I can choose whether to do my normal everyday stuff, or log in to the other partition and use Bare bones Windows XP?

Let me know.... :thumbsup:

BC AdBot (Login to Remove)

 


#2 Gammers

Gammers

  • Members
  • 44 posts
  • OFFLINE
  •  
  • Local time:01:24 AM

Posted 08 October 2009 - 01:29 AM

Hello Canadian!

YES, you can do what you want! I have done it on ALL of my systems! What you want is a dual boot system.

1. You must have enough room on your hard disk to house both Win XP installs.
2. You must have a Windows install CD.
3. You must partition your hard drive, you can do that using Windows XP (Control Panel\Administrative tools\Computer Management\Disk Management) or a reliable partition manager software.
4. You must create 2 primary drives (primaries house OS's, i.e. you install an OS to a primary partition)

When you install to the 2nd primary, just do the minimal install of Win XP.

I do a bit of planning before doing my dual boot. I partition with 3 primaries generally, and 3 logical partitions. You could have 2 primaries, and if you want you can have one or more logical. I install my software to the logical partitions so that I can keep the size of my primaries down.

My main WinXP partition (on the C drive) is allocated 13.GB in size, the Windows install and the files that go with it take about 6 or 7 GB of space BUT remember I install most everything out to another partition. My 2nd instance (the dual boot) of WinXP is allocated about 6GB and the files take up about 2GB (very slim Win XP, just for system maintenance and experimentation.

You might want to make both of your primaries bigger in size, depending upon where you installed things on your main partition, and where you will install them on your 2nd primary partition.

It sounds like a big deal before you start...but once you have done it a few times, you will know what a treasure it is to work this way. I won't go into all the uses for this, but I can tell you that my mini WinXP install FLIES because there is no cludge! :thumbsup: Readup on dual boots and have some fun :flowers:

Gammers

#3 I_am_CanadianEh?

I_am_CanadianEh?
  • Topic Starter

  • Members
  • 489 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:03:24 AM

Posted 08 October 2009 - 10:16 AM

Hey Gammers, thanks for the information! :thumbsup:

So each copy of XP will have its own registry, its own settings, etc? But I can share programs across both copies of XP as long as the shared program is on a different logical drive and not the primary?

What about the boot.ini file? When I install the 2nd copy of XP, will Windows take care of this? In other words, when I turn on the computer, I should have a choice between either instance of XP.

Or, will I need to edit the boot.ini file myself?

Finally, I will want to change the description on the choice screen to something like:

"Windows XP - Standard"
"Windows XP - Minimal"

How's that done in boot.ini?

Sorry, for all the questions, you definitely know what you are talking about. I'm learning something new every day. :flowers:

#4 hamluis

hamluis

    Moderator


  • Moderator
  • 55,748 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Killeen, TX
  • Local time:03:24 AM

Posted 08 October 2009 - 10:40 AM

You cannot "share" programs on one install of Windows...with another install.

You can share data files, not programs.

To trigger a program on any install, you must be able to access the registry settings of that install...from within that program.

Louis

#5 Gammers

Gammers

  • Members
  • 44 posts
  • OFFLINE
  •  
  • Local time:01:24 AM

Posted 08 October 2009 - 08:18 PM

Greetings Canadian :thumbsup:

For some answers to your questions...

>>So each copy of XP will have its own registry, its own settings, etc?<<

Yup... That's correct. The one difference that you will see is that there will be certain "root files" in the first partition that there will not be in the 2nd. I am organized as such:

C: C_WinXP1 <------first primary partition
D: D_Temps <--- I set temp folders here (plus browser caches), also I direct the pagefile.sys' of XP1 and 2 here.
E: E_Apps <---- All Applications get installed here
F: F_Home <--- All keepsakes go here (created files; doc, xls, txt, .jpg, etc.) plus music, videos, etc.
G: G_WinXP2 <------second primary partition
H and I are my CD and DVD
J: Dos

The root of C (WinXP1) looks like this:
Documents and Settings <-- folder
Program Files <-- folder
Recycler <--- this may be hidden on some machines, I set all hidden files/folders to view
System Volume Infomation <--- this may be hidden on some machines
Temp <-- folder
Windows <-- folder
Autoexec.bat <-- file
Boot.ini <-- file
config.sys <-- file
IO.sys <-- file
IPH.ph <-- file
MSDos.sys <-- file
NTDetect.com <-- file
ntldr <-- file

The root of G holds the same folders as the above, BUT it does NOT hold any of the above files. Those files are very important AND they must be on that first WinXP's install drive. The Boot.ini and ntldr files are particularly important to the dual boot. They are created/placed there by Windows. The Boot.ini will hold a simple menu that arrives on screen at bootup, so that you can direct yourself to your WinXP1 or WinXP2 (those are my unique names for my boots, you can select other names.)

>>But I can share programs across both copies of XP as long as the shared program is on a different logical drive and not the primary?<<

This depends. That which exists on the particular primary to which you boot MUST be able to open that which you intend to open. In some cases, this takes an install of a program.

Example:
A.) When I boot into WinXP2, even though it is only a minimum WinXP install, I can read many file types located on all other drives/partitions (as long as the other partitions are not hidden, i.e. you must "unhide" them for this purpose). I can read .txt, .jpg, .doc, (in some cases), .bat, .html and so on, with the vanilla WinXP install.

B.) If I want to read Quattro Pro (.qpw), Excel (.xls), Word Pro (.lwp) and many other files, those created by installed programs, THEN I must install that application from within the primary within which I want to read those files. i.e. If I want to use Lotus files (.lwp, .123, .org) while I am booted to the G partition, I MUST install the Lotus Suite when I am in the G partition.

C.) I have, in times past, done FULL installs of both my C and G drives. In this case, I most often go into C, install an App to the E drive, then go into the G drive, and install the same app to the same folder on the E drive. This keeps from the App taking up double the space on the hard drive. Not all programs permit you to do this, but most/many do. A problem is when you uninstall a program from C or G, then go to try and use or uninstall it from the other partition. There are tricks for this :flowers:

>>What about the boot.ini file? When I install the 2nd copy of XP, will Windows take care of this? In other words, when I turn on the computer, I should have a choice between either instance of XP.<<

Yup :trumpet:

My boot.ini currently looks like this:

[boot loader]
timeout=20
default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Windows XP1 Media Center Edition" /noexecute=optin /fastdetect
multi(0)disk(0)rdisk(0)partition(3)\WINDOWS="Windows XP2 Media Center Edition" /noexecute=optin /fastdetect

Windows creates the Boot.ini for you, but you can edit it later. You must take the "read only" off of it AND you MUST be careful to not delete essentials in the boot.ini.

I edited my boot.ini with the XP1 and XP2 so that I knew which XP was which :inlove: The "timeout" is merely the seconds you have to make your menu choice, you can set that at 2 (2 seconds) or 20 (20 seconds) or whatever. The "default=multi(0)disk(0)rdisk(0)partition(2)" tells Windows which partition to open by default, in my case "(2)" is my WinXP1 install. Not to throw you off, but my DOS partition is actually the 1st primary, I renamed my drive letters, so that all partitions listed and viewed the same in each WinXP. I'll see if I can insert a graphic later.

>>Finally, I will want to change the description on the choice screen to something like:

"Windows XP - Standard"
"Windows XP - Minimal"<<

Yup, you can do that by editing the boot.ini :cool: Once you have your installs, you merely go into either WinXP, you take the "read only" off of the boot.ini file (right click the file, select "Properties," uncheck the "read only", press Apply and OK). MAKE SURE you have a copy of that original Boot.ini first, in case you boo boo (you DON'T want to booboo on the editing.) Save after editing. You will see the change when you reboot. The boot.ini file is merely a text file, I believe.

>>Sorry, for all the questions, you definitely know what you are talking about. I'm learning something new every day.<<

Sorry for all the answers...but it is a few minute conversation, just looks long in text :) BTW, there are some WONDERFUL things that you can do once you have that new install. I have many tricks that I use with this :P I actually use my dual boot to make sure that my systems are rarely ever down... In the event of a catastrophe on my WinXP1, I boot into my minimum WinXP2, delete all files on WinXP1, then copy/paste a backed up "fresh WinXP1" onto the C partition. There are "preparations" for this beforehand (remember I install to my E drive, so even my C drive stays slim in size, I also set my pagefile.sys to be on the D drive), but I am set and it is hugely useful :)

Gammers

#6 I_am_CanadianEh?

I_am_CanadianEh?
  • Topic Starter

  • Members
  • 489 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:03:24 AM

Posted 23 October 2009 - 12:57 PM

Worked like a charm! :flowers:
Thanks very much. :thumbsup:




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users