Printable Version of Topic

Click here to view this topic in its original format

The CD Forum _ General _ Install XP in USB-HDD with the generic USB driver for any computer

Posted by: bshoangl1 Apr 9 2006, 08:54 PM

I) How durable exausting work to get my initial success!!:
If Sisal and Emmanual are the successors keeping on the grea t Dietmar’s work in installing XP in USB-HDD with their generic USB driver, in the contrary, it’s me for testing their works during of a full durable day and night of 2 weeks.
That cost me a lot of money to buy some new brand DVDRW, CDRW , even CDROM, DVDROM in that time and not counting a lot of these unusable CDRD, DVDRD, DVDRW disks..
I always think there is something wrong within my PC ( P4 266GB with 526MB RAM bought only one year ago.. But my change to the new one' s didn’t change anything of my testing: always a failure .
I didn’t make out of Sisal and Emmanual ‘s ways even one time at the end( even test it in 2 weeks over 70 times to burn to CD or DVD ).
Their way cause me a lot of trouble with disabling or even removing my HD connected, to run only USB-HDD and CDROM to install XP in USB-HDD.
After copying all files from XP SP2 disk with in CDROM to USB-HDD successfully, surprisingly in the second booting, I got at least 50 times of BSOD with 07b mode if I try to disable or removing HDD with CDROM. Emmanuel’s ways to overrid that problem by editing all INF file again is always a total failure: BSOD 7b.
In the contrary, if I let the order of booting USB-HDD, CDROM and HDD0( let BIOS see HDD ), I never get a BSOD but I receive a fatal error consisting the incorrect function with sxs.dll file of ASMS folder: I could never install XP to the end and it made me to reboot . I try many times to overrid this problem but it is always futile .
I also tried the way of someone proposing Installing XP via DOS in USB-HDD but it is a very long waiting time ( 3-4 hours ) foer me to complete XP installing and I gave up it afterwards.
My USB-HDD ( at the laptop size ) tested is 12GB size, it is divided in 2 partitions: USBXP ( primary active 2GB format with FAT ) and USBXP1 ( logical 10GB with FAT 32 ) and I installed autobootable XP fresh in USBXP succesfully denoted by 4 pic of mine following .
Regrettably, our great Dietmar , even after a lot of success, didn’t capture or post any photos here from him( kidding only) .
My newest way is combining 2 methods of Sisal, Emmanuel and Dietmar( tutorial 3 ) with some changes of mine to make it easier to any new bie to realise the XP install in USB-HDD.
You all see in my pic 1: the initial XPdesktop with requiring you to begin installing a lot of hardware drivers.The start menu and desktop are still very simple .



My pic 2 showing you the Device manager of USB-HDD with some bared hardware drivers ( not yet installed ) and Explorer from USB-HDD:



You see USBXP( 2GB )clearly in a new C partition, XPSP2 at D ( former is C partition of HDD ); my 2nd partition of USB-HDD( USBXP1 ) takes his name E now. My XPMC partition is F ( its former is D partition ) and so on, you know the rest of them of my HDDD and CDROM.
My pic 3 showing you the general tab of System properties( USB-HDD) ; the rest of hardware in device manager ( Storage and USB hub still not yet installed ) and the full Explorer with different partions within USB-HDD.



My pic 4 showing you the full Explorer in USB-HDD one time more and a welcome to hardware wizard windows at the beginning.



II) Following are my principal way ( step by step ) to make out of it for any newbie:
A little different from Dietmar’s way ( tutorail 3 ) and Sisal ( the Generic registry for USB-HDD taken out only ) :
1) Download all tools from file USBHDDXP.zip from Mega
http://www.megaupload.com/?d=NNQR88IE
or mirror on Rapidshare
http://rapidshare.de/files/17615347/USBHDDXP.zip
2) You had better use a PC without PCI card inserted ( bare bone ) . Divide your hard disk some partitions more by PM805 in case you have one partition C for XP only
3) Firstly, from DOS or another windows( 2000) in D partition, try to make a ghost( ghost 32.exe or ghost.exe: v 8.2 ) to save the actual C partition to E with the name : XPSP2.gho
4) You could also use Partition magic 805 in CD( from any rescue CD ) or from another windows in D ( 2000 ) to delete C partition; create a new name XPSP2 again ; format it again in FAT 32 or NTFS.
5) Reboot and begin to install a new fresh XPSP2 in that of your blank C partition. But that time don’t install any hardware driver

