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

Booting from USB drive

13 views
Skip to first unread message

Carl Anuszczyk

unread,
Sep 11, 2003, 1:51:07 PM9/11/03
to
How do I create an image that will boot from a device such
as the LexarMedia JumpDrive 2.0? It is a USB memory stick
and I have a system that can be booted from a USB device.

Thanks,

Carl

Slobodan Brcin

unread,
Sep 11, 2003, 2:23:22 PM9/11/03
to
Carl,

> How do I create an image that will boot from a device such
> as the LexarMedia JumpDrive 2.0? It is a USB memory stick
> and I have a system that can be booted from a USB device.

Interesting question,
Step 1.

Read all related doc from TD.
Then from ms site.
Then use google on this group.
Then If you have problems, ask this question again.


Best regards,
Slobodan


Sean Liming (eMVP)

unread,
Sep 11, 2003, 4:24:15 PM9/11/03
to
Carl,

I don't think that XPE can boot from a USB device. There has to be some
low level changes made to support USB devices.

Regards,

Sean Liming
www.a7eng.com
Author: Windows NT Embedded Step-By-Step and XP Embedded Advanced.

"Carl Anuszczyk" <ca...@conceptgames.com> wrote in message
news:026401c3788d$472cdc30$a301...@phx.gbl...

Slobodan Brcin

unread,
Sep 11, 2003, 4:45:45 PM9/11/03
to
Sean,

> I don't think that XPE can boot from a USB device.

I don't see reason why not.

> There has to be some low level changes made to support USB devices.

Only to mark flash as non removable (USB HDD).


I was trying to use USB device for easy image deployment, but I'm having
some problems with BIOS on target device.
Although on my development machine I was able to successfully run ntloader,
but since I'm not interested in using this on my dev machine I gave up from
this idea for the moment.

But I don't see any reason why this could not be done. It's behaving like
any other HDD it has valid ARC name, etc.


Best regards,
Slobodan


Sean Liming (eMVP)

unread,
Sep 11, 2003, 6:23:35 PM9/11/03
to
Slobodan,

The low level like your doing will work, MS-DOS will work, but the full XPe
OS does not. I have been trying to get USB Flash to boot without success.
After a few conversations with MS, they said that changes need to be made to
support USB boot.

Sean


"Slobodan Brcin" <sbr...@ptt.yu> wrote in message
news:%23sOlLXK...@TK2MSFTNGP11.phx.gbl...

Slobodan Brcin

unread,
Sep 11, 2003, 7:34:22 PM9/11/03
to
Sean,

> The low level like your doing will work, MS-DOS will work, but the full
XPe
> OS does not. I have been trying to get USB Flash to boot without success.
> After a few conversations with MS, they said that changes need to be made
to
> support USB boot.

I'm disappointed to hear that, I was planning to use it for image deployment
:(

Well I can look this from the brighter side, I can remove one thing from the
bottom of to-do list.


Thanks for the info,
Slobodan


Huang Sheng-Chi

unread,
Sep 12, 2003, 4:43:26 AM9/12/03
to
Hi all,
I think this might be related to USB boot. For our target
machine, we can boot from a PCMCIA port, since our target
uses Phoenix BIOS's Multiboot bios. This bios is also
related to booting USB related devices, so I think it is
still possible to boot from USB port. Of course our
makers said that it isn't possible to boot from PCMCIA
port, but:
1. MS's home page stated that WXPe can boot from PCMCIA
ATA card
2. We tried it and it worked.

Maybe you should try this BIOS and see if it satisfy your
requirements?

NOTE:
Both MS and hardware maker does not give us any warranty
for booting from PCMCIA port, so we are using this at our
own risk <gasp!>

>.
>

Slobodan Brcin

unread,
Sep 12, 2003, 7:52:17 AM9/12/03
to
Hi Huang,

> I think this might be related to USB boot. For our target
> machine, we can boot from a PCMCIA port, since our target
> uses Phoenix BIOS's Multiboot bios. This bios is also
> related to booting USB related devices, so I think it is
> still possible to boot from USB port.

Our development machines are using Phoenix BIOS, and yes they can boot from
usb.

I just tried to boot again my XPE build from USB.
Well it loads system critical drivers, and then BSOD with 0x0000007B error.

So I can rest for I while because this does not worry me.
I can deploy files from kernel mode so conclusion is: very light XPE can be
booted :-))

Probably XPE with support for win32 subsystem can be loaded as well, with
adequate drivers and settings.
Currently I have no time to investigate this further, but I will post
results when I do.

Note:
I have seen strange (unexpected) behavior with USB boot, it would be nice if
someone could explain it.

When I boot OS from Primary Master HDD: USB Drive has ARC Path :
multi(0)disk(0)rdisk(1)partition(1)
When I boot OS from USB Drive: USB Drive has ARC Path :
multi(0)disk(0)rdisk(0)partition(1)

So this might be potential problem why I have BSOD 0x7B.


But my original problem lies with my target devices:
MB from Intel Corporation D875PBZ, it also can boot from USB, but I have
problem I described few weeks before.

I'm not familiar with BIOS they are using, and I would rather not try to
change it for now, if that can be done at all.


Best regards,
Slobodan


Tommy Lewis

unread,
Sep 12, 2003, 9:42:33 AM9/12/03
to
I'm using a Sandisk USB CompactFlash Reader/Writer on my development
machine. When I insert a CompactFlash card that has been marked as a
non-removable disk using their utility, Windows XP Pro still says that
it is a removable disk. I think it has something to due with the fact
that Windows considers all USB drives to be removable. There are some
things that Windows will not do on or to a removable disk.

Regards,

Tommy Lewis

Huang Sheng-Chi

