restore to usb?

User discussion and information resource forum for Image products.
molecule
Posts: 20
Joined: Fri Sep 28, 2012 2:17 pm

restore to usb?

Post by molecule »

OS = windows 2000sp4 installed to 7.5g ntfs partition c:\
ran IFW 2.74 to create image, all defaults selected, created image to d:\ -- no problems
formatted 16g USB stick as single ntfs partition (EASEUS latest reports no problems)
ran IFW to restore (normal)
selected image file partition (hdd greyed out)
options: -set active -update boot.ini -update boot partition -write std mbr -log results
IFW sees USB stick and restores to it, no problems reported

remove ide-sata drive connectors
in bios, select boot from USB ... no problems
windows 2000 loader completes initial text mode phase (where I have F8 option)
windows loader completes next vga mode phase (just before logon)
windows attempts to flip to logon but returns BBSOD (blue boot screen of death)
STOP - 0x7B - INACCESSIBLE_BOOT_DEVICE

reformat UFD using MakeDisk (from w2k, ran c:\program files\terabyte\ifd\makedisk.exe ...)
same result = 0x7B

how do I restore a small system partition to a bootable USB partition?
would installing USBoot make a difference? (http://usboot.org)

can I use BING to multipartition a bootable USB?
Last edited by molecule on Fri Sep 28, 2012 3:40 pm, edited 1 time in total.
Eric
Posts: 224
Joined: Mon Sep 05, 2011 6:53 pm
Location: France

Re: restore to usb?

Post by Eric »

Hello,

That's your installation of Windows that is not prepared to boot from USB.
You need to run on your Win2k install in the USB drive, the "USBBoot 2.04 (July 8, 2011) TBS script to enable booting XP from a USB drive.", available from the main page of "OSD Tool Suite" (http://www.terabyteunlimited.com/tbosdt.htm), in the "Additional Items" part.
This script can run under Windows 2000 (because it's also NT5).
The tbosdtw.exe program needed to run the script is delivered with IFW.

Regards,
molecule
Posts: 20
Joined: Fri Sep 28, 2012 2:17 pm

Re: restore to usb?

Post by molecule »

thanks Eric, for the fast reply

cd to-- c:\Program Files\Terabyte\OSD Tools Suite v139\win>
start-- tbosdtw.exe
run script-- runtbs .\usbboot\usbboot.tbs
select copy
manually locate imagew.exe in c:\Program Files\Terabyte\Image for Windows v274
(durng installation it was located in non-standard default location ... added version)

script locates imagew.exe then answers ... "No Windows Installation found on all drives"

is there a way to hack the script to bypass version testing for 2000, or add a line for win 2000? I looked at the script and don't see where it's dropping out? (however, I'm not a script maven ...)

of can I perform the script manually, copying files and running .reg's and .inf's

2000sp4-rollupv2 was installed to all defaults ...
installs to C:\WINNT
root has NTDETECT.COM, NTLDR, etc.

it's not impossible that the script can't mount c: drive because I'm running the script from that device ... the script still should see the USB ... ifw does ... it has a 2000 system on it which almost installs, it's just missing a few needed files?
Eric
Posts: 224
Joined: Mon Sep 05, 2011 6:53 pm
Location: France

Re: restore to usb?

Post by Eric »

Hello,

If the Windows installation is not under C:\WINDOWS but under C:\WinNT,
then you should modify the root directory in the script:
From:

// Windows root directory
const WINDIR = "\WINDOWS"

To:

// Windows root directory
const WINDIR = "\WINNT"

Also, if you have already copied your installation to the USB stick,
then you can also select the option "Enable Windows... to boot".

molecule
Posts: 20
Joined: Fri Sep 28, 2012 2:17 pm

Re: restore to usb?

Post by molecule »

I edited the script to c:\winnt

also edited my non-default search paths so that script could find imagew.exe and osdtool.tbs

I chose copy C: to K: (figuring to test a clean install ...)

the script launches flawlessly, opens imagew.exe
imagew.exe completes successfully then returns back to script

the screen dump from the script is [monospace type needed]
[code]
Updating NTDETECT.COM ...
NTDETECT.COM 04-08-04 05:00 => 07-02-05 01:36 Updating!
Update complete!
Copying NTDETECT.COM...Complete.
1 file(s) copied.
Backing-up System registry...Complete
Extracting and copying USB drivers ...
File drivers\usbccgp.sys was not found
File drivers\usbohci.sys was not found
File drivers\usbuhci.sys was not found
Adding drivers in registries...
File usbohci.sys is missing.
File usbuhci.sys is missing.
Disabling paging file...Complete
Assigning System drive: Complete
Cleaning MountedDevices...Complete
Copying inf and PNF file to OEMDRV...
- Moving file usb.inf...
File K:\WINNT\inf\usbport.inf was not found
- Moving file usbstor.inf...
Adding OEMDRV to DevicePath...Complete
Verifying boot.ini file: File OK.

Press <Enter> to continue ...
===
Operation Complete Partially
[/code]

boot to new USB produces textmode setup ok, vga mode setup ok, but logon screen hangs with 0x7B bsod INACCESSIBLE_BOOT_DEVICE

the 4 excepted files are
usbccgp.sys
usbohci.sys
usbunci.sys (my XPsp3 has it)
usbport.inf (my XPsp3 has it)

two of these are not included in my XPsp3 system ... not patched ... gold install plain vanilla (just comparing ... I'm still trying to copy 2K to USB...)
usbccgp.sys
usbohci.sys
however, I see that they are included in this microsof listing of usb hotfix drivers for each version of windows
hotfix are not standard patches ... by request only
http://blogs.msdn.com/b/usbcoreblog/arc ... rsion.aspx

arghhh!

a table of usb drivers for 2k by version with patch no [monospace type needed]
[code]
------------------Sp4,R1,------------------------PAY-----WGA----------BSOD
----------------Security---829759-883528-838771-838921-838989-843503-838417-836111-823086-817765-841880-890202--
================================================================================================================
hidclass.sys----2195.6655---6824------------------------6882---6882
(hidusb.sys)----2142.1
openhci.sys-----2195.6675---6824------------------------6882---6940----
uhcd.sys--------2195.6655---6824------------------------6882---6882----
usbarw.sys------2195.1620
usbcamd.sys-----2135.1-------------------------------------------------------6883--
usbd.sys--------2195.6658---6824-----------------6882---6935---6935---7008--
usbehci.sys-----2195.6709---6824------------------------6882---6882--
usbhub.sys------2195.6689-----------------6883---6884-----------------7006--
usbhub20.sys----2195.6655---6824------------------------6891---6891--
usbintel.sys----2134.1
usbport.sys-----2195.6681---6824------------------------6926---6941--
usbprint.sys----2195.6655----------6968--
usbscan.sys-----2195.6655
usbser.sys------2195.6655---------------------------------------------7006--
usbstor.sys-----2195.6655-----------------------------------------------------------6773---6871---6934---7009--
================================================================================================================
---------------------------829759-883528-838771-838921-838989-843503-838417-836111-823086-817765-841880-890202--
[/code]

I feel like we are soo close ...
Eric
Posts: 224
Joined: Mon Sep 05, 2011 6:53 pm
Location: France

Re: restore to usb?

Post by Eric »

Don't you have a driver.cab and a sp4.cab in the system?
Is it a x86 or a x64 system?
molecule
Posts: 20
Joined: Fri Sep 28, 2012 2:17 pm

Re: restore to usb?

Post by molecule »

x86
I have both driver.cab and sp4.cab in C:\WINNT\Driver Cache\I386\

driver.cab has 3 usb*.sys
...audio ...camd ...intel

sp4.cab has 9 usb*.cab
...d ...ehci ...hub ...hub20 ...port ...print ...scan ...ser ...stor

c:\winnt\system32 has usb*.sys
...camb ...d ...ehci ...hub ...hub20 ...intel ...port ...stor

edit-- sorry ... I had an interruption ... I'll be right back

edit-- so 4 are still missing 3 usb*.sys (...ccgp ...ohci ...uhci) and 1 usbport.inf
molecule
Posts: 20
Joined: Fri Sep 28, 2012 2:17 pm

Re: restore to usb?

Post by molecule »

http://support.microsoft.com/kb/838989

it looks like the 3 missing files (usbccgp.sys, usbohci.sys, usbuhci.sys) and usbport.SYS? might come from KB838989 for XP ... the script looks for usbport.inf the KB has usbport.sys

KB838989 covers the problem of system not recognizing a USB after a power cycle, i.e. a reboot

The same KB838989 for the same issue, but for 2000 addresses the same issue, but uses a different set of files
Date Time Version Size File name
-----------------------------------------------------------
12-Dec-2003 18:19 5.0.2195.6882 24,752 Hidclass.sys
12-Dec-2003 17:37 5.0.2195.6882 24,976 Openhci.sys
12-Dec-2003 17:37 5.0.2195.6882 32,944 Uhcd.sys
19-Mar-2004 02:34 32,543 Usb.inf
12-Dec-2003 17:37 5.0.2195.6882 20,752 Usbd.sys
12-Dec-2003 17:37 5.0.2195.6882 19,792 Usbehci.sys
17-Jan-2004 02:06 5.0.2195.6891 50,032 Usbhub20.sys
23-Mar-2004 00:45 5.0.2195.6885 138,928 Usbport.sys

Maybe I can just mod the script to copy this fileset over instead? -- KB838989 for 2000 is installed on my system
molecule
Posts: 20
Joined: Fri Sep 28, 2012 2:17 pm

Re: restore to usb?

Post by molecule »

I found the 3 missing usb*.sys files in the SP3.CAB folder of my XP system

I copied them to both
c:\winnt\system32\*.*
c:\winnt\system32\drivers\*.*

script still does not see them ... reports them not found during extract and copy
and reports 2 of them missing ... usbohci.sys and usbuhci.sys
(meaning that usbccgp.sys was found)

tried to register them but regsvr32 reports that they are loaded but the entry point was not found ... they don't appear to be .dll or .ocx
Eric
Posts: 224
Joined: Mon Sep 05, 2011 6:53 pm
Location: France

Re: restore to usb?

Post by Eric »

Strange... I remenber to have already used the script under Win2k and it worked. I'll look at all this soon (can't right now).
Post Reply