Multibooters
Dual and Multibooting with Vista


This site’s main aim is to understand Vista’s boot requirements,
particularly with regard to third-party boot managers and cloning.
Site Motief

Home
Vista Quirks and Bugs
Vista's new Partitioning
Rules
Vista's MBR DIsk
Signature
Vista's Boot Files
bootmgr and BCD
Installing Vista
Cloning Vista
Drive Letter Problems
Vista Tested
Boot Managers
Vista Boot Floppy
The Multiboot Process
The Windows System
and Boot Partitions


Windows Seven LogoWINDOWS
SEVEN

Much of the Vista material on this site will apply to Seven, but there have been a few notable changes which can make some of the information here not applicable or not entirely safe for use with Windows Seven. See the new Win-7 page for current updates.



 


Windows World Logo

    Windows Seven.
  Multibooters - June 2009.
This page last reviewed or updated - Jan 2010.  

Warning icon DISCLAIMER:
 The information on this site is offered in good faith and no responsibility can be accepted for misuse that leads to loss of data or damaged hardware. There are any number of ways that the slightest mistake in procedure could trash a system. If you have a mission critical OS that you cannot restore, or data that is not fully backed up, then you should not be experimenting with such things.

Info iconThis web site was never intended as a complete how-to guide on the subject of multibooting or cloning. The focus has been to publish information about Vista that was not seen elsewhere. Effort has been made to keep articles as non-technical and concise as possible.









Kaspersky Anti-Virus 2011






Introducing Iomega ScreenPlay Director



Microsoft Windows Seven

Win7 monitor logos

 

The core boot files of Vista and Seven are the same but there are some operational differences. This page will examine the areas where the two operating systems deviate. Full testing of Seven and the updating of the entire site is still in progress, so be cautious.

 

 

Installing Windows7

Both 32 and 64bit versions of Win7 have been tested and so far no differences other than minimum partition size have been noted. Only common PC hardware has been used and findings have been reasonably consistent across extensive test installs, all of which were started by booting directly from the DVD. No upgrades or installs started from inside a running Windows OS have been tried.

Windows Seven creates partitions to the same plan as Vista, so the same multibooting issues will apply. See:- Vista’s new partitioning rules
The bug in Vista that can delete entire partitions has not been fixed in Seven. See:- Disappearing Partitions


Win7 Setup Routines
If you follow the install instructions in the first three paragraphs of the section How to Install Vista and Avoid Changes to Other Operating Systems, it will produce the same results for Win7 public release. You should however disregard the forth paragraph in that section as there has been a major change to the way the Win7 setup will handle free space. If you point the Win7 install to unpartitioned space in a machine that does not already have an active primary partition on the boot hard drive, then setup will without any notification create an extra small partition just for the main boot files to reside on. This partition will be a small 100MB primary on the boot hard drive and it will become the active System partition to the Boot partition of your new Win7 install. The files placed on this tiny partition will be bootmgr and the Boot folder, (and bootsect.bak, a backup of the PBR). The partition will be labelled as ‘System Reserved’ and will not be mounted or assigned a drive letter inside Windows7 so most users will not be aware of its existence. The operating system will not have those boot files on its own partition, which will have obvious consequences for imaging and cloning.

Windows7 Disk Management View
The Windows7 "System Reserved" mini System Partition.

If an Active partition of FAT16/32 or NTFS already exists on the boot drive then the extra partition will not be created and the Win7 boot files will go to that current System partition, which will have its PBR (Partition Boot Record) re-written to start bootmgr at boot time. If there is a WinNT operating system already on that partition then the MS boot manager will be configured and you will get a boot menu on bootup. Any other type of OS on a current system partition will not be configured for dualboot and will no longer be available.

If during the Win7 setup you choose to manually create a partition in unpartitioned space, then you will, if no other Active system partition is already present, get a notification message that an extra partition ‘might’ be created. To ensure that all Windows features work correctly, Windows might create additional partitions for system files In all test cases the extra partition was created.

At no time during testing did setup ever create an extended partition or allow for the manual creation of one. If an extended is created before starting setup then Win7 behaves the same as previous WinNT. If an install is pointed to free space inside the extended or to a pre-made logical, the boot drive Active partition or the first suitable unhidden primary will be used as the system partition.

