www.thpc.info   TweakHomePC    www.thpc.info

Dual-booting all versions of Windows and Linux
 
   Dual-Boot Centre      9x Speed Tweaks      How do I ...      9x Updates      9x Utilities      Downloads      PC Safety      Site Map      Link  
 
 
 

Here: Home > Dual-Boot > Dual-Boot Windows Vista with other Operating Systems >

Install Triple-Boot of Windows Vista + XP + MS-DOS 7.10 on a Windows Vista computer (Vista installed first)

Last reviewed: June 2011

Updated for EasyBCD version 2.1. Do not use these instructions with earlier versions of EasyBCD.

On this page:

Introduction

This guide shows how to safely create a natural triple-boot of Windows Vista, Windows XP and MS-DOS 7.10 on a computer with Windows Vista already installed. You can then run any of those three operating systems by selecting one from a Windows Vista menu during bootup. No data loss will occur and no third-party boot utility will be used.

In this procedure you need to shrink the Windows Vista drive to make room for both Windows XP and MS-DOS 7.10 unless you install XP on a second hard disk. MS-DOS must be installed on the first disk. Using a second disk simplifies the procedure but it's not necessary. The example shown here uses one hard disk. 32 and 64-bit versions of Windows Vista Home Premium & Basic, installed on a single NTFS partition, were used in testing. The operating systems added were MS-DOS 7.10 (Win98SE) and Windows XP Home SP2 or Professional SP2. The computers used were (1) a 32-bit Dell Optiplex with Pentium 4 (2.26GHz), 2.0 GB RAM, 160 GB ATA hard disk, and (2) AMD Athlon 64-bit (2.4GHz), 2.0 GB RAM, 1 TB SATA hard disk.

Following these instructions correctly should always succeed. However, any change to your computer should not even be considered unless your have a rescue plan. This guide also contains that rescue plan - just in case!

This procedure is suitable for experienced computer users.

[top of page]

Important Installation Notes

Full Installation CD/DVDs. The Windows you are adding cannot be installed from Recovery or Repair CDs or DVDs provided by some OEMs. You need the full installation or setup version to install a Windows.

EasyBCD. The highly-acclaimed EasyBCD is a free editing utility that allows any user to easily edit the Windows Vista boot menu (the BCD or Boot Configuration Data). Some settings, not used here, are very advanced. EasyBCD works in Windows Vista, but also in Windows XP if you first install Microsoft's .NET 2.0 Framework (new window).

Shrinking a Windows Vista drive. You should use Shrink in Windows' Disk Management to resize the Windows partition. If the free space achieved is inadequate, you can read Shrink the Windows Vista Partition for instructions on completing this task successfully. Use the free GParted Live CD to gain disk space only if you absolutely must - read the page Use GParted to Resize the Windows Vista Partition to learn how and, before you use GParted, read Repair Windows Vista Startup (below).

Formatting. All partitions should be created before you start installing any operating system (OS). The partition should be Formatted when installing that OS to ensure compatible file system versions. Avoid formatting Windows partitions with GParted or any other third-party partitioning utility.

Restore Points and Windows XP.While absolutely essential, it's best practice to apply a fix to prevent Windows XP removing Restore Points created by Vista. Read Fix Restore Points Problem in XP (below).

[top of page]
 

Prepare to Install Windows XP & MS-DOS 7.10 on Windows Vista computer

Installing other operating systems on your Windows Vista computer may invalidate your warrantee.

It's important to follow the instructions exactly as stated and you should have a properly working Windows.


Make your preparations

  1. Backup important data before making any changes to a partition. You can burn files to a CD, clone an image of your hard disk, copy files to a USB flash/pen/thumb drive, or use an USB external drive (a good choice)
  2. Plan and create your new partitions carefully before you install.
  3. Download Microsoft's .NET 2.0 Framework (Dotnetfx.exe - free - required by XP to run EasyBCD).
    Download Neosmart's EasyBCD 2.1 (free - simplifies editing the Vista boot loader).
    Optional: Download NeoSmart's free Windows Vista System Recovery Disk if your Vista DVD is missing!
  4. Download any essential device drivers for your older Windows.
  5. If you intend using a second hard disk, make sure that disk is in place before you start.
  6. Disconnect all unnecessary external devices before you start.

