Tutorial how to boot from any USB
WinXPTalk.com Forum Index WinXPTalk.com
Forums for Windows XP users.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web winxptalk.com
Tutorial how to boot from any USB
Goto page Previous  1, 2, 3  Next
 
Post new topic   Reply to topic    WinXPTalk.com Forum Index -> Embedded System
Author Message
Dietmar
Guest





Posted: Wed Oct 26, 2005 4:27 pm    Post subject: Re: Tutorial how to boot from any USB Reply with quote

Hi all,

I succeed to do pure USB boot to XP for Shuttle XPC SB61G2 with
Intel Springdale i865G Chipset and Phoenix Bios.
Boottime is about 30 seconds.

This was the third motherboard, that I testet and all works.

I want to prove my own Tutorial (Version2) whether all is ok there.
So I did exactly all the steps from there, and voila real XP in pocket
hihihihihihhuhuhuhu

Nice to hear from you all
Dietmar
Back to top
Dietmar
Guest





Posted: Wed Oct 26, 2005 4:27 pm    Post subject: Re: Tutorial how to boot from any USB Reply with quote

Hi C.C. Wu

look at my new tutorial Version 2

Good luck
Dietmar
Back to top
Dietmar
Guest





Posted: Wed Oct 26, 2005 4:27 pm    Post subject: Re: Tutorial how to boot from any USB Reply with quote

One try more, I dont know why my tutorial is always cut


8.) Go to HKLM\SYSTEM\Services\USBSTOR . Set start=3 back to start=0
This happens during the detecting of new USB devices and will lead to
crash
07B, if is not corrected. Then, rightclick on USBSTOR permissions,
deny for
System. Now, no more USB device can be detected but in other case
with
every new USB device, start is set back to 3 and give you the next
time 07B.
You can later set back USBSTOR permissions for system to "allowed",
if you want to use another USB device.

9.)In the windows\system32\config\ of the fresh installed XP delete
all entries with
*.sav *.log *.evt This is only possible from outside (another
installed XP).

9.)Verify that boot.ini of the fresh XP is like

[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP
Professional" /fastdetect

11.)Copy and paste the files of the fresh XP from another XP or
BartPE to your USB device. Recyled (Bin) and System Volume
Information copy not.
Look, whether the first partition there ist set ACTIV and has a
PARTITIONTABLE!

Fat, or Fat32 or NTFS doesnt matter.

Best for testing is for the first time a USB harddisk. SAVE your
registry SYSTEM hive from the fresh installed XP as OFT AS YOU CAN,
because you may need it later if something went wrong.

Later, format your USB stick with the HP format utility hpusbfw.exe ,
which gives You a FAT or FAT 32 or NTFS (all those work) partition
and the file allocation table and sets the first partition on the USB
stick itself as aktiv.
A nice USB stick is that from BUFFALO with 32 MByte/s.

You can install EWF RAM filter (thanks to S. Fiorito) to allow your
USB stick
to survive years.

There may be errors in the Tutorial.
I do my best.

Good luck
Dietmar

PS: Nice to hear from you, who succeeds USB booting with this
tutorial.
Please give us also the motherboard name.
Back to top
Gert
Guest





Posted: Thu Oct 27, 2005 2:49 pm    Post subject: Re: Tutorial how to boot from any USB Reply with quote

Hi Dietmar,

Congratulations with your Tutorial (Version2) ! Looks like I'm
beginning to have success with following what you describe there. I've
had to make some guesses though, on points where the description
doesn't match the reality here:

step 7.) Delete HKLM\SYSTEM\Setup SystemPartition (complete key
SystemPartition) .
--> My test system only has a key HKLM\SYSTEM\Setup, and there a string
value called SystemPartition. Is that string value what you mean to
delete ?

step 8.) Go to HKLM\SYSTEM\Services\USBSTOR . ..
--> Perhaps you mean HKLM\SYSTEM\Services\ControlSet001\USBSTOR ? Just
to be sure.

Thank you !
Gert
Back to top
Dietmar
Guest





Posted: Thu Oct 27, 2005 4:21 pm    Post subject: Re: Tutorial how to boot from any USB Reply with quote

Hi Gert,

yes I mean that string value called SystemPartition and the path to
USBSTOR is
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\USBSTOR

hihi, that is the first small error in may tutorial, that I noticed.

Good luck

Dietmar

PS: Please write, which motherboard you use, the version of your XP and if
all works ok with the tutorial. I want to get better...hihi
Back to top
Dietmar
Guest





Posted: Thu Oct 27, 2005 4:28 pm    Post subject: Re: Tutorial how to boot from any USB Reply with quote

Hi Gert,
until now I havent tested USB boot for
XP SP2. Did you do a fresh install of your XP?
And did you delete MountedDevices and SystemPartition direkt before you
copying it to the USB drive?
If not, exakt the problems arrive, that you told me.
Do you know Windebug and can handle it?
This gives you more information whats going on.

I will do a test with SP2.

Dietmar
Back to top
Gert
Guest





Posted: Thu Oct 27, 2005 4:28 pm    Post subject: Re: Tutorial how to boot from any USB Reply with quote

Hi Dietmar,

Testing on a HP Compaq dc5000 SFF, with XP Pro SP2...

But there is still a problem, that C.C. Wu already mentioned yesterday:
booting from the USB disk works only if an IDE disk is still connected.
And then, the booted USB disk is drive D:, and lots of registry entries
still point to C: (the IDE disk). This means that the system, while
booting XP from the USB disk, makes lots of accesses to the IDE disk C:

