Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


Photo

Installing XP on USB Hard Drive

- - - - -

  • Please log in to reply
21 replies to this topic

#1
SpikedCola

SpikedCola

    Newbie

  • Member
  • 46 posts
  • Joined 11-October 05
I recently picked up an Acer Aspire One, and the SSD inside is garbage - it hangs up all the time, even doing the most basic things in Windows or Backtrack, so Ive decided to use an external USB -> SATA adapter with a spare 80GB notebook SATA drive I had around.

I have no problems partitioning and installing Backtrack and having it boot (this rules out the drive and the laptop), but whenever I install XP on the drive, after the textmode copy and restart, I see the windows XP loading screen and bar for half a second, then I get an 0x7B (inaccessable boot device) bluescreen.

The drive is never unplugged from the machine. I am doing the install from a USB -> IDE adapter & a CDRom.

What am I missing/doing wrong?


How to remove advertisement from MSFN

#2
broknindarkagain

broknindarkagain

    Newbie

  • Member
  • 47 posts
  • Joined 03-April 09
Check in your BIOS that USB booting is enabled.

Set your boot priorities as follows:

1 - CDROM / DVD
2 - USB Hard Drive
3 - Internal Hard Drive

#3
dencorso

dencorso

    Adiuvat plus qui nihil obstat

  • Supervisor
  • 5,865 posts
  • Joined 07-April 07
  • OS:98SE
  • Country: Country Flag

Donator

Read this carefully: Ngine.de - How to install and run a FULL Windows XP from a USB drive

#4
cdob

cdob

    MSFN Expert

  • Member
  • PipPipPipPipPipPip
  • 1,000 posts
  • Joined 29-September 05

What am I missing/doing wrong?

XP dosn't support your approach by default.
USB drivers are not loaded, hence the BSOD 0x7b. Change the drive load order.

Dietmar described the behaviour and solution:
http://www.911cd.net...showtopic=14181

There are two projects
http://www.ngine.de/...jsp?pageid=4176
http://www.usboot.org/tiki-index.php

#5
SpikedCola

SpikedCola

    Newbie

  • Member
  • 46 posts
  • Joined 11-October 05

What am I missing/doing wrong?

XP dosn't support your approach by default.
USB drivers are not loaded, hence the BSOD 0x7b. Change the drive load order.

Dietmar described the behaviour and solution:
http://www.911cd.net...showtopic=14181

There are two projects
http://www.ngine.de/...jsp?pageid=4176
http://www.usboot.org/tiki-index.php

Tried 4 different versions of XP with the ngine guide, and re-did the files a couple times each, and I still got the 0x7B bsod after the first reboot. Also tried copying the "XP embedded drivers" as per their forum post, and I still get the BSOD.

Did a fresh install of XP and used USBoot on it, copied it to the drive, and it would give me a black screen after the boot select screen.

Eff.

EDIT Wierd! Tried adding different disks to the boot.ini file, incase it wasnt rdisk(0), which didnt work, but when I tried the original line again, it didnt BSOD... updates to come!

Edited by SpikedCola, 14 June 2009 - 12:30 PM.


#6
dencorso

dencorso

    Adiuvat plus qui nihil obstat

  • Supervisor
  • 5,865 posts
  • Joined 07-April 07
  • OS:98SE
  • Country: Country Flag

Donator

Try substituting the normal ntdetect.com by Dietmar's patched version. You can find it here or here.
And just for you to be sure everything is OK, Dietmar's ntdetect.com MD5 is 42e5d3d11ef0d8ce52175727d581bc14

#7
jaclaz

jaclaz

    The Finder

  • Developer
  • 14,394 posts
  • Joined 23-July 04
  • OS:none specified
  • Country: Country Flag

Tried 4 different versions of XP with the ngine guide, and re-did the files a couple times each, and I still got the 0x7B bsod after the first reboot. Also tried copying the "XP embedded drivers" as per their forum post, and I still get the BSOD.


There may be some problems with copy/paste the files from the engine.de Tutorial.

Check this:
http://www.msfn.org/...howtopic=119963
http://www.msfn.org/...o...19963&st=23

jaclaz

#8
SpikedCola

SpikedCola

    Newbie

  • Member
  • 46 posts
  • Joined 11-October 05

Try substituting the normal ntdetect.com by Dietmar's patched version. You can find it here or here.
And just for you to be sure everything is OK, Dietmar's ntdetect.com MD5 is 42e5d3d11ef0d8ce52175727d581bc14

I tried the ntdetect.com file, saved it with Tiny Hexer as the author said, checked the file size, and when I try to boot, I get "NTDETECT failed"