Make free space and create new partitions

This part is best completed BEFORE you start installing any other operating system.
Remember, you should never alter the starting position of a partition that contains an OS you wish to keep.

The single 160 GB disk usually used in testing initially had: Windows Vista (150 GB, Primary, NTFS). The Windows Vista drive was shrunk leaving about 40 GB Unallocated space at the end of the disk (to the right). After repartitioning it had: Windows Vista (130 GB, Primary, NTFS), MS-DOS (3 GB, Primary, FAT32), XP (15 GB, Logical, NTFS). You can use a second hard disk for Windows XP - the procedure will be similar to that described here.

The 127 GB partition limitation that afflicts Win98/Me/2K is not a problem with MS-DOS 7.10. Also, the Active marker is unaffected by installing MS-DOS 7.10 - your experience may be different, so be prepared to use Fdisk (Option 2), Vista's DiskPart, or your own method for making the NTFS partition Active again.

MS-DOS 7.10 must be installed on a Primary partition on the first hard disk.
Always note the size of each partition and also label each (this guide uses vsta, doos and w_XP).

  1. Restart computer correctly (close all programs before you Restart computer).
  2. Open Disk Management in Windows Vista (right-click Computer, select Manage, click Disk Management).
    • Right-click your CD/DVD drive(s), select Change drive letter and paths..., and click Change.
      Change the drive letter to K (get it out of the way!).
    • Right-click the Windows Vista Volume (probably C:), and select Properties.
      In the General tab, enter vsta as the label for the Windows Vista volume, and click Apply.
  3. In Disk Management in Windows Vista
    • Right-click the vsta volume, and click Shrink Volume.
      • In Enter the amount of space to shrink in MB: enter enough for XP and MS-DOS.
      • Click the Shrink button (it may take some time!).

      If Shrink does not give you sufficient Unallocated space, read Shrink the Windows Vista Partition for instructions on how to complete this task successfully. Then return here.
       
    • If you need a fourth Primary partition, read Create a Fourth Primary partition (new window)
      - but remember, four Primaries mean you cannot have any further partitions on that hard disk!
    • Right-click the Unallocated space and select New Simple Volume.... Click Next.
      • In Simple volume size in MB:, select enough for MS-DOS. Click Next.
      • In File system, select FAT32 in the drop-down.
      • In Volume label, enter doos.
      • Tick to enable the Perform a quick format check box, and click Next.
      • Click Finish button.
    • In the same manner, create another partition using NTFS, and Label it w_XP.
    • If you have a very large hard disk, you can create an extra NTFS partition for data.
      (Disk Management will automatically create Logical partitions when those become necessary).
  4. Restart to Windows Vista two times.
    • Open Disk Management and check that the change made is correct.

Use the free GParted Live CD to gain adequate disk space only if you absolutely must - read the page Use GParted to Resize the Windows Vista Partition to learn how, and read Repair Windows Vista Startup (below) before you use GParted.

[top of page]
 

Installing the Operating Systems in this Windows Vista Multi-Boot

These pages show how to install each operating system in this multi-boot and how to use EasyBCD 2.1 with each.

You can install the OSs in any order you wish but you should have already created all appropriate partitions. Installing an older OS first is suggested as this facilitates its easier removal if you decide not to continue with it.

The Windows Vista boot menu will now boot Windows Vista,Windows XP or Windows 98/Me when selected.

Congratulations! You have created a natural triple-boot of Windows Vista, Windows XP and MS-DOS 7.10 when Windows Vista was installed first.

Footnote:
EasyBCD 2.1 creates an NST folder on the root of the Windows Vista partition when it adds an operating system to the Windows Vista boot loader. This NST folder contains file(s) vital to booting added OSs. It must not be deleted.

[top of page]