6) Disable Pagefile sys file in Virtual memory \Performance and reboot to save this configuration.

7) Make a ghost save for C partition that time with a new name USBXP .gho to E partition
8) Make a ghost restore XPSP2.gho from E partition to C one’s again . Reboot your PC again.
9) Within XPSP2 now , plug your USB hard drive and make a ghost restore USBXP.gho from E to USB hard drive by using ghost32.exe. Reboot again.
10) Also within XPSP2 , you should go to USB-HDD and begin to make a change of this XP here to make it autobootable afterwards .

- Firstly, copy two files : ntdetect.com; boot.ini has its code:
[boot loader]
timeout=3
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

to the root folder of USB
- Secondly, copy all USBSP1 drivers to Windows\ System 32\ drivers\ of USB-HDD .
All these files( ntdetect.com and USBSP1 drivers ) could be extracted from USBHDDXP.zip downloaded ).
11) Create a temp folder : RETTUNG within system32\config of USB-HDD. Copy the file system from this config to the RETTUNG folder.

12)Typing Regedit in start ; Go to HKEY_LOCAL_MACHINE and choose load hive from files. Go to file System within in RETTUNG folder and it required to to create a name for load hive : set it to OTTO . Open registry, you see OTTO below HKEY_LOCAL_MACHINE


13) Delete MountedDevices folder within OTTO and Critical database one’s within Controlset 001\Control\

Extract USBHDXP.zip you would find 2 files: OttoS1.reg and OttoS2.reg.
Double click on OttoS1.reg and OttoS2.reg to incorporate them to registry of OTTO.
14) Export OTTO as a Reg Hive file to RETTUNG and put a name OTTO for this
15) Close XP registry and reopen it to unload OTTO totally from XP registry.
16) Delete 2 files System and system.log from RETTUNG.
17) Rename OTTO to system. Copy the file system here and also paste right here and rename Copy of the system to the system.sav.
18) Delete all files system sytem.sav and system.log if they still exist in Config folder.
Copy 2 files system and system.sav just made from RETTUNG folder to config ( USB- HDD) . You could delete the RETTUNG folder safely now.
19) Go to the INF folder of windows ( USB-HD ), delete 3 files of usb.pnf, usbport.pnf, usbstor. pnf.
20) Open 2 files usb.inf, usbport.inf, usbstor .inf : in LoadOrderGroup, replace Base to System Bus Extender ( for "usbhub", "usbehci", "usbohci", "usbuhci" ).
Change StartType = from 3 to 0 ( for "usbhub", "usbehci", "usbohci", "usbuhci", "usbstor" )
21) Especially for the file usbstor.inf, open it by notepad create the new key, named it with LoadOrderGroup = System Bus Extender
22) Close your PC and reboot . Press on delete, to go to CMOS; to change first boot device to “ USB-HDD”, the second is HDD-0 , save and exit.
23) Reboot one time more. That time, your PC becomes autobooted by USB-HDD.
Don’t be in despair quickly if you see a black screen only : you must wait for 2- 3 minutes at least to have the first appearance of the progress bar and 2 minutes more to see the first XP logo and the final XP desktop.
Wow, you already made a big success autobooted installing XPSP2 within an USB-HDD hard disk the first time.. Make a ghost save of USB hard drive to a new name USB0.gho and reuse it in case of USB-HDD not autobooted anymore or your seeing BSOD subitely.
24) That way of mine ( install XP in USB-HDD ) is found and tested successful only after a long unsleepy days. It is much speedier than Sisal one’s( long time and difficult to success ) and get no BSOD 07 anymore . That makes it more useful because now you don’t pay any attention to VID and PID of your USB-HDD( Dietmar ‘s way ) : you had a generic USB driver now for any computer and update hardware drivers and soft more easily afterwards.
25) If you would like you make an autobooted install XPSP2 within Flash drive( 2GB at least ) , you must know to use EWF ( enhanced write filter ) to protect to have the longest life span of your Flash drive. If not, your Flash drive could be died anytime.
III) Conclusion: I hope you ( all new bies ) are never afraid of Install XP in USB - HDD for booting to any computer and that become easier to everyone some days..
Dr Hoang from Vietnam

