Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Newsgroups > Vista General

Vista - How to move BCD Boot manager files in Vista to another partition

Reply
 
Old 08-25-2008   #1 (permalink)
hnyman


 
 

How to move BCD Boot manager files in Vista to another partition

Background:

I have Vista32 in my PC, and after some new hardware related crashes I
decided yesterday to completely restore Vista partition from backup with
Acronis. However, in the middle of the restore from USB HDD, the backup
complained about faulty archive and I ended up with no working C: partition.
I reinstalled Vista from DVD and also all the programs. The loss of the
Vista OS partition was not that hard, as all my personal data is on D: and
E: on the same drive.



However, as the reinstall started from a situation, where there was empty
space instead of C:, I realized only after the install that Vista had set
the BCD boot files to D: (the first existing partition at installation
start), while the operating system is quite correctly installed to the
recreated C:.


Quote:

> C:\Users\hannu>bcdedit /v
Quote:

> Windows Boot Manager
Quote:

> --------------------
Quote:

> identifier {9dea862c-5cdd-4e70-acc1-f32b344d4795}
Quote:

> device partition=D:
Quote:

> description Windows Boot Manager
Quote:

> locale en-US
Quote:

> inherit {7ea2e1ac-2e61-4728-aaa3-896d9d0a9f0e}
Quote:

> default {d7909ee9-7166-11dd-9349-98516989298b}
Quote:

> displayorder {d7909ee9-7166-11dd-9349-98516989298b}
Quote:

> toolsdisplayorder {b2721d73-1db4-4c62-bf78-c548a880142d}
Quote:

> timeout 30
Quote:

>
Quote:

> Windows Boot Loader
Quote:

> -------------------
Quote:

> identifier {d7909ee9-7166-11dd-9349-98516989298b}
Quote:

> device partition=C:
Quote:

> path \Windows\system32\winload.exe
Quote:

> description Microsoft Windows Vista
Quote:

> locale en-US
Quote:

> inherit {6efb52bf-1766-41db-a6b3-0ee5eff72bd7}
Quote:

> osdevice partition=C:
Quote:

> systemroot \Windows
Quote:

> resumeobject {d7909eea-7166-11dd-9349-98516989298b}
Quote:

> nx OptIn


The PC works just fine, but I do not like mixing the pure "data partition"
D: with the boot sequence. I also realized with the reinstall to have
destroyed C:, that having the BCD data on the OS partition may be
problematic at some times. Although everything works now just fine, I would
like to transfer the BCD data either to C: or, maybe even better, to a small
2 GB partition S: created for that purpose.



Thus, the status was:

C: Boot, Page file, etc. (contains actual Vista OS)

D: System, Active (contains the BCD boot manager files) and my data

E: data

S: empty (2 GB)

All partitions are primary partitions, and formatted with NTFS.



I looked for advice transferring the BCD data to another partition, but did
not found complete advice, and thatswhy I am writing this message as a guide
for others.



The following pieces of information proved useful:

Change/delete system partition after BitLocker removal

Defines the requirements for a 'System' partition. It sounds like I need
:copy the correct BCD files to S: and mark that S: partition active. Would
that be enough?

http://www.techenclave.com/guides-an...cd-114342.html

Sounds working, but requires boot with Vista DVD. Or does it actually?

http://neosmart.net/wiki/display/EBC...r+from+the+DVD

Step Three 'Manual Repair' and Four 'Nuclear holocaust' might work. Creating
a new store on S:, and then copying the files there, and then marking the
partition active. BCDEDIT export and then modify...

http://forums.techguy.org/windows-vi...ow-system.html

Or might this actually work by using the official commands? This message
here brought the light for me:
Quote:

> In my case, both the Windows Memory Diagnostic and the Windows Boot
> Manager were configured for D:, so I want to change those.
Quote:

> Boot Manager is always reffered to as
> {9dea862c-5cdd-4e70-acc1-f32b344d4795} and so on, so we use the following
> commands to make things right.
Quote:

>
Quote:

> C:\Windows\system32>bcdedit /set {9dea862c-5cdd-4e70-acc1-f32b344d4795}
> device partition=c:
Quote:

> C:\Windows\system32>bcdedit /set {b2721d73-1db4-4c62-bf78-c548a880142d}
> device partition=c:


