View Single Post
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