EDIT Renamed it from NTDETECT.COM to ntdetect.com and now it doesnt give the error, but still gives me the 0x7B bsod. Im trying to read through the 911cd.net thread but a lot of them speak in really broken English and it makes it really hard to understand. Cheers!

Edited by SpikedCola, 14 June 2009 - 05:02 PM.


#9
jaclaz

jaclaz

    The Finder

  • Developer
  • 14,394 posts
  • Joined 23-July 04
  • OS:none specified
  • Country: Country Flag

I tried the ntdetect.com file, saved it with Tiny Hexer as the author said, checked the file size, and when I try to boot, I get "NTDETECT failed"


You may have better luck with the patcher:
http://www.911cd.net...o...=19235&st=2

http://www.911cd.net...o...181&st=1986

jaclaz

P.S.: Forget the above.

This is the first report I ever saw about a Windows filesystem/app being CaSe SensItIvE.

Are you sure of your last edited post?

Have you tried the files I gave you a link previously?

Edited by jaclaz, 14 June 2009 - 04:59 PM.


#10
SpikedCola

SpikedCola

    Newbie

  • Member
  • 46 posts
  • Joined 11-October 05

I tried the ntdetect.com file, saved it with Tiny Hexer as the author said, checked the file size, and when I try to boot, I get "NTDETECT failed"


You may have better luck with the patcher:
http://www.911cd.net...o...=19235&st=2

http://www.911cd.net...o...181&st=1986

jaclaz

P.S.: Forget the above.

This is the first report I ever saw about a Windows filesystem/app being CaSe SensItIvE.

Are you sure of your last edited post?

Have you tried the files I gave you a link previously?

As far as I was aware, it didnt matter how it was named, thats why I named it NTDETECT.COM. After it errored, I googled the error and found someone who renamed the file to lowercase (something about BartPE and it having converted files to lowercase/uppercase when it shouldnt have, and they renamed it) so I renamed it as they did and it got rid of the error.

In the first link you gave, the poster had a problem with the boot sector - I see the Windows XP loading screen & bar, so Im pretty sure the bootsector isnt my problem.

In the second link you gave, the first link in your post (excluding the modified ntdetect one) links to the ngine.de forums - I have been doing lots of reading there but Ive decided to post here instead as there seems to be very little activity over there. The second link in your post is to the guide Ive been following this whole time. The last link, "http://www.nedprod.c...ff/BootWinUSB/", Im reading through now. Im also going to give the patcher a shot. If you have any other ideas, Id love to hear 'em. Thanks!

EDIT Im reburning the CD with the files you attached, hopefully I missed something.
EDIT 2 No go, the files you attached give me an error in setup: "The following value in the .SIF file used by Setup is corrupted or missing: Value 0 on the line in section [SourceDisksFiles] with key "SP3.cab"