SOLUTION:



Based on this article, it sounds like it is possible to set one attribute by
time (memory tester, etc.) to a certain disk volume (S: in my case),
provided of course that the needed files are there.

So, if

1) the other files (bootmgr, bootsect.bak and \boot-directory's files) are
copied to S:

2) current BCD system store is exported to S:

3) the function pointers in that new store file (boot manager, memory
tester, legady OS loader) are one by one set by using BCDEDIT to point to
the newly copied files on volume S: instead of D:

4) Vista Boot sector is copied to S: using Vista DVD media and 'BOOTSECT
/NT60 S: /FORCE' command from that DVD while still in normal Vista. (This
part should be done from repair console command prompt of booted Vista DVD
if the target disk has the operating system (C: for me) or is otherwise used
by Vista. Instead 'S:' also 'ALL' can be used to force the boot sector to be
copied to all partitions.)

5) Active bit in partition table is changed to S: before rebooting by using
DISKPART or Disk Management console

Might even work. or how?



Based on the previous thoughts, I wrote the needed commands to be done after
the other (non-locked) files are copied:
Quote:

> bcdedit /export S:\Boot\BCD
Quote:

> bcdedit /store S:\Boot\BCD /set {9dea862c-5cdd-4e70-acc1-f32b344d4795}
> device partition=S:
Quote:

> bcdedit /store S:\Boot\BCD /set {b2721d73-1db4-4c62-bf78-c548a880142d}
> device partition=S:
Quote:

> bcdedit /store S:\Boot\BCD /set {466f5a88-0af2-4f76-9038-095b170dc21c}
> device partition=S:
Quote:

> bcdedit /store S:\Boot\BCD /enum all /v
Quote:

>
Quote:

> VistaDVD:\BOOT\BOOTSECT /NT60 S: /FORCE
Quote:

>
Quote:

> DISKPART
Quote:

> select disk 0
Quote:

> select partition 4
Quote:

> active


After copying the non-locked other BCD files to the new partition,

first the system store is exported to S:,

then the references in that store file to partition D: are replaced by
references to S:,

then the contents are printed out just for verification, just in case

then the boot sector was copied from DVD to S:

and finally DISKPART is used to mark the S: as active.

Then a simple reboot.



IT WORKED!!!



Now I have S: as Active & System containg the BCD files, and D: is just a
normal data partition.



So, this is a way to move Vista BCD boot manager data to another partition,
using only Microsoft's own tools for the transfer and remaining inside a
normally running Vista. The Vista DVD media is needed at just one point for
running the BOOTSECT command from the media. Requires knowledge and careful
operations, but can be done.



My System SpecsSystem Spec
Old 07-14-2009   #2 (permalink)


Vista 32bit Ultimate, Win 7 RC Ultimate
 
 

Re: How to move BCD Boot manager files in Vista to another partition

That's great dude, cheers on figuring it out. It's interesting to see your process, and I hope that you are still following this thread because I would be immensely grateful if you could condense all of that long post into a simple how-to from start to finish. It's a bit hard to follow you in some places.
My System SpecsSystem Spec
Old 07-14-2009   #3 (permalink)
Bill Daggett


 
 

Re: How to move BCD Boot manager files in Vista to another partition

saber0091 <guest@xxxxxx-email.com> wrote:
Quote:

>
>That's great dude, cheers on figuring it out. It's interesting to see
>your process, and I hope that you are still following this thread
>because I would be immensely grateful if you could condense all of that
>long post into a simple how-to from start to finish. It's a bit hard to
>follow you in some places.
You hope the person is still following the thread AFTER NEARLY A YEAR
has passed AND that person has solved the problem?

You then have the balls to ask that person to re-write his post that
listed what he did to correct the problem because you are having a
problem following it?

You're a complete freaking idiot.

My System SpecsSystem Spec
Old 07-14-2009   #4 (permalink)


Vista 32bit Ultimate, Win 7 RC Ultimate
 
 

Re: How to move BCD Boot manager files in Vista to another partition

And you, sir, are horribly impolite, mister Bill Daggett.

We already know from original post that OP has solved the issue.
In most forums, posting to a thread assigns one a watching status and sends email updates. Which is better: Creating a new thread on an obscure topic, or hoping one might be able to contact someone who has already solved the issue?