A Quirk or Two
If you already have three primary partitions that are either hidden or of an unsuitable file system, then the Windows setup will fail if you point it to remaining unpartitioned space. The Win7 setup will want to create 2 primary partitions and this exceeds the maximum allowance of 4. “Setup was unable to create a new system partition or locate an existing partition.” If one of the 3 existing primaries is visible and suitable then setup will accept the unpartitioned space and set the existing primary as active and use it as the system partition. If more than one suitable primary is visible then setup will choose either an already active partition or the first suitable primary from the start of the hard drive. If an unsuitable primary was the active one then it will lose that status.

If during setup you manually create a forth primary it will be accepted for install regardless of the status of the other three partitions. However if any are visible and suitable they will be subject to the same selection method as above and so may become the system partition. If the forth primary is created before booting from the DVD and it is not set as the active partition, then setup will look for the presence of an existing suitable active partition, if none is found the new forth primary will be set as the active one.

If you have three unsuitable primaries and unpartitioned space on the boot drive and you direct setup to install Windows7 to a second or higher hard drive, then you will receive the same error message as shown above. Seems the setup routines still look at the availability of creating two primaries on the boot drive, even though it only needs to make one there.


 

Generalizing the Windows7 BCD

The instructions on the Vista Cloning Page for Generalizing the BCD can almost all be used with Windows7. Of course you should only generalize a BCD that is on the same partition as the Win7 or Vista operating system it is for. If you are using the MS bootmanager to dual or multiboot then you cannot generalize boot Objects in the BCD that are for operating systems on partitions other than the bootmanager partition, (the System partition). If you have separate System and Boot partitions for your Win7 install then you should not attempt to generalize its BCD. The new Win7 “System Reserved” mini system partition takes the BCD out of the OS and so you cannot generalize the BCD for such a Win7 install. If you need to clone or move Win7 to other partitions or drives then it would be easiest to avoid the use of a separate system partition, otherwise you will have to “re-specialize” the relevant boot Objects in the BCD after each OS move.

There is a new BCD element value for Win7 that makes the MS boot manager (bootmgr) go hunting across partitions for a bootable Windows operating system. The Windows sysprep tool will set the necessary BCD Elements to “Locate” and this allows for the copying of hard drives or the cloning of Win7 in tandem with a System Reserved partition. I've found it has limited scope however and is of little use in multiboot machines that have various OSes and drives. It only works on systems that have a simple setup where the desired Win7 install is in the correct position to be the first OS discovered. I have not yet seen a way to use the BCDEdit.exe tool to set the “Locate” value in the BCD and wonder if it has even been programmed in. If you know otherwise then please share. feedback. I would suspect it can be done with the WMI Provider, or you could sysprep a Win7 install and save the modified BCD.

BCD Locate Value
The syspreped Win7 BCD – showing the appropriate Elements set to “locate”

The {memdiag} Object is also set to Locate, but the new WinRE boot Object is completely removed from the BCD, then replaced during first bootup of the syspreped operating system.


 

winload.exe.......is no longer missing

A misleading and unhelpful error message in Vista has been replaced in Seven with just an unhelpful message. Be thankful for small mercies I suppose, at least the new message will no longer send people down a blind alley. Now you are just pointed gestured in the direction of hundreds of alleys and left to make your own wrong turns.

“The boot selection failed because a required device is inaccessible.”

See the MBR and Vista Boot Files pages for the likely cause of this message. Substitute it for “winload.exe ………is missing or corrupt”.

Most times that people see the old message in Vista it has nothing to do with winload.exe being missing or corrupt. In Seven when I break any part of the boot sequence, including just removing or corrupting winload.exe, it is the new message that I see. I did however have an instance of the old message appearing and I can’t explain or repeat it. It happened just once on one machine while breaking and fixing BCDs, so I suspect it was a cross-over to a Vista install somewhere on one of the drives, but please let me know if you see it with Seven. feedback

 

 

The ntldr boot Object in the BCD

Inside Vista’s default BCD store there is always an ntldr boot Object already defined and waiting to be used for a dualboot arrangement with a legacy WinNT operating system. In Win7 the ntldr object is no longer a standard inclusion and will only be created if dualboot with an old WinNT is actually configured at install time.