Posted by: Nuno Brito Apr 10 2006, 03:26 AM

Congratulations!

The images sure help understanding how to proceed and makes easier to follow your indications, have you ever considered posting your results in a webpage?


I would recommend you http://www.freewebs.com

laugh.gif

Posted by: Dietmar Apr 10 2006, 04:15 AM

Hi bshoangl1,
what a beautiful describing of USB boot, waooo. laugh.gif

You write, that your boottime is about 2-3 minutes.
This is only because of USB 1.1.

If you have a compi, that supports USB 2.0 in Bios,
the boottime is only about 30 seconds.

One thing I do not understand: Tutorial 3 works nearly everywhere,
but have you ever tested Tutorial 4? I know now the reason, why it does not work on some computers.

It is because of the missing Arcpath. But if you change simple on the Original XP CD the ntdetect.com there
against the modified one, suddenly Tutorial 4 works also on nearly every newer compi.

The program UltraISO allows you to edit direct laugh.gif an *.iso image on harddisk.
You can burn it back with Nero 6. This is a part of Tutorial 5.

Believe me, after that, direct installing from CD works.

For myself, I am still fighting with modifying disk.sys. Microsoft changed disk.sys (the NT4 version is easy),
that it is now nearly laugh.gif impossible for "normal" people, to identify every PD0 harddisk by hand.
You have to generate the real PDO (Physical Device Object) number DP(1)0x7e00-0x...+1 for each partition by hand to buils a working arcpath..brrr.

But USB boot from PCI slotcard will work.

Nice to hear from you
Dietmar

PS: The pictures are very good: A picture says more than 1000 words... rolleyes.gif

Posted by: bshoangl1 Apr 10 2006, 05:20 AM

Hi my great Dietmar,
Thanks for all your suggestions. But I still disagree with you on some problems.
1) I think my booted time is slow because it is a USB-HDD 12GB, not Flash Drive. That is not due to USB port 1.1, my computer has almost USB port in 2.0
2)Your tutorial 4 is difficult to apply to everyone ( need a Floppy disk )
3)Your tutorail 3 request a specified VID and PID number of your USB-HDD, not simpler than Sisal's generic driver reg.
4)I lost 100 USB for testing installing XP to USB-HDD from CD by Sisal and Engine's ways. I almost rejected almost 30CDRD, DVDD 5 to test it. Always BSOD or Incorrect function in installing XP to USB-HDD( 2nd stade ).
5)I prefer ghost than UltraiSO to have a image speedier than any else. I also much like to used WinonCD 603 DVD than Nero 7058 .
6) I hope you tutorail 5 is easier to understand for any new bie. I think you had better explain all advanced word for everyone. Something like that:
" generate the real PDO (Physical Device Object) number DP(1)0x7e00-0x...+1 for each partition by hand to buils a working arcpath..brrr"
Sorry, I don't get any word from your above line.
7)The last but not least, I think you need more pics showing all your success.
Do you never like them? If so, you always a top secret man for every member..
Sincerely,
Dr Hoang

Posted by: Dietmar Apr 10 2006, 05:54 AM

Hi bshoangl1,

