Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: Changing the boot.ini file

5 views
Skip to first unread message

KM

unread,
Mar 19, 2007, 12:45:18 PM3/19/07
to
No control there at all.
You have to create your own boot.ini and manually replace it in the pre-FBA (just built) image.

Note: boot.ini gets generated very late [last thing] at the build process - when it builds so called Base Component - so even if you
are going to try to replace it by using your own component or TD Extra Files section - it is not going to work :-(

The only way to make changes in the boot.ini file during the build process in an automated way is to use undocumented CMI.

--
=========
Regards,
KM

PS. If you are up to CMI approach, please take a look at the BootSwitches property of the global Platform object.


> Hi.
>
> The target builder generates automatically the boot.ini file. How do I
> control this process ? I need to add some entries such as
> multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Embedded"
> /MAXMEM=999 /noexecute=optin /fastdetect
>
> and I don't want to perform this manually every time I build my configuration
>
> Thanks


Sean Liming (eMVP)

unread,
Mar 19, 2007, 1:22:21 PM3/19/07
to
You could create a little application that runs during FBA that will swap
out the boot.ini created by TD for your own custom boot.ini, thus elimintate
the manual step.

Regards,

Sean Liming
www.sjjmicro.com / www.seanliming.com
XP Embedded Book Author - XP Embedded Advanced, XP Embedded Supplemental
Toolkit


"KM" <konstmor@nospam_yahoo.com> wrote in message
news:u1as5Xka...@TK2MSFTNGP02.phx.gbl...

KM

unread,
Mar 19, 2007, 1:50:34 PM3/19/07
to
I should've probably done that long time ago but never had too much trouble with manual boot.ini replacement myself.
Here is update version of the XPETools that includes the functionality. On the XPeTools macro component settings page you will find
new field to add extra Boot.ini switches that are persistent across the build:
http://www.xpefiles.com/viewtopic.php?p=115#115

Please let me know is if there is any issues with the component.

--
=========
Regards,
KM

Sean Liming (eMVP)

unread,
Mar 19, 2007, 5:05:53 PM3/19/07
to
Another thing that MS should add in the future....

Regards,

Sean Liming
www.sjjmicro.com / www.seanliming.com
XP Embedded Book Author - XP Embedded Advanced, XP Embedded Supplemental
Toolkit


"KM" <konstmor@nospam_yahoo.com> wrote in message

news:%23xG6X8k...@TK2MSFTNGP06.phx.gbl...

Mike Warren

unread,
Mar 19, 2007, 6:05:26 PM3/19/07
to
Sean Liming (eMVP) wrote:

> You could create a little application that runs during FBA that will
> swap out the boot.ini created by TD for your own custom boot.ini,
> thus elimintate the manual step.

I added that functionality to my shell loader. If it finds boot.in~ it
deletes boot.ini and renames boot.in~ to boot.ini.

-Mike

Mike Warren

unread,
Mar 19, 2007, 6:08:05 PM3/19/07
to
KM wrote:

> I should've probably done that long time ago but never had too much
> trouble with manual boot.ini replacement myself. Here is update
> version of the XPETools that includes the functionality. On the
> XPeTools macro component settings page you will find new field to add
> extra Boot.ini switches that are persistent across the build:
> http://www.xpefiles.com/viewtopic.php?p=115#115

Excellent. Thanks Konstantin.

--
-Mike

KM

unread,
Mar 19, 2007, 6:17:43 PM3/19/07
to

Mike, Sean,

Do you mean the boot.ini is replace at runtime? But then you perform a few (or just the first one) "boots" with the wrong boot.ini,
right? That is less convenient than, say, changing the boot.ini at build time.

My opinion on this is that there should be a simple option in TD that allows you to edit the BOOT.INI manually. The entire content
of the file.
Basically here is how I would implement this:
1) In Configuration settings there should be a button or a link to open a multi-line edit box (could be on the same settings
page). The link could only be seen from "Advanced" user mode set in TD.
2) The edit box by default is populated by what the config is set up for (default section, ArcPath, etc.)
3) If the content of the edit box is changed/modified/etc. the build system will use it instead of the one automatically
generated. The new boot.ini content should be stored as a part of the config (e.g., an advanced property, etc.)

The above sounds easy to use to me as a TD user. If I don't want to mess around the boot.ini, I will go with the default one
automatically generated. If however I do, e.g. I need to add one of the hundreds custom boot.ini options available or I want to set
up a dual/triple boot environment, then I would edit the boot.ini myself and I want to do that once.


--
=========
Regards,
KM


"Mike Warren" <miwa-not...@or-this-csas.net.au> wrote in message news:xn0f3xdb...@news.microsoft.com...

Mike Warren

unread,
Mar 19, 2007, 6:23:45 PM3/19/07
to
KM wrote:

> Do you mean the boot.ini is replace at runtime? But then you perform
> a few (or just the first one) "boots" with the wrong boot.ini, right?
> That is less convenient than, say, changing the boot.ini at build
> time.

Yes. In my case I just want to add /noguiboot and /bootlogo to it.


> My opinion on this is that there should be a simple option in TD that
> allows you to edit the BOOT.INI manually. The entire content of the
> file.

I agree. To me this functionality should have been included from the
start with TD.


--
-Mike

Sean Liming (eMVP)

unread,
Mar 19, 2007, 10:02:17 PM3/19/07
to

What I have is a simple utility that echanges the boot.ini files during FBA.
I use this for the custom splash screen solution.

I agree, it would be better to have this in TD.

Regards,

Sean Liming
www.sjjmicro.com / www.seanliming.com
XP Embedded Book Author - XP Embedded Advanced, XP Embedded Supplemental
Toolkit


"KM" <konstmor@nospam_yahoo.com> wrote in message

news:OUjSqRna...@TK2MSFTNGP06.phx.gbl...

0 new messages