unread,
Sep 12, 2003, 9:46:30 AM9/12/03
to
Hi Slobodan,
I guess I was wrong about booting from USB using Phoenix
BIOS, as stated in the following home page

http://www.phoenix.com/en/products/phoenix+cme+firstbios/sy
stem+firmware/products/phoenixbios.htm#options

It seems that only DOS was proven to boot from such
devices. Also as stated on the home page, IEEE 1394
devices can boot both DOS and W2K.

For our system, we push a special key to tell our BIOS to
emulate the PCMCIA port to become a Secondary Master IDE
port; our system is default to boot from the primary IDE
port, which has a CF card adapter. It then sets this port
to 0xi80 (something about interrupt and boot from
this "hard disk", even though it is not a hard disk).

The problem that our maker stated is that when Windows
loads the critical devices, it might reset each device,
which means that the PCMCIA might be reset, and then
cause a blue screen (7b, 34) since Windows just reset
itself. However this didn't happen to our machines (one
with ACPI, and the other without).

Maybe you can ask your maker for this "emulation" feature
from the BIOS? Or maybe USB is just too slow to boot
Window.

Anyways, it's Friday 10:45 p.m. now in Japan, and I gotta
get out of here before I go crazy with WXPe.

Hope everyone will have a nice weekend!

>.
>

Slobodan Brcin

unread,
Sep 12, 2003, 9:52:47 AM9/12/03
to

Yes, and also you have utility to mark it as nonremovable.
Like I do.


Best regards,
Slobodan


Slobodan Brcin

unread,
Sep 12, 2003, 10:19:07 AM9/12/03
to
Sean,

> I don't think that XPE can boot from a USB device.

Well I can confirm that you are wrong, I have booted successfully XPE from
USB Flash Disk, right now :)
I still have some small issues but I have desktop (Win32 subsystem is
operational).

> There has to be some low level changes made to support USB devices.

Yes, but not to driver. Inf files should be modified or registry.

I have changes startup type for all drivers required to support USB Flash to
zero.

0x0 (SERVICE_BOOT_START) Indicates a driver started by the operating system
loader.
This value must be used for drivers of devices required for loading the
operating system.

I got this idea during the lunch, and it was easy to try.
I used regedit from working XPE image to do the changes.
And after that I copied all files to flash.
I was just using the coincidence that when booted from USB, USB disk has
same ARC name as HDD had before.


When I have more time, I'll try to find some more automated solution, but
until then, it can be done.


Best regards,
Slobodan


Sean Liming (eMVP)

unread,
Sep 12, 2003, 6:09:00 PM9/12/03
to
Interesting. I will have to take a look at this at my end. Are you using USB
1.1 or 2.0?

Sean


"Slobodan Brcin" <sbr...@ptt.yu> wrote in message

news:eS$ZxjTeD...@TK2MSFTNGP09.phx.gbl...

Ray

unread,
Sep 13, 2003, 1:49:34 PM9/13/03
to
Very interesting, I just wonder how did you do that? What do we need to
change by regedit? More details please, Thanks.

Ray

"Slobodan Brcin" <sbr...@ptt.yu> wrote in message
news:eS$ZxjTeD...@TK2MSFTNGP09.phx.gbl...

Slobodan Brcin

unread,
Sep 15, 2003, 7:56:53 AM9/15/03
to
Hi Ray,

> Very interesting, I just wonder how did you do that?

You need to overcome BIOS related problems, that crashes ntdetect.
I have development machines that can boot.
And my target machines can't (they can but something is very wrong).

Like I said, In existing XPE minlogon based configuration I have entered
values to make USB drivers loaded by osloader.
This overcomes BSOD with 0x0000007B error code problem.


> What do we need to change by regedit?

I hope that this is all I have changed.

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services]
usbehci
usbhub
usbstor
usbuhci

Change Start value from 3 to 0.
"Start"=dword:00000003 ----> 000000000

Only real solution would be if we populate from TD above mentioned sections
and related sections for those drivers. That way those drivers would be
preinstalled, and not installed by FBA or PNP.

I have strange behavior with my application, it reports some error, but I
think that this is because drive letters changed, don't know because I don't
have time to investigate problem.

This straight copy was possible due to strange feature in BIOS, that when
you boot from USB ARC path is multi(0)disk(0)rdisk(0)partition(1) this is
exactly the same as when booted from HDD.


Best regards,
Slobodan


Ray

unread,
Sep 15, 2003, 9:22:47 PM9/15/03
to
Thanks, Slobodan. I met the same problem as what you mentioned, the error of
0x0000007B. I asked a Microsoft technical guy, but didn't get any clues.
It's so weird that I could not start the OS from my key just now, I'll
figure it out and let's see what happen.

Ray
"Slobodan Brcin" <sbr...@ptt.yu> wrote in message

news:efeYOC4e...@TK2MSFTNGP10.phx.gbl...

Slobodan Brcin

unread,
Sep 15, 2003, 9:45:02 PM9/15/03
to
Hi Ray,

> Thanks, Slobodan. I met the same problem as what you mentioned, the error
of
> 0x0000007B. I asked a Microsoft technical guy, but didn't get any clues.
> It's so weird that I could not start the OS from my key just now, I'll
> figure it out and let's see what happen.

0x7B can be passed using very questionable method I sugested.

I'm was playing(I find it relaxing after long day of programming) for last
two hours with TD, trying to convince it to accept all required drivers as
boot critical devices, with little (no) luck :(
Creating work around I was able to boot XPE, this proves that this can be
done with current binaries, but what about registry setting from TD this
remains to be seen.
I'm not satisfied with this solution because it has no value to us since I
wanted to use it for image deployment to machines without CD, and network.

I'll use RAM boot using SDI file, this solution should be more flexible.

If you find some solutions please post it to this NG.

Best luck,

Slobodan


0 new messages