believe me, your compi boots with USB1.1 at the beginning.
If you see the zebra thing walking first slow and then fast ,this is a 100 % indicator, that the beginning
of the bootprocess is done with USB1.1.

Until now I only know of two Compis, that boots with USB 2.0 at the beginning.
There you see (or you dont see it at all) the zebrathing walking with the speed of light from the beginning
left to right in less than 1 second.

The reason, why I dont put any pictures in the Tutorial is simple:
You have to spend a lot laugh.gif of time to do this and in former times I dont know how to put any picture here. laugh.gif

And with the sentence " generate the real PDO (Physical Device Object) number DP(1)0x7e00-0x...+1 for each partition by hand to buils a working arcpath..brrr" I still have hope that here is anyone who understand this and wants to help me.
Sometimes it is a very small thing, that you are blind for, to get it working. This belongs to me laugh.gif rolleyes.gif tongue.gif biggrin.gif

Tutorial 4 with a kind of your pictures and the start of direct installing XP from CD to any USB device lasts about 1 minute and will work on nearly every compi. But the writing of such a Tutorial lasts days. huh.gif
You can use a USB floppy disk for that.

Nice to hear from you
Dietmar

Posted by: bilou_gateux Apr 11 2006, 01:59 AM

QUOTE (bshoangl1 @ Apr 10 2006, 10:20 AM) *
1) I think my booted time is slow because it is a USB-HDD 12GB, not Flash Drive. That is not due to USB port 1.1, my computer has almost USB port in 2.0


but Poorly written, immature or improperly configured BIOS.

Posted by: Ozzyguy66 Apr 14 2006, 02:20 AM

Hi DrHoang

Well congrats.
I finally now have a working usb bootable copy of XP.
Fantastic.

This is great as now i can backup my existing windows version, and in the event of data loss, can boot up off my usb, and repair fault, or, just re ghost back accross.

Its a pity it isnt transportable onto another computer, but, dietmar is working on this problem, and sounds to me like he isnt too far off, having a solution.
His solution, will open up many new avenues, espescially for a pc repairer like myself.
Being able to have a generic xp that will boot on many different ps's will be a great tool.

But thankyou to you.
Having the use of a bootable usb hard drive, even for home use, is certainly a big bonus.

Ozzy

Edit: My USB XP boots in as little as 45 seconds, utilising USB 2.0 smile.gif

Posted by: bshoangl1 Apr 16 2006, 08:47 AM