Are you able to boot from USB disk without any IDE disk attached ?

Thanks !

Gert
Back to top
Dietmar
Guest





Posted: Fri Oct 28, 2005 12:06 am    Post subject: Re: Tutorial how to boot from any USB Reply with quote

Hi all,
XP SP2 does not work as described in my Tutorial(Version2)on my Siemens
Motherboard D1607 with Athlon3200-64. Until now I dont know the reason.
You can update your XPSP1 as long as you want from Microsoft, but updating
to SP2 and my USB boot is gone.

Dietmar
Back to top
Dietmar
Guest





Posted: Fri Oct 28, 2005 12:28 am    Post subject: Re: Tutorial how to boot from any USB Reply with quote

Hi all,

XP SP2 boot with USB works, if there is an IDE harddrive also connected.
It boots then from the USB drive, the USB letter is C: .

If You unplug (caution, may die :( ) that IDE drive early in booting,
it boots normal as single harddrive from USB.

This is exact the behavior from SP1, BEFORE I made my changes to
registry.

Now is another bad driver (or only changed setting? ) preventing the USB
drivers to start early enough in bootprocess, so that the USB bootdrive
cant be recogniced.

Oh my, it is so terrible to find out, which is that bad one.

What you have to do is quiete easy to describe:

Find the bad driver or the bad setting of a start=0 driver and all is ok.

Or you have to find a way, that USB drivers are now starting more earlier
than nearly any other driver.

Or let the computer THINK :-), that an IDE is connected...hihihi.

Nice to hear from you
Dietmar
Back to top
C.C. Wu
Guest





Posted: Fri Oct 28, 2005 6:47 am    Post subject: Re: Tutorial how to boot from any USB Reply with quote

Hi Dietmar, Gert,
I am stuck in this situation.
I have tried to disable IDE driver, and let IDE driver boot after boot.
Unfortunately, I can't succeed yet.
I have set apati driver's start into bigger then 1, but I got 7B.
I have deleted all Key in CriticalDeviceBase, and added USB Keys, but system
still checked IDE device.


C.C. Wu
Back to top
C.C. Wu
Guest





Posted: Fri Oct 28, 2005 7:00 am    Post subject: Re: Tutorial how to boot from any USB Reply with quote

Hi Dietmar,
Do you mean that you can boot from UFD in XP SP1 without any IDE HDD, and
when you boot in XP SP2 you need to plug a IDE HDD?
I have never built embedded XP in XP SP2. My system is Embedded XP SP1.
I think that Embedded SP1 has the same problem.
Now, I am trying to write a IDE driver to cheat system into believing there
is a IDE HDD.

Thanks.
C .C. Wu
Back to top
Dietmar
Guest





Posted: Fri Oct 28, 2005 7:25 am    Post subject: Re: Tutorial how to boot from any USB Reply with quote

Hi C. C. Wu and Gert,

I did the following: I copied in my XP SP2 the registry hive SYSTEM and
the USB drivers from SP1.
But the behavior is exactly the same. It started now as XP SP1 from USB,
but only with IDE harddisk present. So I think: It is not the fault of the
registry or the USB drivers. Perhaps the new NTLDR from SP2 asks, whether
there is an IDE harddisk or not.
This will mean, that the problem can only be overcome if you mask your USB
device as IDE or SCSI harddisk, and that can only be done with an extra
SCSI miniportdriver. I thought, that Microsoft has given us that gift, to
prevent booting from USB device. The reason is simple:
I was able to boot 2 different Computers(!) (each with XP SP1)(means ALL
different hardware) with ONE, the only and same, USB stick!
XP SP1 can be updatet as you wish. If you use not specialisied drivers,
this can be done as with Win98. And also XP Embedded SP2 is not real SP2.
It is a clone of SP1. With SP2 things are much harder as with SP1.

Nice to hear from you
Dietmar
Back to top
Dietmar
Guest





Posted: Fri Oct 28, 2005 2:22 pm    Post subject: Re: Tutorial how to boot from any USB Reply with quote

Hi C.C. WU

yes, of course USB boot works as I said in my tutorial (Version2) with
normal XP SP1 without any IDE harddisk.
And if you are able to write an driver, which fakes an IDE for SP2, I am
very interested and how you do this.

Nice to hear from you
Dietmar
Back to top
Gert
Guest





Posted: Fri Oct 28, 2005 4:27 pm    Post subject: Re: Tutorial how to boot from any USB Reply with quote

Hi Dietmar,

I repeated the whole Tutorial (Version2) sequence,
but now with XP SP1, and indeed, now the USB boot works,
both with and without an IDE harddisk connected !
And I tested this USB disk then successfully on both
the dc5000SFF and the d530SFF from HP Compaq.

Best regards,
Gert
Back to top
Dietmar
Guest





Posted: Fri Oct 28, 2005 4:27 pm    Post subject: Re: Tutorial how to boot from any USB Reply with quote

Hi Gert,
that are great news.
I am writing another Tutorial (Version3),
with which I hope to succeed also with XP SP2.
But it is to early in this moment, to ask me how and whether it is able.

Nice to hear from you

Dietmar
Back to top
 
Post new topic   Reply to topic    WinXPTalk.com Forum Index -> Embedded System All times are GMT
Goto page Previous  1, 2, 3  Next
Page 2 of 3

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Office Forums Access Forums Windows Server Exchange Server Help
New Topics Powered by phpBB