For people who go against the Microsoft grain and add XP after Vista, but still want to use the MS boot manager, it takes one command to add ntldr to the Vista boot menu.
bcdedit /displayorder {ntldr} /addlast (or if preferred /addfirst)

With Windows 7 it will require three extra commands:
bcdedit /create {ntldr} /d “Windows XP”
bcdedit /set {ntldr} device partition=X:
bcdedit /set {ntldr} path \ntldr
bcdedit /displayorder {ntldr} /addlast

Where X is the drive letter of the Win7 partition, as currently seen by the environment from where you are editing the BCD - (usually C:).

Of course this is only if you have installed XP entirely to its own partition and prevented it from taking over the Win7 partition. You also have to manually move copies of the XP boot files ntldr, boot.ini and NTDETECT.COM into the root of Seven.

If you have allowed the creation of the new Win7 mini system partition then you would copy the XP boot files there instead. You would also have to set the {ntldr} device Element accordingly - X would then be the drive letter of the mini system partition. Of course if working from inside Win7 the mini partition won’t be assigned a drive letter so you will have to use the Volume number. If the mini partition is the first partition on the hard drive then it will be Volume1
bcdedit /set {ntldr} device partition=\Device\HarddiskVolume1

The {ntldr} device Element would be the same as the {bootmgr} device Element.

Win7 BCD screenshot

 

 

Windows Recovery Environment

The Windows Recovery Environment (WinRE), the replacement to the old Recovery Console of legacy WinNT, is now included within the Windows7 operating system and can be started at boot time without the need for a DVD or the additional deliberate installing of WinRE on the hard drive. It’s the first boot item on the F8 boot menu - “Repair your Computer”.

WinRE options screen
The WinRE options screen for Windows7.

A welcome addition I’m sure for those who want or need it, but it is initiated through the BCD, so if you can’t boot Windows because of a BCD problem then you also won’t be able to start the recovery environment. When cloning or multibooting with a third-party bootmanager the most likely issue you are going to encountered will be a BCD one. The best solution to prevent BCD problems with the operating system is to Generalize the relevant boot Objects in the BCD. It is possible to Generalize the WinRE Objects but it is more trouble than it is worth, the reliable solution is to have WinRE on CD/DVD or USB stick. If you don’t possess a full Win7 install DVD then you can make a dedicated WinRE bootable CD or DVD from inside Windows7. Click the option on the start menu “Create a System Repair Disk” or open Backup and Restore and select it from in there.

Start Menu Link-Create Repair Disk


To create a WinRE bootable USB Flash Drive, with Vista or Win7 tools, re-format the stick as Fat32 in the Disk Management utility. If it is not already showing as Active then use Diskpart to set the partition Active. Make a system repair CD/DVD in Win7 and copy over the three files on the disk to your stick – that's it. The WinRE files are only 141mb for 32bit, and 164mb for 64bit, so a stick from only 256mb can suffice, but it is possible to put other files on it and use it as normal.

If you have trouble selecting the partition in Diskpart then it probably means the partition structure on your stick is not what is required for it to be bootable. Use the commands clean and then create partition primary, then the active command. You will have to format the re-created partition and you can go back to Disk Management for that.

Diskpart partition commands


Some third-party bootmanagers that have been set to auto hide primary partitions can see a bootable USB stick as a hard drive and set its partition to hidden. This usually has no effect on the boot ability of the stick, or the assigning of a drive letter in My Computer and the reading or movement of files. It will however prevent the Disk Management utility attaching a drive letter to the stick or giving you any option other than deleting the volume. Win7’s Disk Management will let you delete and re-create and format anew, but in Vista it requires Diskpart to “clean” the disk. (If you know how, you can manually change the partition type for Fat32 from 1B to 0B, or if Fat32x from 1C to 0C).

 


 


 

spacer gif

Copyright © 2007 - 2010 www.multibooters.co.uk

These pages are not guaranteed to be free of errors. I cannot offer support but if you can answer any of the questions on this site, or correct any mistakes, then please let me know by using the feedback form.   McTavish_January_2007
Home   -   Site Map   -   Privacy Policy   -   Feedback   -   Tributes