
08-13-2007
|
|
|
|
BCDEDIT limitations with IDs
Hello
I need to make a multi OS HDD with Vista32, Vista 64, XP, DOS and Linux.
By manually using BCEDIT I could enable all OSs.
But now I need to make the BCDEDIT rutine into a batch dos file so my
coleagues can use it.
The problem is that I need to create 2 ntldr entries. The first one has the
ID {ntldr}.
The second one is copied from the first and is assigned the ID
{xxxx-xxx-xxxx-xxxx-xxxxx}
My problem is that then I need to set up parameters for the second ID, but
as the {xxxx-xxx-xxxx-xxxx-xxxxx} id is assigned on runtime, I can't refer
to it in the batch file.
1. Is there a way I can assign a non predefined ID for a new entry?? (i.e.
{myID})
2. Is there a way to assign the second ID to a variable that I can refer
after?
3. Any other idea how to make it?
The closes I've been to solve this is by first setting up the
{xxxx-xxx-xxxx-xxxx-xxxxx} as default. That changes the ID to a virtual name
{default} and that allows me to change theparameters... but the set up as
{default} has to be done manually by the user.
Regards
e.
|