TechRepublic : A ZDNet Tech Community

Microsoft Windows

Host: Mark Kaelin
Contact

Use Bootsect to extract Vista or Windows 7 from a dual-boot configuration

I recently dug out one of the spare hard drives that I use on my test system to see what was on it. I discovered that it contained a dual-boot configuration consisting of Microsoft Windows XP and a late beta version of Windows Vista. The original boot partition of the drive contained XP, and Vista was installed on a second partition. Of course, this meant that Vista had installed its Windows Boot Manager and its Boot Configuration Data system on the boot partition.

I wanted to get rid of the Vista partition as well as its Windows Boot Manager system so that I could use XP and have access to the full hard disk. My first thought was to simply reformat the hard disk and then reinstall XP; however, the more I thought about that plan of action, the more it sounded like too much work. I was about to remove that particular hard disk and try another from the box when I remembered something about the Bootsect command.

After doing a bit of investigation, I found what I was looking for — the instructions listing the complete command line for using the Bootsect command to remove the Windows Boot Manager and its Boot Configuration Data system from the boot partition and replace it with XP’s NTLDR boot management system. Taking the next step, I discovered that the same command line will also work to remove Windows 7 Beta from a dual-boot configuration with XP.

In this Microsoft Windows Vista and Windows 7 Report, I’ll show you how to use the Bootsect command to extract Windows Vista or Windows 7 Beta from a dual-boot configuration.

This blog post is also available in PDF format in a TechRepublic download.

Getting started

The Bootsect command can be found on either the Windows Vista or Windows 7 Beta DVD in the Boot folder. The first thing that you need in order to perform this procedure is the appropriate DVD.

To begin, boot the system into the original operating system — the one on the first partition. Then, insert the DVD into the drive. As soon as you do, press and hold down the [Shift] key in order to prevent the DVD splash screen from appearing. Once the DVD has spun up, you can release the [Shift] key, and you are now ready for the next step.

Running Bootsect

You can launch the Bootsect command from a Command Prompt or by using the Run command. Since the latter is quicker, just press [Windows]+R to open the Run dialog box. When the Run dialog box appears, type the following command line in the Open text box:

X:\Boot\Bootsect.exe /nt52 ALL /force

Where X is the drive letter assigned to your DVD drive.

For example, if your DVD drive letter is D: your Run dialog box will look like the one shown in Figure A.

Figure A

You can launch the Bootsect command from the Run dialog box.

When you click OK, you’ll momentarily see a Command Prompt window, and the operation will instantly remove the Windows Boot Manager system and its Boot Configuration Data from the boot partition. At this point, remove the DVD from the drive, and you can then restart the system.

When the system restarts, you’ll see that the Windows Boot Manager no longer appears and the system boots directly into XP.

Cleaning up

To continue cleaning up, you will have to remove a couple of backup files from the root directory as well as remove the Vista or Windows 7 files from the second partition. You’ll find the Boot.BAK and Bootsect.BAK files in the root directory, as shown in Figure B. You can delete them; they are system files so you will be prompted to confirm the delete operation.

Figure B

You can select and delete both of the leftover backup files.

Now that the Vista or Windows 7 Beta Windows Boot Manager is removed from your XP system, you can use partition software to reformat the second partition, merge it back into the first partition, set up another dual-boot configuration, or use it some other way.

What’s your take?

Do you have either Windows Vista or Windows 7 Beta set up in a dual-boot configuration with Windows XP? Will you use this technique to remove it? What partitioning software do you use? As always, if you have comments or information to share about this topic, please take a moment to drop by the TechRepublic Community Forums and let us hear from you.

TechRepublic’s Windows Vista and Windows 7 Report newsletter, delivered every Friday, offers tips, news, and scuttlebutt on Vista and Windows 7, including a look at new features in the latest version of the Windows OS. Automatically sign up today!

Greg ShultzGreg Shultz is a freelance Technical Writer. Previously, he has worked as Documentation Specialist in the software industry, a Technical Support Specialist in educational industry, and a Technical Journalist in the computer publishing industry. Read his full bio and profile.

Print/View all Posts Comments on this blog

Dual boot removal methods Mark W. KaelinTechrepublic Moderator | 02/18/09
Remove Vista vwbug1968 | 02/19/09
Tinner3 jwbrew1@... | 03/08/09
more? John82654 | 07/08/09
RE: Use Bootsect to extract Vista or Windows 7 from a dual-boot configuration Seaghost | 02/19/09
Changing autoexec.bat seanferd | 02/19/09
dinosaur method :) technewbie | 02/19/09
Wow, really? seanferd | 02/19/09
RE: Use Bootsect to extract Vista or Windows 7 from a dual-boot configuration jmbrasfield@... | 02/19/09
RE: Use Bootsect to extract Vista or Windows 7 from a dual-boot configuration a_vanderson@... | 02/19/09
fixmbr? pgit | 02/19/09
RE: Use Bootsect to extract Vista or Windows 7 from a dual-boot configuration garage_dba@... | 02/19/09
RE: Use Bootsect to extract Vista or Windows 7 from a dual-boot configuration larryhyman | 02/20/09
RE: Use Bootsect to extract Vista or Windows 7 from a dual-boot configuration snooper@... | 02/20/09
It works a treat Jacky Howe | 02/20/09
RE: Use Bootsect to extract Vista or Windows 7 from a dual-boot configuration program2be@... | 02/20/09
Similar, I want to remove Vista and keep 7 The Lush | 07/03/09
My thoughts Jacky Howe | 07/03/09
RE: Use Bootsect to extract Vista or Windows 7 from a dual-boot configurati neiatererei@... | 07/07/09
Getting rid of the XP partition bshimmin@... | 07/10/09
I think i know how to remove xp part. ivex321 | 07/17/09

What do you think?

White Papers, Webcasts, and Downloads

Recent Entries

TR on Twitter

Archives

TechRepublic Blogs



Quick Reference: Linux Commands
Reduce stress and speed up resolutions with the easiest command references right at your fingertips. You'll receive a PDF file covering Linux, packed with the most common commands you'll need and use daily.
Buy Now
500 Things Every Technology Professional Needs to Know
Did you know Microsoft's RegClean does not work with XP but you can use shareware to clean your registry? Did you know most wireless access points don't have encryption enabled by default? Did you know there are 500 tidbits of information contained in TechRepublic's 500 Things Every Technology Professional Needs to Know that will help you become a successful IT professional.
Buy Now

SmartPlanet

Click Here