Hi Ozzyguy66
"Being able to have a generic xp that will boot on many different ps's will be a great tool. "
Tomorrow, I will post my first success installing edited XPCD ( Sisal's way ) to USB-HDD.
Even having a USB generic driver, I think the principal problem is still not resolved yet( boot to any computer ) because of a lot of different kind of hardwares( different types of USB controllers )
Do you boot 650MB XP in USB-HDD in 45 secondes ?Is your mainboard is rather new one's? Mine is Gigabyte 845 with its booted time is from 2-3 minutes to a full XP desktop.
Dr Hoàng from Vietnam

Posted by: Ozzyguy66 Apr 17 2006, 12:24 AM

QUOTE (bshoangl1 @ Apr 17 2006, 12:47 AM) *
Hi Ozzyguy66
"Being able to have a generic xp that will boot on many different ps's will be a great tool. "
Tomorrow, I will post my first success installing edited XPCD ( Sisal's way ) to USB-HDD.
Even having a USB generic driver, I think the principal problem is still not resolved yet( boot to any computer ) because of a lot of different kind of hardwares( different types of USB controllers )
Do you boot 650MB XP in USB-HDD in 45 secondes ?Is your mainboard is rather new one's? Mine is Gigabyte 845 with its booted time is from 2-3 minutes to a full XP desktop.
Dr Hoàng from Vietnam



Hi DrHoang,

Yep, my total boot time is 45 secs...maximum 1 minute.
My Mainboard is a Asus P4R800-VM using Via Chipset. ( era ...bout 2004 i bought it i think)
USB Drive is a Samsung 40 gig 2.5"
IDE Drivers are by ATI

My XP Version that im booting actually has about 1.9 Gig of data on it.
Complete with installations of TheBat (My email Client), all my favorites, all drivers installed....and other software. TheBat is probably the culprit for bloating the build a little, as i save all my emails,and the file sizes are large (200-300megs)

I dunno why it boots so quick, but hey, Im not complaining smile.gif
It will only Boot up on this computer tho, due to the IDE drivers and the chipsets being different on other pcs.
Only BSOD on other PC.
But it seves my purpose here for now.
I can now have a full running copy of my windows system, in case of a failure in the main drive smile.gif

Down the track i hope to have a fully generic build that would allow me to boot other computers, for repair purposes.

Good Health
Ozzy

Posted by: sparks79 Jun 4 2006, 02:56 AM

I have a gig Usb Flash Drive which uses a new miniature HDD.
This should be ideal for this Project.
I have put so much time into this project.
I have been having so much trouble with dietmar's method.
Probably due to me being tired.
Can someone help me out with an ISO of their Working Project.
For Testing Purposes only ( Legal Rights Acknowledged and Respected).

Posted by: andrewmi Jun 7 2006, 05:25 PM

That worked great!!!!

Thanks so much for the tutorial, I am booting from a USB HDD and it works great, the load time is really good with USB 2.0.

I do have a question, I tried to boot to different PC, I get a reboot, any ideas on what is causing this?

Andrew

Posted by: qwert760 Jun 13 2006, 04:57 PM

QUOTE (bshoangl1 @ Apr 16 2006, 06:47 AM) *
Hi Ozzyguy66
"Being able to have a generic xp that will boot on many different ps's will be a great tool. "
Tomorrow, I will post my first success installing edited XPCD ( Sisal's way ) to USB-HDD.
Even having a USB generic driver, I think the principal problem is still not resolved yet( boot to any computer ) because of a lot of different kind of hardwares( different types of USB controllers )
Do you boot 650MB XP in USB-HDD in 45 secondes ?Is your mainboard is rather new one's? Mine is Gigabyte 845 with its booted time is from 2-3 minutes to a full XP desktop.
Dr Hoàng from Vietnam



Any luck with this one?

thanks

Posted by: esc Aug 24 2006, 10:23 AM

I'm trying to get a handle on the otto/rettung steps. I had guessed otto
was related to auto but wikipedia tells me it means wealthy and that
rettung means rescue or salvation. So I'm expecting the rettung folder
to be my salvation and the otto files to make me wealthy. To the contrary,
I'm left wondering why these machinations are being done. What does
this section do?
Thanks, esc.

"11) Create a temp folder : RETTUNG within system32\config of USB-HDD.
Copy the file system from this config to the RETTUNG folder.
12)Typing Regedit in start ; Go to HKEY_LOCAL_MACHINE and choose load
hive from files. Go to file System within in RETTUNG folder and it
required to to create a name for load hive : set it to OTTO . Open
registry, you see OTTO below HKEY_LOCAL_MACHINE
13) Delete MountedDevices folder within OTTO and Critical database one?s
within Controlset 001\Control\
Extract USBHDXP.zip you would find 2 files: OttoS1.reg and OttoS2.reg.
Double click on OttoS1.reg and OttoS2.reg to incorporate them to
registry of OTTO.
14) Export OTTO as a Reg Hive file to RETTUNG and put a name OTTO for this
15) Close XP registry and reopen it to unload OTTO totally from XP registry.
16) Delete 2 files System and system.log from RETTUNG.
17) Rename OTTO to system. Copy the file system here and also paste
right here and rename Copy of the system to the system.sav.
18) Delete all files system sytem.sav and system.log if they still exist
in Config folder.
Copy 2 files system and system.sav just made from RETTUNG folder to
config ( USB- HDD) . You could delete the RETTUNG folder safely now.
"

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)