By the way, Im using an un-touched OEM SP2 install disk (I had an Integrated SP3 disk that I normally use, but it only had one [Files] section when I was told to put the modifications in the second section, which told me the disk had been modified (and I wanted to rule out the modifications)

EDIT 3 Is there any way to have windows pause for a couple seconds before trying to boot off the USB drive (to give it time to init and stuff)? I just remembered that with BackTrack I had to add a rootdelay=10 in the kernel line or it would fail to boot.

EDIT 4 Crap, just tried the patcher and I realized that the version Im using is SP3. Ill have to find a Pre-SP3 disk around here somewhere!

EDIT 5 Tried it with an untouched SP0 build and it gives me an 0x7B just before the textmode installer would list off the disks in the computer and allow you to format. Trying with SP2 now.

EDIT 6 WTH. Tried an SP2 build, and I get an 0x7B at the same time as the SP0 disk. This is really starting to p*** me off. I need to invest in a CDRW

EDIT 7 Tried the SP2 build, without doing the usb patching, and I still get the 0x7B bsod right after "Setup is starting windows". Why do some disks work and some dont?

Edited by SpikedCola, 14 June 2009 - 09:18 PM.


#11
cdob

cdob

    MSFN Expert

  • Member
  • PipPipPipPipPipPip
  • 1,000 posts
  • Joined 29-September 05

the SSD inside is garbage

BSOD 0x7b may relate to the broken SSD too.
Can you remove the broken hardware?
Can you disable the SSD disk at BIOS?

whenever I install XP on the drive, after the textmode copy and restart

XP does support install from a USB CD-ROM. A default XP SP3 should do this. No BSOD 0x7b so far.
There are USB adjustments required for first restart.

NTDETECT.COM case is importand at CD.

#12
jaclaz

jaclaz

    The Finder

  • Developer
  • 14,394 posts
  • Joined 23-July 04
  • OS:none specified
  • Country: Country Flag

In the first link you gave, the poster had a problem with the boot sector - I see the Windows XP loading screen & bar, so Im pretty sure the bootsector isnt my problem.

In the second link you gave, the first link in your post (excluding the modified ntdetect one) links to the ngine.de forums - I have been doing lots of reading there but Ive decided to post here instead as there seems to be very little activity over there. The second link in your post is to the guide Ive been following this whole time. The last link, "http://www.nedprod.c...ff/BootWinUSB/", Im reading through now. Im also going to give the patcher a shot. If you have any other ideas, Id love to hear 'em. Thanks!


Well, NO.

AFTER having solved the bootsector problem, he couldn't get it working by copying and pasting the engine.de settings, while the attached files made it working.

In the same thread, OP had problems with SP3:
http://www.msfn.org/...o...19963&st=30

It is very probable that you are using a somehow modified SOURCE.

Use a "pure" XP SP2 one.

About FiLeNaMe BeInG CaSe SeNsItive, of course it is important on CD-ROM, but on it it should be UPPER CASE. :unsure:, on FAT16/FAT32/NTFS I can assure you that it is normally as well UPPER CASE.

What are you using to create the .iso? With WHICH options? At WHICH speed and with which app/settings are you burning the CD?

Have you tested the .iso in a VM such as VirtualBOX or even better (but slower) Qemu?

To re-cap:

  • Forget (momentarily) about USB.
  • Do to your "clean" SP2 Source the modifications needed along the ngine.de Tutorial.
  • Use the patched (SP2) NTDETECT.COM
  • Double and Triple check everything.
  • Create a .iso.
  • Test the .iso by performing a "normal" install in a VM.
  • Only if the above works smoothly try burning the CD and perform the actual USB install.

Additionally:
  • Use ONLY a "pure" text editor such as NOTEPAD to modify .sif/.inf/.reg files.
  • Be very, very careful when copying/cutting/pasting on .sif/.inf/.reg files, they are rather "sensitive", you may introduce by mistake an unprintable character like a TAB, a LF or whatever that may "break" them.


jaclaz

#13
SpikedCola

SpikedCola

    Newbie

  • Member
  • 46 posts
  • Joined 11-October 05

the SSD inside is garbage

BSOD 0x7b may relate to the broken SSD too.
Can you remove the broken hardware?
Can you disable the SSD disk at BIOS?

whenever I install XP on the drive, after the textmode copy and restart

XP does support install from a USB CD-ROM. A default XP SP3 should do this. No BSOD 0x7b so far.
There are USB adjustments required for first restart.

NTDETECT.COM case is importand at CD.

The SSD has been physically disconnected. There isnt any actual problem with it, just a design flaw, so I decided not to use it. And I am installing off a USB CD-ROM (well, a SATA DVD-Rom with a SATA -> USB adapter).

Well, NO.

AFTER having solved the bootsector problem, he couldn't get it working by copying and pasting the engine.de settings, while the attached files made it working.

In the same thread, OP had problems with SP3:
http://www.msfn.org/...o...19963&st=30

It is very probable that you are using a somehow modified SOURCE.

Use a "pure" XP SP2 one.

About FiLeNaMe BeInG CaSe SeNsItive, of course it is important on CD-ROM, but on it it should be UPPER CASE. :unsure:, on FAT16/FAT32/NTFS I can assure you that it is normally as well UPPER CASE.

What are you using to create the .iso? With WHICH options? At WHICH speed and with which app/settings are you burning the CD?

Have you tested the .iso in a VM such as VirtualBOX or even better (but slower) Qemu?

To re-cap:

  • Forget (momentarily) about USB.
  • Do to your "clean" SP2 Source the modifications needed along the ngine.de Tutorial.
  • Use the patched (SP2) NTDETECT.COM
  • Double and Triple check everything.
  • Create a .iso.
  • Test the .iso by performing a "normal" install in a VM.
  • Only if the above works smoothly try burning the CD and perform the actual USB install.

Additionally:
  • Use ONLY a "pure" text editor such as NOTEPAD to modify .sif/.inf/.reg files.
  • Be very, very careful when copying/cutting/pasting on .sif/.inf/.reg files, they are rather "sensitive", you may introduce by mistake an unprintable character like a TAB, a LF or whatever that may "break" them.


jaclaz

- I have tried pure (untouched) SP0 and SP2 builds and as per the last two edits, neither will load past "Setup is starting Windows" (0x7B bluescreen). However SP2 build I have does. I have deleted all the partitions on the drive to make sure its not a file system error or anything like that.
- Uppercase, got it.
- I am using ImgBurn to rip the iso, WinISO to extract/add the files, and ImgBurn to burn again, at 2.4x speed (however I am burning to DVDs as I dont have any blank CDs)
- I am using notepad.exe to do the editing and I am typing everything by hand, with the exception of usbboot.inf

Hopefully I was just missing something and I needed to sleep on it, Ill work on it some more after school today

#14
cdob

cdob

    MSFN Expert

  • Member
  • PipPipPipPipPipPip
  • 1,000 posts
  • Joined 29-September 05

The SSD has been physically disconnected. There isnt any actual problem with it, just a design flaw, so I decided not to use it. And I am installing off a USB CD-ROM (well, a SATA DVD-Rom with a SATA -> USB adapter).

Insert the SSD again.
Install XP to the SSD card.

Install UsbBootWatcher http://www.911cd.net...showtopic=22473

Clone the XP SSD card to USB drive.
Disconnect the SSD card.

Boot from USB. Report the boot behaviour.
You may require the edited ntdetect.com or XP Embedded usbhubb.sys.


I don't trust ISO editing tools at Windows installation CD.
Extract files, build a new CD, read the files: cdimage, mkisofs, ImgBurn

Use a decent writer, good quality media and burn at appropiate speed.
This is not always the lowest speed.


Edited:

I install XP on the drive, after the textmode copy and restart, I see the windows XP loading screen and bar for half a second, then I get an 0x7B (inaccessable boot device) bluescreen.

Do you have this files at USB hard disk still? Files after first restart?

There is usb_xp_init.cmd http://www.911cd.net...&...st&p=153920
This change some USB settings. XP may boot from USB and continue installation.

Edited by cdob, 15 June 2009 - 12:37 PM.


#15
SpikedCola

SpikedCola

    Newbie

  • Member
  • 46 posts
  • Joined 11-October 05

The SSD has been physically disconnected. There isnt any actual problem with it, just a design flaw, so I decided not to use it. And I am installing off a USB CD-ROM (well, a SATA DVD-Rom with a SATA -> USB adapter).

Insert the SSD again.
Install XP to the SSD card.

Install UsbBootWatcher http://www.911cd.net...showtopic=22473

Clone the XP SSD card to USB drive.
Disconnect the SSD card.

Boot from USB. Report the boot behaviour.
You may require the edited ntdetect.com or XP Embedded usbhubb.sys.


I don't trust ISO editing tools at Windows installation CD.
Extract files, build a new CD, read the files: cdimage, mkisofs, ImgBurn

Use a decent writer, good quality media and burn at appropiate speed.
This is not always the lowest speed.


Edited:

I install XP on the drive, after the textmode copy and restart, I see the windows XP loading screen and bar for half a second, then I get an 0x7B (inaccessable boot device) bluescreen.

Do you have this files at USB hard disk still? Files after first restart?

There is usb_xp_init.cmd http://www.911cd.net...&...st&p=153920
This change some USB settings. XP may boot from USB and continue installation.

I tried your usb_xp_init.cmd file and when I ran it I got a few errors:
C:\Users\J Skoba\Desktop>usb_xp_init.cmd D:\windows\system32
prepare XP files after first installation reboot
The system cannot find the path specified.
		0 file(s) copied.
The operation completed successfully.
sp driver cab: D:\windows\Driver Cache\I386\sp3.cab
expand usbohci.sys
Microsoft (R) File Expansion Utility  Version 6.1.7100.0
Copyright (c) Microsoft Corporation. All rights reserved.

d:\windows\system32\..\driver cache\i386\driver.cab: No files matching 'usbohci.
sys'.

Microsoft (R) File Expansion Utility  Version 6.1.7100.0
Copyright (c) Microsoft Corporation. All rights reserved.

Adding D:\windows\system32\drivers\usbohci.sys to Extraction Queue

Expanding Files ....

Expanding Files Complete ...
expand intelide.sys
Microsoft (R) File Expansion Utility  Version 6.1.7100.0
Copyright (c) Microsoft Corporation. All rights reserved.

d:\windows\system32\..\driver cache\i386\driver.cab: No files matching 'intelide
.sys'.

Microsoft (R) File Expansion Utility  Version 6.1.7100.0
Copyright (c) Microsoft Corporation. All rights reserved.

Adding D:\windows\system32\drivers\intelide.sys to Extraction Queue

Expanding Files ....

Expanding Files Complete ...
The system cannot find the path specified.
D:\Windows\system32 is the path to the usb drive that I am trying to install onto (I connected the drive to my computer after the first restart and ran your script).

EDIT I tried doing an install with a nonpatched SP2 build and it bsod's on the laptop w/ usb drive, and installs fine in VMWare. Did the usb patch to it and I get the same thing. However the SP3 builds dont give me the bsod on the laptop (but then files are different).

Edited by SpikedCola, 15 June 2009 - 08:44 PM.


#16
cdob

cdob

    MSFN Expert

  • Member
  • PipPipPipPipPipPip
  • 1,000 posts
  • Joined 29-September 05

I tried your usb_xp_init.cmd file and when I ran it I got a few errors:

Use files and folder

C:\UsbBootWatcher\usb_xp_init.cmd
C:\UsbBootWatcher\amd64\UsbBootWatcher.conf
C:\UsbBootWatcher\amd64\UsbBootWatcher.exe
C:\UsbBootWatcher\x86\UsbBootWatcher.conf
C:\UsbBootWatcher\x86\UsbBootWatcher.exe


The system cannot find the path specified.
0 file(s) copied.

Comment the '@echo off' line. Run usb_xp_init.cmd again.
Does this line cause the error:
copy "%XP_system32%\config\system" "%XP_system32%\config\system_%date%.sav"
Ignore this line so far.

expand usbohci.sys
Microsoft ® File Expansion Utility Version 6.1.7100.0
Copyright © Microsoft Corporation. All rights reserved.

d:\windows\system32\..\driver cache\i386\driver.cab: No files matching 'usbohci.sys'.

Microsoft ® File Expansion Utility Version 6.1.7100.0
Copyright © Microsoft Corporation. All rights reserved.

Adding D:\windows\system32\drivers\usbohci.sys to Extraction Queue

Expanding Files ....

Expanding Files Complete ...

Usbohci.sys is not found at driver.cab, but expanded from sp3.cab. That's not a error.

Do you run Windows 7 Release Candidate ?
usb_xp_init.cmd hasn't been tested that way. There didn't exist Windows 7 RC back then.

Does exist files d:\windows\system32\UsbBootWatcher.exe and d:\windows\system32\UsbBootWatcher.conf?
Was system registry file updated? Can you upload your system registry file?

#17
SpikedCola

SpikedCola

    Newbie

  • Member
  • 46 posts
  • Joined 11-October 05

I tried your usb_xp_init.cmd file and when I ran it I got a few errors:

Use files and folder

C:\UsbBootWatcher\usb_xp_init.cmd
C:\UsbBootWatcher\amd64\UsbBootWatcher.conf
C:\UsbBootWatcher\amd64\UsbBootWatcher.exe
C:\UsbBootWatcher\x86\UsbBootWatcher.conf
C:\UsbBootWatcher\x86\UsbBootWatcher.exe


The system cannot find the path specified.
0 file(s) copied.

Comment the '@echo off' line. Run usb_xp_init.cmd again.
Does this line cause the error:
copy "%XP_system32%\config\system" "%XP_system32%\config\system_%date%.sav"
Ignore this line so far.

expand usbohci.sys
Microsoft ® File Expansion Utility Version 6.1.7100.0
Copyright © Microsoft Corporation. All rights reserved.

d:\windows\system32\..\driver cache\i386\driver.cab: No files matching 'usbohci.sys'.

Microsoft ® File Expansion Utility Version 6.1.7100.0
Copyright © Microsoft Corporation. All rights reserved.

Adding D:\windows\system32\drivers\usbohci.sys to Extraction Queue

Expanding Files ....

Expanding Files Complete ...

Usbohci.sys is not found at driver.cab, but expanded from sp3.cab. That's not a error.

Do you run Windows 7 Release Candidate ?
usb_xp_init.cmd hasn't been tested that way. There didn't exist Windows 7 RC back then.

Does exist files d:\windows\system32\UsbBootWatcher.exe and d:\windows\system32\UsbBootWatcher.conf?
Was system registry file updated? Can you upload your system registry file?

Yes Im running Windows 7, I didnt realize I needed to run usb_xp_init.cmd from XP. My server runs XP so I will copy usb_xp_init.cmd to my server and hook up the hard drive and run it and post what it says. Which 'system registry file' do you mean?

EDIT I created the directory structure like you said, commented the @echo off, and ran your program. Here is the output:

C:\UsbBootWatcher>usb_xp_init f:\windows\system32

C:\UsbBootWatcher>pushd C:\UsbBootWatcher\

C:\UsbBootWatcher>rem usb_xp_init.cmd v0.01

C:\UsbBootWatcher>rem created by cdob

C:\UsbBootWatcher>rem addon to UsbBootWatcher by marv

C:\UsbBootWatcher>rem http://www.911cd.net/forums//index.php?showtopic=22473

C:\UsbBootWatcher>echo prepare XP files after first installation reboot
prepare XP files after first installation reboot

C:\UsbBootWatcher>if f:\windows\system32. == -secret_add_system_boot. (
echo ### -secret_add_system_boot ###
 call :set_usb_boot_setting
 exit
 goto :eof
)

C:\UsbBootWatcher>set XP_system32=f:\windows\system32

C:\UsbBootWatcher>if not exist "f:\windows\system32\config\system" set /P XP_sys
tem32=Path to your system32 folder on usb drive (e:\Windows\system32):

C:\UsbBootWatcher>if not exist "f:\windows\system32\config\system" (echo Error:
target not found   & pause   & popd   & goto :eof )

C:\UsbBootWatcher>copy "f:\windows\system32\config\system" "f:\windows\system32\
config\system_16/06/2009.sav"
The system cannot find the path specified.
		0 file(s) copied.

C:\UsbBootWatcher>reg.exe load HKLM\loaded_SYSTEM "f:\windows\system32\config\sy
stem"

The operation completed successfully

C:\UsbBootWatcher>rem at first reboot: system registry use system permissions

C:\UsbBootWatcher>rem launch cmd.exe using system account

C:\UsbBootWatcher>rem http://blogs.msdn.com/adioltean/articles/271063.aspx

C:\UsbBootWatcher>sc.exe delete UsbBootCmd  1>nul

C:\UsbBootWatcher>sc.exe create UsbBootCmd binpath= "C:\WINDOWS\system32\cmd.exe
 /c start /min C:\USBBOO~1\USB_XP~1.CMD -secret_add_system_boot" type= own type=
 interact  1>nul

C:\UsbBootWatcher>sc.exe start UsbBootCmd  1>nul

C:\UsbBootWatcher>sc.exe delete UsbBootCmd  1>nul

C:\UsbBootWatcher>set OS_Architecture=I386

C:\UsbBootWatcher>if exist "f:\windows\system32\..\Driver Cache\AMD64\driver.cab
" set OS_Architecture=AMD64

C:\UsbBootWatcher>rem detect last sp*.cab

C:\UsbBootWatcher>For /F "delims=" %a in ('dir /a-d /on /b /s "f:\windows\system
32\..\Driver Cache\I386\sp*.cab"') do set sp_cab=%a

C:\UsbBootWatcher>set sp_cab=f:\windows\Driver Cache\I386\sp3.cab

C:\UsbBootWatcher>echo sp driver cab: f:\windows\Driver Cache\I386\sp3.cab
sp driver cab: f:\windows\Driver Cache\I386\sp3.cab

C:\UsbBootWatcher>for %b in (usbehci.sys usbohci.sys usbuhci.sys usbport.sys usb
hub.sys usbd.sys usbccgp.sys usbstor.sys) do (if not exist "f:\windows\system32\
drivers\%b" (
echo expand %b
 expand.exe "f:\windows\system32\..\Driver Cache\I386\driver.cab" -F:%b "f:\wind
ows\system32\drivers"
 expand.exe "f:\windows\Driver Cache\I386\sp3.cab" -F:%b "f:\windows\system32\dr
ivers"
) )

C:\UsbBootWatcher>(if not exist "f:\windows\system32\drivers\usbehci.sys" (
echo expand usbehci.sys
 expand.exe "f:\windows\system32\..\Driver Cache\I386\driver.cab" -F:usbehci.sys
 "f:\windows\system32\drivers"
 expand.exe "f:\windows\Driver Cache\I386\sp3.cab" -F:usbehci.sys "f:\windows\sy
stem32\drivers"
) )

C:\UsbBootWatcher>(if not exist "f:\windows\system32\drivers\usbohci.sys" (
echo expand usbohci.sys
 expand.exe "f:\windows\system32\..\Driver Cache\I386\driver.cab" -F:usbohci.sys
 "f:\windows\system32\drivers"
 expand.exe "f:\windows\Driver Cache\I386\sp3.cab" -F:usbohci.sys "f:\windows\sy
stem32\drivers"
) )

C:\UsbBootWatcher>(if not exist "f:\windows\system32\drivers\usbuhci.sys" (
echo expand usbuhci.sys
 expand.exe "f:\windows\system32\..\Driver Cache\I386\driver.cab" -F:usbuhci.sys
 "f:\windows\system32\drivers"
 expand.exe "f:\windows\Driver Cache\I386\sp3.cab" -F:usbuhci.sys "f:\windows\sy
stem32\drivers"
) )

C:\UsbBootWatcher>(if not exist "f:\windows\system32\drivers\usbport.sys" (
echo expand usbport.sys
 expand.exe "f:\windows\system32\..\Driver Cache\I386\driver.cab" -F:usbport.sys
 "f:\windows\system32\drivers"
 expand.exe "f:\windows\Driver Cache\I386\sp3.cab" -F:usbport.sys "f:\windows\sy
stem32\drivers"
) )

C:\UsbBootWatcher>(if not exist "f:\windows\system32\drivers\usbhub.sys" (
echo expand usbhub.sys
 expand.exe "f:\windows\system32\..\Driver Cache\I386\driver.cab" -F:usbhub.sys
"f:\windows\system32\drivers"
 expand.exe "f:\windows\Driver Cache\I386\sp3.cab" -F:usbhub.sys "f:\windows\sys
tem32\drivers"
) )

C:\UsbBootWatcher>(if not exist "f:\windows\system32\drivers\usbd.sys" (
echo expand usbd.sys
 expand.exe "f:\windows\system32\..\Driver Cache\I386\driver.cab" -F:usbd.sys "f
:\windows\system32\drivers"
 expand.exe "f:\windows\Driver Cache\I386\sp3.cab" -F:usbd.sys "f:\windows\syste
m32\drivers"
) )

C:\UsbBootWatcher>(if not exist "f:\windows\system32\drivers\usbccgp.sys" (
echo expand usbccgp.sys
 expand.exe "f:\windows\system32\..\Driver Cache\I386\driver.cab" -F:usbccgp.sys
 "f:\windows\system32\drivers"
 expand.exe "f:\windows\Driver Cache\I386\sp3.cab" -F:usbccgp.sys "f:\windows\sy
stem32\drivers"
) )

C:\UsbBootWatcher>(if not exist "f:\windows\system32\drivers\usbstor.sys" (
echo expand usbstor.sys
 expand.exe "f:\windows\system32\..\Driver Cache\I386\driver.cab" -F:usbstor.sys
 "f:\windows\system32\drivers"
 expand.exe "f:\windows\Driver Cache\I386\sp3.cab" -F:usbstor.sys "f:\windows\sy
stem32\drivers"
) )

C:\UsbBootWatcher>rem add IDE and ATAPI

C:\UsbBootWatcher>for %b in (pciide.sys intelide.sys pciidex.sys atapi.sys) do (
if not exist "f:\windows\system32\drivers\%b" (
echo expand %b
 expand.exe "f:\windows\system32\..\Driver Cache\I386\driver.cab" -F:%b "f:\wind
ows\system32\drivers"
 expand.exe "f:\windows\Driver Cache\I386\sp3.cab" -F:%b "f:\windows\system32\dr
ivers"
) )

C:\UsbBootWatcher>(if not exist "f:\windows\system32\drivers\pciide.sys" (
echo expand pciide.sys
 expand.exe "f:\windows\system32\..\Driver Cache\I386\driver.cab" -F:pciide.sys
"f:\windows\system32\drivers"
 expand.exe "f:\windows\Driver Cache\I386\sp3.cab" -F:pciide.sys "f:\windows\sys
tem32\drivers"
) )

C:\UsbBootWatcher>(if not exist "f:\windows\system32\drivers\intelide.sys" (
echo expand intelide.sys
 expand.exe "f:\windows\system32\..\Driver Cache\I386\driver.cab" -F:intelide.sy
s "f:\windows\system32\drivers"
 expand.exe "f:\windows\Driver Cache\I386\sp3.cab" -F:intelide.sys "f:\windows\s
ystem32\drivers"
) )

C:\UsbBootWatcher>(if not exist "f:\windows\system32\drivers\pciidex.sys" (
echo expand pciidex.sys
 expand.exe "f:\windows\system32\..\Driver Cache\I386\driver.cab" -F:pciidex.sys
 "f:\windows\system32\drivers"
 expand.exe "f:\windows\Driver Cache\I386\sp3.cab" -F:pciidex.sys "f:\windows\sy
stem32\drivers"
) )

C:\UsbBootWatcher>(if not exist "f:\windows\system32\drivers\atapi.sys" (
echo expand atapi.sys
 expand.exe "f:\windows\system32\..\Driver Cache\I386\driver.cab" -F:atapi.sys "
f:\windows\system32\drivers"
 expand.exe "f:\windows\Driver Cache\I386\sp3.cab" -F:atapi.sys "f:\windows\syst
em32\drivers"
) )

C:\UsbBootWatcher>if I386. == I386. set OS_Architecture=x86

C:\UsbBootWatcher>copy x86\UsbBootWatcher.* f:\windows\system32
x86\UsbBootWatcher.conf
x86\UsbBootWatcher.exe
The process cannot access the file because it is being used by another process.
		1 file(s) copied.

C:\UsbBootWatcher>popd

C:\UsbBootWatcher>goto :eof

C:\UsbBootWatcher>

Usbbootwatcher.exe and usbbootwatcher.conf exist in f:\windows\system32 (the usb drive)

I tried booting off the drive but I still get the 0x7B bsod

While I am waiting for your response, I am going to reinstall the SSD, install to it, run USBBootWatcher on it, then clone to the USB drive.

Edited by SpikedCola, 16 June 2009 - 11:45 AM.


#18
cdob

cdob

    MSFN Expert

  • Member
  • PipPipPipPipPipPip
  • 1,000 posts
  • Joined 29-September 05

C:\UsbBootWatcher>copy "f:\windows\system32\config\system" "f:\windows\system32\config\system_16/06/2009.sav"
The system cannot find the path specified.
0 file(s) copied.

Yes, system_%date%.sav does cause this.
Backup the file "f:\windows\system32\config\system" yourself.
Then ignore this error message.

Which 'system registry file' do you mean?

The file containing the registry hive system at USB: f:\windows\system32\config\system

Did a second cmd window opened?
There should be a second cmd window opened, USB registry adjusted and second cmd closed.
This part may work or fail at Windows 7.

#19
SpikedCola

SpikedCola

    Newbie

  • Member
  • 46 posts
  • Joined 11-October 05

C:\UsbBootWatcher>copy "f:\windows\system32\config\system" "f:\windows\system32\config\system_16/06/2009.sav"
The system cannot find the path specified.
0 file(s) copied.

Yes, system_%date%.sav does cause this.
Backup the file "f:\windows\system32\config\system" yourself.
Then ignore this error message.

Which 'system registry file' do you mean?

The file containing the registry hive system at USB: f:\windows\system32\config\system

Did a second cmd window opened?
There should be a second cmd window opened, USB registry adjusted and second cmd closed.
This part may work or fail at Windows 7.

With Windows 7 that part did not happen. On XP I did notice it happen. However it didnt allow it to boot. Im in the process of in stalling SP3 and cloning now. I will let you know how that goes

#20
Maxfutur

Maxfutur

    Member

  • Member
  • PipPip
  • 232 posts
  • Joined 05-June 05
  • OS:none specified
  • Country: Country Flag

Did a fresh install of XP and used USBoot on it, copied it to the drive, and it would give me a black screen after the boot select screen.


For best results:
Use only 1 drive.
Install windows where you can (it can be nlited but have to keep some stuff), laptop or destop pc, does'nt matter.

After that, is where USBoot come to work.

Install.
Run batch called cmd_here.cmd, then type usboot phase-0
follow instructions, the last phase is 3, when it copies to a USB.

This next step can be little confusing:
When is done, save all your work as setup and usb creation by using a backup tool as northon ghost or acronis trueimage.
If you do so, use an external USB HD (assuming that your Aspire One have more than 1 USB port), when (full) Hard drive image (USB drive, i mean) is done,
plug your "windows USB" to the aspireone, configure devices, repeat previous step (in case it could work better), create a windows image (result is going to be 2 image drives).
Go back to the pc where did all the process, unplug every storage device, plug your "windows USB", proceed to install (while runing "windows USB") the image restoring tool, shut down.
Go to your Aspire One, plug the "USB base" with the restoring tool and start from it (i hope you can do that), setup necessary drivers only (if necessary, again), plug your external USB HD, configure, then clone the first "windows USB" image to your Aspire and shut down, unplug devices, startup then configure devices, after that, can be ready to install softw...

In case that doesn't work, try the second image drive...

ATM I use my USB stick almost everywhere, just plug, run windows, configure network (video if different make, sound if different too) and fly on the net, watch youtube video, create plans with floorplan or 3dhome architect, watch DVD movies with KMplayer installed from klite codec pack, play MP3's with winamp 2.95 +dsp stacker allowingme to add many plugins.

Edited by Maxfutur, 16 June 2009 - 08:20 PM.

Mozilla Firefox http://www.getfirefox.com the best web browser i've used.

#21
SpikedCola

SpikedCola

    Newbie

  • Member
  • 46 posts
  • Joined 11-October 05
I cloned the SSD to the USB and installed UsbBootWatcher and it gave me 0x7B so I tried both the modified NTDETECT.COM and embedded drivers, and they both still give me the 0x7B bsod :(

#22
SpikedCola

SpikedCola

    Newbie

  • Member
  • 46 posts
  • Joined 11-October 05
As with the rest of ya, Ive given up. I picked up an 80GB iPod HDD, and tossed that inside.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users



How to remove advertisement from MSFN