Fix Restore Points Problem in XP

Windows XP does not understand some of the disk management techniques used by Windows Vista. Every time XP is booted, it destroys Vista's and Vista's Restore Points and all except the most recent backup files from Complete PC Backup - read Microsoft's Knowledge Base article 926185. The problem does not affect Windows 2000 or other versions of Windows.

A small addition to XP's registry avoids this problem by making the Windows Vista partition inaccessible when, and only when, XP is running. You must, however, use extreme care to ensure you enter the correct drive letter in the following corrective procedure. You must never enter the drive letter used by XP - that would prevent XP from starting! This fix is applied when XP is booted and not from any other Windows.

  1. Download this tiny xp_rstr_fix.reg file, xp_rstr_fix.zip, and unzip it to XP's Desktop.
  2. Startup to Windows XP. It must be XP and not any other version of Windows.
  3. Note the drive letter allocated to the Vista partition in XP's Windows Explorer.
  4. Right-click xp_rstr_fix.reg on the Desktop and select Edit. Look at this line in xp_rstr_fix.reg:
    "\\DosDevices\\Z:"=dword:00000001
    • Carefully change that Z to the drive letter allocated to the Vista partition
      (make sure you do not remove the \\ before the letter or the : after the letter).
    • Save the file back to the Desktop as xp_rstr_fix2.reg
    • Right-click xp_rstr_fix2.reg on the Desktop, click Merge, and click OK.
  5. Reboot to Vista and create a new Restore Point (right-click Computer > Properties > System Protection).
  6. Delete those two .reg files on XP's Desktop when you're finished but store xp_rstr_fix_un.reg somewhere safe in case you wish to undo the change made (you'll need to alter the Z in that .reg file before you use it).

Whenever you reboot to XP you will be denied access to the Vista partition and the partition will appear to be unformatted (RAW) even though the contents have not been changed. It will still be allocated a drive letter in XP but not with a Label. When you boot to Vista you will have access to all your drives, including the Windows XP partition.

You can right-click xp_rstr_fix_un.reg, and click Merge, to undo the change made if you wish.

This is the full xp_rstr_fix.reg file: (the blank line is required)

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices\Offline]
"\\DosDevices\\Z:"=dword:00000001

[top of page]

Repair Windows Vista Startup

You will not have any problem if you follow the instructions as stated above. However you might encounter some freak occurrence like a power failure during installation. Windows Vista will boot again if you execute the following procedure.

  1. Bootup a Windows Vista installation DVD or even from NeoSmart's free Windows Vista System Recovery Disk.
    It must be a 64-bit version if a 64-bit Windows is installed.
    • Press a key when you see Press any key to boot from a CD or DVD.
    • Select your Language and then Time....
    • Select Repair your computer (bottom left of the Install now screen).
      An automatic check of your system will run.
    • Click Repair and restart
      Windows Vista should boot normally (very likely). If not, continue here.
  2. Bootup from the Windows Vista installation DVD again
    • Select Repair your computer again.
    • In System Recovery Options, select Windows Vista, and click Next.
    • Click Startup Repair.
    • Click Finish when it's complete, and then Restart.
    • You must let CheckDisk run if requested.
      Windows Vista should boot normally.

If still stuck for a solution, boot again from the installation DVD, select Repair your computer, highlight Windows Vista, get to a Command Prompt, use DIR command (DIR C: or DIR D: etc.) to identify drive letter allocations (sizes and Labels will help), and type in:
bootrec /FixMbr
bootrec /FixBoot
bootrec /RebuildBcd
X:\boot\bootsect.exe /nt60 C:
  (where X: is your DVD drive letter, and C: is the installation drive for Windows Vista).
EXIT, and click Restart. Remove the DVD.

[top of page]

Related Reading How do I ...


Please remember that you alone are responsible for the consequences of changes you make to your computer hardware or software.

www.thpc.info was formally TweakHomePC at www.tweakhomepc.virtualave.net
Copyright © LarryM 1998-2011 thpc@mail.com