The post listing what was done to correct the problem listed the entire process for figuring out how to solve, which is interesting but unhelpful: there is no concise walk through of just his rather creative fix.
---
After some hours of work to verify, the same objective (moving BCD) can be achieved through the following walkthrough:

-In Windows, Open up diskmgmt.msc
-Make a new NTFS partition or use an existing one, but set it Active (right click menu).
-Boot to Vista/Win7 DVD. (If your unit gives "Startup Repair" as a boot option, you should be able to use that instead.)
-Select English, select Repair your computer.
-When it tries to auto repair, skip/cancel instead of restart.
-It doesn't matter which windows install you select, hit next.
-Open the command prompt.
-Run "bootrec /rebuildbcd".
-Type yes to add the windows installations, until it stops asking (if you have a multi-boot situation).
-When it's done, reboot and come back to the "Startup Repair"/Vista DVD/Win7 DVD.
-Select a windows install and hit Next.
-Then select the option from the list that says "Startup Repair".
-Restart when prompted.
-Now go back to the Vista/Win7 DVD for the THIRD time.
-Select a windows install and hit Next.
-Open the command prompt.
-Change directory to the Vista/Win7 DVD (g: for me)
-run "cd boot"
-run "bootsect /nt60 sys"

When that's done, reboot, and you are done.
For Win7 you may have to run the "Startup Repair" option a final time.

Last edited by saber0091; 07-14-2009 at 08:05 PM.. Reason: Edit 01: Clarification, Edit 02: Solution.
My System SpecsSystem Spec
Old 07-14-2009   #5 (permalink)
Gene E. Bloch


 
 

Re: How to move BCD Boot manager files in Vista to another partition

On Tue, 14 Jul 2009 13:11:40 -0500, saber0091 wrote:
Quote:

> And you, sir, are horribly impolite, mister Bill Daggett.
He was certainly impolite, but he does have a point.

--
Gene E. Bloch letters0x40blochg0x2Ecom
My System SpecsSystem Spec
Old 07-30-2009   #6 (permalink)
hnyman


 
 

Re: How to move BCD Boot manager files in Vista to another partition

"saber0091" <guest@xxxxxx-email.com> wrote in message
news:8c272e5d13fdb09fcf5d5a88b313ae3a@xxxxxx-gateway.com...
Quote:

>
> That's great dude, cheers on figuring it out. It's interesting to see
> your process, and I hope that you are still following this thread
> because I would be immensely grateful if you could condense all of that
> long post into a simple how-to from start to finish. It's a bit hard to
> follow you in some places.
As it is a complicated process and you need to understand, I wanted to give
the background how I found the solution. The walk-through of the solution is
pretty clearly labeled as SOLUTION there in the bottom part of my original
message...

But in any case, here is just the "Solution" part a bit reformatted:

SOLUTION

1) The other non-locked files (bootmgr, bootsect.bak and \boot-directory's
files) are manually copied to S: drive. Be careful to copy all hidden files,
and to copy to correct places...

2) Current BCD system store is exported to S:
Quote:

> bcdedit /export S:\Boot\BCD
3) The function pointers in that new store file (boot manager, memory
tester, legacy OS loader) are one by one set by using BCDEDIT to point to
the newly copied files on volume S: instead of D:
Quote:

> bcdedit /store S:\Boot\BCD /set {9dea862c-5cdd-4e70-acc1-f32b344d4795}
> device partition=S:
> bcdedit /store S:\Boot\BCD /set {b2721d73-1db4-4c62-bf78-c548a880142d}
> device partition=S:
> bcdedit /store S:\Boot\BCD /set {466f5a88-0af2-4f76-9038-095b170dc21c}
> device partition=S:
4) Vista Boot sector is copied to S: using Vista DVD media and 'BOOTSECT
/NT60 S: /FORCE' command from that DVD while still in normal Vista. (This
part should be one from repair console command prompt of booted Vista DVD if
the target disk has the operating system (C: for me) or is otherwise used by
Vista. Instead 'S:' also 'ALL' can be used to force the boot sector to be
copied to all partitions.)
Quote:

> VistaDVD:\BOOT\BOOTSECT /NT60 S: /FORCE
5) Active bit in partition table is changed to S: before rebooting by using
DISKPART (or Disk Management console)
Quote:

> DISKPART
> select disk 0
> select partition 4
Then a reboot.

----

So, this is a way to move Vista BCD boot manager data to another partition,
using only Microsoft's own tools for the transfer and remaining inside a
normally running Vista. The Vista DVD media is needed at just one point for
running the BOOTSECT command from the media.

As your config is likely slightly different, i.e. regarding drive letters,
you may need to modify commands correspondingly.


My System SpecsSystem Spec
Old 08-05-2009   #7 (permalink)
s0121


 
 

Re: How to move BCD Boot manager files in Vista to another partiti

Great - my {bootmgr} shows
Windows Boot Manager
--------------------
identifier {bootmgr}
device unknown
description Windows Boot Manager

How do I rename it to partition=C:

Many thanks


"hnyman" wrote:
Quote:

> "saber0091" <guest@xxxxxx-email.com> wrote in message
> news:8c272e5d13fdb09fcf5d5a88b313ae3a@xxxxxx-gateway.com...
Quote:

> >
> > That's great dude, cheers on figuring it out. It's interesting to see
> > your process, and I hope that you are still following this thread
> > because I would be immensely grateful if you could condense all of that
> > long post into a simple how-to from start to finish. It's a bit hard to
> > follow you in some places.
>
> As it is a complicated process and you need to understand, I wanted to give
> the background how I found the solution. The walk-through of the solution is
> pretty clearly labeled as SOLUTION there in the bottom part of my original
> message...
>
> But in any case, here is just the "Solution" part a bit reformatted:
>
> SOLUTION
>
> 1) The other non-locked files (bootmgr, bootsect.bak and \boot-directory's
> files) are manually copied to S: drive. Be careful to copy all hidden files,
> and to copy to correct places...
>
> 2) Current BCD system store is exported to S:
>
Quote:

> > bcdedit /export S:\Boot\BCD
>
> 3) The function pointers in that new store file (boot manager, memory
> tester, legacy OS loader) are one by one set by using BCDEDIT to point to
> the newly copied files on volume S: instead of D:
>
Quote:

> > bcdedit /store S:\Boot\BCD /set {9dea862c-5cdd-4e70-acc1-f32b344d4795}
> > device partition=S:
> > bcdedit /store S:\Boot\BCD /set {b2721d73-1db4-4c62-bf78-c548a880142d}
> > device partition=S:
> > bcdedit /store S:\Boot\BCD /set {466f5a88-0af2-4f76-9038-095b170dc21c}
> > device partition=S:
>
> 4) Vista Boot sector is copied to S: using Vista DVD media and 'BOOTSECT
> /NT60 S: /FORCE' command from that DVD while still in normal Vista. (This
> part should be one from repair console command prompt of booted Vista DVD if
> the target disk has the operating system (C: for me) or is otherwise used by
> Vista. Instead 'S:' also 'ALL' can be used to force the boot sector to be
> copied to all partitions.)
>
Quote:

> > VistaDVD:\BOOT\BOOTSECT /NT60 S: /FORCE
>
> 5) Active bit in partition table is changed to S: before rebooting by using
> DISKPART (or Disk Management console)
>
Quote:

> > DISKPART
> > select disk 0
> > select partition 4
>
> Then a reboot.
>
> ----
>
> So, this is a way to move Vista BCD boot manager data to another partition,
> using only Microsoft's own tools for the transfer and remaining inside a
> normally running Vista. The Vista DVD media is needed at just one point for
> running the BOOTSECT command from the media.
>
> As your config is likely slightly different, i.e. regarding drive letters,
> you may need to modify commands correspondingly.
>
>
>
My System SpecsSystem Spec
Old 08-06-2009   #8 (permalink)
hnyman


 
 

Re: How to move BCD Boot manager files in Vista to another partiti

"s0121" <s0121@xxxxxx> wrote in message
news977AD0D-9DB3-47DA-AC41-342B48733F37@xxxxxx
Quote:

> Great - my {bootmgr} shows
> Windows Boot Manager
> --------------------
> identifier {bootmgr}
> device unknown
> description Windows Boot Manager
>
> How do I rename it to partition=C:
You want to change the "unknown" to C: ?
Most likely:
bcdedit /set {9dea862c-5cdd-4e70-acc1-f32b344d4795} device partition=C:
(assuming the that GUID matches the value for {bootmgr}

But be careful, as trying to modify the BCD setup by hand is dangerous.

If you are simply trying to set everything to work from C:, it should be
rather starightforward process.
It might be easier for you to boot from Windows Vista DVD and run Startup
Repair (three) times.
http://windowshelp.microsoft.com/Win...f3f351033.mspx

Or you might use some of the tools available in the internet:
For example:
http://neosmart.net/wiki/display/EBC...sta+Bootloader






My System SpecsSystem Spec
Old 08-06-2009   #9 (permalink)


VISTA HOME PREMIUM X64/ 7 x64 / 7x86
 
 

Re: How to move BCD Boot manager files in Vista to another partiti

Quote  Quote: Originally Posted by s0121 View Post
Great - my {bootmgr} shows
Windows Boot Manager
--------------------
identifier {bootmgr}
device unknown
description Windows Boot Manager

How do I rename it to partition=C:

Many thanks


"hnyman" wrote:
Quote:

> "saber0091" <guest@xxxxxx-email.com> wrote in message
> news:8c272e5d13fdb09fcf5d5a88b313ae3a@xxxxxx-gateway.com...
Quote:

> >
> > That's great dude, cheers on figuring it out. It's interesting to see
> > your process, and I hope that you are still following this thread
> > because I would be immensely grateful if you could condense all of that
> > long post into a simple how-to from start to finish. It's a bit hard to
> > follow you in some places.
>
> As it is a complicated process and you need to understand, I wanted to give
> the background how I found the solution. The walk-through of the solution is
> pretty clearly labeled as SOLUTION there in the bottom part of my original
> message...
>
> But in any case, here is just the "Solution" part a bit reformatted:
>
> SOLUTION
>
> 1) The other non-locked files (bootmgr, bootsect.bak and \boot-directory's
> files) are manually copied to S: drive. Be careful to copy all hidden files,
> and to copy to correct places...
>
> 2) Current BCD system store is exported to S:
>
>
> 3) The function pointers in that new store file (boot manager, memory
> tester, legacy OS loader) are one by one set by using BCDEDIT to point to
> the newly copied files on volume S: instead of D:
>
>
> 4) Vista Boot sector is copied to S: using Vista DVD media and 'BOOTSECT
> /NT60 S: /FORCE' command from that DVD while still in normal Vista. (This
> part should be one from repair console command prompt of booted Vista DVD if
> the target disk has the operating system (C: for me) or is otherwise used by
> Vista. Instead 'S:' also 'ALL' can be used to force the boot sector to be
> copied to all partitions.)
>
>
> 5) Active bit in partition table is changed to S: before rebooting by using
> DISKPART (or Disk Management console)
>
Quote:

> > DISKPART
> > select disk 0
> > select partition 4
>
> Then a reboot.
>
> ----
>
> So, this is a way to move Vista BCD boot manager data to another partition,
> using only Microsoft's own tools for the transfer and remaining inside a
> normally running Vista. The Vista DVD media is needed at just one point for
> running the BOOTSECT command from the media.
>
> As your config is likely slightly different, i.e. regarding drive letters,
> you may need to modify commands correspondingly.
>
>
>

Hi,

I have done this numerous times and it always worked for me.

To change System partition ( if it is on the same HD as existing System partition):

To change it to C:

1. Copy and paste bootmgr and pale yellow boot folder from existing system partition to C:

(You get a message bcd is in use and can't be copied - skip it and copy the rest.)

2. Open an elevated cmd and type :

bcdedit /export C:\Boot\bcd {enter}

3. In Disk Management , mark C Active. Reboot to hand system status to C.

That's it.

Afaik it doesn't matter where bcd declares bootmgr is - the bootsector code on the Active partition does not parse the bcd store - it will always hand control to bootmgr on that same Active partition.

If you wish to change it for completeness:

bcdedit /set {bootmgr} device partition=C:

Hope it helps

SIW2
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
How move Vista boot MANAGER? Vista General
Re: How Do I Change Boot Manager Partition From D: to C: Vista installation & setup
How Do I Change Boot Manager Partition From D: to C: Vista installation & setup
Partition for Vista and boot manager Vista General
Move the actual boot loader to different partition? Vista installation & setup


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46