Jump to content

Install XP on USB3 stick


Damnation

Recommended Posts

Hi everyone! new here, looking for some help

So I've already got XP working on USB stick in USB2

I'm attempting to inject a textmode driver into my install for USB3 support

I've attempted to create a txtsetup.oem files for my USB3 controller (A Renesas USB3 Controller)

I've injected successfully but have not had much luck installing as it BSODs right after the part where you can select your RAID Driver

here is my attempt at a txtsetup.oem (not really sure how to do this, so it's sure to have mistakes)

TXTSETUP.OEM

[Disks]

disk1="RENESAS USB3 Installation Disk",\nusb3xhc.inf,\

disk2="RENESAS USB3 HUB Installation Disk",\nusb3hub.inf,\

[Defaults]

SCSI=nusb3xhcx86

[sCSI]

nusb3xhcx86="nusb3xhc Driver x86"

nusb3xhcx64="nusb3xhc Driver x64"

nusb3hubx86="nusb3hub Driver x86"

nusb3hubx64="nusb3hub Driver x64"

[Files.scsi.nusb3xhcx86]

driver=disk1,nusb3xhc.sys,nusb3xhc

inf=disk1,nusb3xhc.inf

catalog=disk1,nusb3xhc.cat

[Files.scsi.nusb3xhcx64]

driver=disk1,nusb3xhc.sys,nusb3xhc

inf=disk1,nusb3xhc.inf

catalog=disk1,nusb3xhc.cat

[Files.scsi.nusb3hubx86]

driver=disk1,nusb3hub.sys,nusb3hub3

inf=disk1,nusb3hub.inf

catalog=disk1,nusb3hub.cat

[Files.scsi.nusb3hubx64]

driver=disk1,nusb3hub.sys,nusb3hub3

inf=disk1,nusb3hub.inf

catalog=disk1,nusb3hub.cat

[HardwareIds.scsi.nusb3xhcx86]

id="detected\nusb3xhc","nusb3xhc"

[HardwareIds.scsi.nusb3xhcx64]

id="detected\nusb3xhc","nusb3xhc"

[HardwareIds.scsi.nusb3hubx86]

id="detected\nusb3hub","nusb3hub"

[HardwareIds.scsi.nusb3hubx64]

id="detected\nusb3hub","nusb3hub"

[Config.nusb3xhc]

[Config.nusb3hub]

Any help would be appreciated!

Link to comment
Share on other sites


Try getting the relevant info from here:

http://www.911cd.net/forums//index.php?showtopic=23637

and try editing directly txtsetup.sif

:unsure:

In any case choose EITHER of x86 and x64 to simplify the procedure.

It'a lot of time I don't deal with txtsetup.oem file, but it seems to me like the issue is with HardwareIds.scsi.ID which is "invalid", compare with the above and with:

http://www.osronline.com/ddkx/install/txtsetup_1wmq.htm

http://www.osronline.com/ddkx/install/txtsetup_1qpe.htm

jaclaz

Link to comment
Share on other sites

So I've already got XP working on USB stick in USB2

I'm attempting to inject a textmode driver into my install for USB3 support

Can you clarify:

Do you like to install XP from a USB device at Renesas controller to a internal hard disk?

Do you like to install XP to a USB device at Renesas controller?

Do youuse Renesas USB 3.0 Driver 2.1.28.1

http://downloadcenter.intel.com/Detail_Desc.aspx?DwnldID=19880

Link to comment
Share on other sites

So I've already got XP working on USB stick in USB2

I'm attempting to inject a textmode driver into my install for USB3 support

Can you clarify:

Do you like to install XP from a USB device at Renesas controller to a internal hard disk?

Do you like to install XP to a USB device at Renesas controller?

Do youuse Renesas USB 3.0 Driver 2.1.28.1

http://downloadcenter.intel.com/Detail_Desc.aspx?DwnldID=19880

From the USB onto a harddisk

Renesas USB 3.0 Driver 2.1.28.1

Thats the driver I got yes

Link to comment
Share on other sites

Do you like to install Windows XP 32 bit?

Renesas 2.1.28.1 support uPD720200 and uPD720200a.

Renesas 3.0.20 support uPD720201 and uPD720202.

Renesas 3.0.20 doesn't support a uPD720200a out of the box.

However rusb3xhc.sys does work nonetheless.

I prefer a edited Renesas 3.0.20 to support both cases:

txtsetup.sif

[WinntDirectories]
300 = OemDir\disk01

[SourceDisksFiles]
rusb3xhc.inf = 1,,,,,,,300,0,0
;rusb3xhc.cat = 1,,,,,,,300,0,0
rusb3xhc.sys = 1,,,,,,,300,0,0
rusb3xhc.sys = 1,,,,,,,4,0,0
rusb3co.dll = 1,,,,,,,300,0,0
rusb3hub.inf = 1,,,,,,,300,0,0
;rusb3hub.cat = 1,,,,,,,300,0,0
rusb3hub.sys = 1,,,,,,,300,0,0
rusb3hub.sys = 1,,,,,,,4,0,0

[HardwareIdsDatabase]
PCI\VEN_1033&DEV_0194 = "rusb3xhc"
PCI\VEN_1912&DEV_0014 = "rusb3xhc"
PCI\VEN_1912&DEV_0015 = "rusb3xhc"
RENESAS_USB3\ROOT_HUB30 ="rusb3hub"
RENESAS_USB3\CLASS_09 ="rusb3hub"

[BootBusExtenders.Load]
rusb3hub = rusb3hub.sys
rusb3xhc = rusb3xhc.sys

[BootBusExtenders]
rusb3xhc = "Renesas Electronics USB 3.0 Host Controller",files.none,rusb3xhc
rusb3hub = "Renesas Electronics USB 3.0 Root Hub",files.none,rusb3hub

hivesft.inf

HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion","DevicePath",0x00020002,"%SystemRoot%\Inf;%SystemRoot%\OemDir\disk01"

rusb3xhc.inf

[RENESAS]
%PCI\VEN_1912&DEV_0014&REV_01.DeviceDesc% = RUSB3XHC, PCI\VEN_1033&DEV_0194

rusb3hub.inf

[RENESAS]
%RENESAS_USB3\ROOT_HUB30&VID_1912&PID_0014.DeviceDesc% = RUSB3HUB, RENESAS_USB3\ROOT_HUB30

winnt.sif

[Unattended]
DriverSigningPolicy=Ignore
NonDriverSigningPolicy=Ignore

And Renesas 2.1.28:

txtsetup.sif

[WinntDirectories]
300 = OemDir\disk01

[SourceDisksFiles]
nusb3xhc.inf = 1,,,,,,,300,0,0
nusb3xhc.cat = 1,,,,,,,300,0,0
nusb3xhc.sys = 1,,,,,,,300,0,0
nusb3xhc.sys = 1,,,,,,,4,0,0
nusb3co.dll = 1,,,,,,,300,0,0
nusb3hub.inf = 1,,,,,,,300,0,0
nusb3hub.cat = 1,,,,,,,300,0,0
nusb3hub.sys = 1,,,,,,,300,0,0
nusb3hub.sys = 1,,,,,,,4,0,0

[HardwareIdsDatabase]
PCI\VEN_1033&DEV_0194 = "nusb3xhc"
NUSB3\ROOT_HUB30 ="nusb3hub"
NUSB3\CLASS_09\CLASS_09 ="nusb3hub"

[BootBusExtenders.Load]
nusb3hub = nusb3hub.sys
nusb3xhc = nusb3xhc.sys

[BootBusExtenders]
nusb3xhc = "Renesas Electronics USB 3.0 Host Controller",files.none,nusb3xhc
nusb3hub = "Renesas Electronics USB 3.0 Root Hub",files.none,nusb3hub

hivesft.inf

HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion","DevicePath",0x00020002,"%SystemRoot%\Inf;%SystemRoot%\OemDir\disk01"

Link to comment
Share on other sites

OK, hers my new TXTSETUP.OEM

[Disks]

disk1="RENESAS USB3 Installation Disk",\nusb3xhc.inf,\

disk2="RENESAS USB3 HUB Installation Disk",\nusb3hub.inf,\

[Defaults]

SCSI=nusb3xhcx86

[sCSI]

nusb3xhcx86="Renesas USB3 Driver x86"

nusb3hubx86="Renesas USB3 HUB Driver x86"

[Files.SCSI.nusb3xhcx86]

driver=disk1,nusb3xhc.sys,nusb3xhc

inf=disk1,nusb3xhc.inf

catalog=disk1,nusb3xhc.cat

[Files.SCSI.nusb3xhcx64]

driver=disk1,nusb3xhc.sys,nusb3xhc

inf=disk1,nusb3xhc.inf

catalog=disk1,nusb3xhc.cat

[Files.SCSI.nusb3hubx86]

driver=disk1,nusb3hub.sys,nusb3hub3

inf=disk1,nusb3hub.inf

catalog=disk1,nusb3hub.cat

[Files.SCSI.nusb3hubx64]

driver=disk1,nusb3hub.sys,nusb3hub3

inf=disk1,nusb3hub.inf

catalog=disk1,nusb3hub.cat

[HardwareIds.USB.nusb3xhcx86]

id="PCI\VEN_1033&DEV_0194&REV_03","Renesas Electronics USB 3.0 Host Controller"

id="PCI\VEN_1033&DEV_0194&REV_04","Renesas Electronics USB 3.0 Host Controller"

[HardwareIds.USB.nusb3xhcx64]

id="PCI\VEN_1033&DEV_0194&REV_03","Renesas Electronics USB 3.0 Host Controller"

id="PCI\VEN_1033&DEV_0194&REV_04","Renesas Electronics USB 3.0 Host Controller"

[HardwareIds.USB.nusb3hubx86]

id="NUSB3\ROOT_HUB30","Renesas Electronics USB 3.0 Root Hub"

id="NUSB3\CLASS_09&SUBCLASS_00&PROT_00","Renesas Electronics USB Hub"

id="NUSB3\CLASS_09&SUBCLASS_00&PROT_01","Renesas Electronics USB 2.0 Hub"

id="NUSB3\CLASS_09&SUBCLASS_00&PROT_02","Renesas Electronics USB 2.0 Hub"

id="NUSB3\CLASS_09&SUBCLASS_00&PROT_03","Renesas Electronics USB 3.0 Hub"

[HardwareIds.USB.nusb3hubx64]

id="NUSB3\ROOT_HUB30.DeviceDesc","Renesas Electronics USB 3.0 Root Hub"

id="NUSB3\CLASS_09&SUBCLASS_00&PROT_00","Renesas Electronics USB Hub"

id="NUSB3\CLASS_09&SUBCLASS_00&PROT_01","Renesas Electronics USB 2.0 Hub"

id="NUSB3\CLASS_09&SUBCLASS_00&PROT_02","Renesas Electronics USB 2.0 Hub"

id="NUSB3\CLASS_09&SUBCLASS_00&PROT_03","Renesas Electronics USB 3.0 Hub"

[Config.nusb3xhc]

value = Interrupt Management\MessageSignaledInterruptProperties,MSISupported,1,0x00010001,1

value = "", ErrorControl, REG_DWORD, 1

value = "", Group, REG_SZ, "Base"

value = "", Start, REG_DWORD, 3

value = "", Type, REG_DWORD, 1

[Config.nusb3hub]

value = "EventMessageFile",0x00020000,"%11%\iologmsg.dll;%12%\nusb3hub.sys"

value = "TypesSupported",0x00010001,7

value = "", ErrorControl, REG_DWORD, 1

value = "", Group, REG_SZ, "Base"

value = "", Start, REG_DWORD, 3

value = "", Type, REG_DWORD, 1

Any problems with it?

It's made these changes to TXTSETUP.SIF

[sourceDisksFiles.x86]

nusb3co.dll = 1984,,,,,,,1984,0,0

nusb3co.dll = 1985,,,,,,,1985,0,0

nusb3hub.cat = 1984,,,,,,,1984,0,0

nusb3hub.cat = 1985,,,,,,,1985,0,0

nusb3hub.inf = 1984,,,,,,,1984,0,0

nusb3hub.inf = 1985,,,,,,,1985,0,0

nusb3hub.sys = 1,,,,,,4_,4,1,,,1,4

nusb3hub.sys = 1984,,,,,,,1984,0,0

nusb3hub.sys = 1985,,,,,,,1985,0,0

nusb3xhc.cat = 1984,,,,,,,1984,0,0

nusb3xhc.cat = 1985,,,,,,,1985,0,0

nusb3xhc.inf = 1984,,,,,,,1984,0,0

nusb3xhc.inf = 1985,,,,,,,1985,0,0

nusb3xhc.sys = 1,,,,,,4_,4,1,,,1,4

nusb3xhc.sys = 1984,,,,,,,1984,0,0

nusb3xhc.sys = 1985,,,,,,,1985,0,0

[sCSI.Load]

nusb3hub3 = nusb3hub.sys,4

nusb3xhc = nusb3xhc.sys,4

[fileflags]

nusb3hub.sys = 16

nusb3xhc.sys = 16

[sCSI]

nusb3hub3 = "Renesas USB3 HUB Driver x86"

nusb3xhc = "Renesas USB3 Driver x86"

Link to comment
Share on other sites

OK, hers my new TXTSETUP.OEM

Any problems with it?

Should work.

I doub't [Config] sections are required. x86 and x64 parts are mixed still.

It's
What's it?

Suggestion was to edit txtsetup.sif manually

made these changes to TXTSETUP.SIF

[sourceDisksFiles.x86]

nusb3xhc.sys = 1,,,,,,4_,4,1,,,1,4

nusb3xhc.sys = 1984,,,,,,,1984,0,0

nusb3xhc.sys = 1985,,,,,,,1985,0,0

Again: do you like to install Windows XP 32 bit?

Do you like to install Windows XP 64 bit?

Verify the file properties: does file \i386\nusb3xhc.sys matches the x86 version?

Try the result at real hardware.

Link to comment
Share on other sites

In any case choose EITHER of x86 and x64 to simplify the procedure.

.... x86 and x64 parts are mixed still.

....

Again: do you like to install Windows XP 32 bit?

Do you like to install Windows XP 64 bit?

I think that there's a problem with x86 and x64 files. You should choose only one version to avoid complications.

I would say that - surprisingly :unsure: - there is unanimous or at least 3/3 consensus on this part ;):whistle:

jaclaz

Link to comment
Share on other sites

So I attemped to follow your instructions and edited TXTSETUP.SIF

[WinntDirectories]
300 = USB3\Renesas

[SourceDisksFiles]
nusb3xhc.inf = 1,,,,,,,300,0,0
nusb3xhc.cat = 1,,,,,,,300,0,0
nusb3xhc.sys = 1,,,,,,,300,0,0
nusb3xhc.sys = 1,,,,,,,4,0,0
nusb3co.dll = 1,,,,,,,300,0,0
nusb3hub.inf = 1,,,,,,,300,0,0
nusb3hub.cat = 1,,,,,,,300,0,0
nusb3hub.sys = 1,,,,,,,300,0,0
nusb3hub.sys = 1,,,,,,,4,0,0

[HardwareIdsDatabase]
PCI\VEN_1033&DEV_0194 = "nusb3xhc"
NUSB3\ROOT_HUB30 ="nusb3hub"
NUSB3\CLASS_09\CLASS_09 ="nusb3hub"

[BootBusExtenders.Load]
nusb3hub = nusb3hub.sys
nusb3xhc = nusb3xhc.sys

[BootBusExtenders]
nusb3xhc = "Renesas Electronics USB 3.0 Host Controller",files.none,nusb3xhc
nusb3hub = "Renesas Electronics USB 3.0 Root Hub",files.none,nusb3hub

as well as hivesft.inf

HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion","DevicePath",0x00020002,"%SystemRoot%\Inf;%SystemRoot%\USB3\Renesas"

I created USB3\Renesas Directories

but it says it cannot find nusb3hub.sys

Link to comment
Share on other sites

I created USB3\Renesas Directories

but it says it cannot find nusb3hub.sys

A 32 bit windows XP setup search files at directory \I386\

Create a new installation temp space at hard disk. Copy files XP files to this directory.

Edit files and copy Renesas files to \I386\

Next build the USB stick again.

Link to comment
Share on other sites

OK, I used nlite to inject the USB3 Drivers, and then I edited TXTSETUP.SIF adding these manually



[BootBusExtenders.Load]
nusb3hub = nusb3hub.sys
nusb3xhc = nusb3xhc.sys

[BootBusExtenders]
nusb3xhc = "Renesas Electronics USB 3.0 Host Controller",files.none,nusb3xhc
nusb3hub = "Renesas Electronics USB 3.0 Root Hub",files.none,nusb3hub

Seems to be working now, it's seeing my USB

So one last question, does anyone know what to add to a TXTSETUP.OEM file so that it will add those lines to BootbusExtenders automatically?

heres my revised TXTSETUP.OEM



[Disks]
disk1="RENESAS USB3 Installation Disk",\nusb3xhc.inf,\
disk2="RENESAS USB3 HUB Installation Disk",\nusb3hub.inf,\


[Defaults]
SCSI=nusb3xhcx86


[SCSI]
nusb3xhcx86="Renesas USB3 Driver x86"

nusb3hubx86="Renesas USB3 HUB Driver x86"



[Files.SCSI.nusb3xhcx86]
driver=disk1,nusb3xhc.sys,nusb3xhc
inf=disk1,nusb3xhc.inf
catalog=disk1,nusb3xhc.cat

[Files.SCSI.nusb3hubx86]
driver=disk1,nusb3hub.sys,nusb3hub
inf=disk1,nusb3hub.inf
catalog=disk1,nusb3hub.cat



[HardwareIds.SCSI.nusb3xhcx86]
id="PCI\VEN_1033&DEV_0194&REV_03","nusb3xhc"
id="PCI\VEN_1033&DEV_0194&REV_04","nusb3xhc"



[HardwareIds.SCSI.nusb3hubx86]
id="NUSB3\ROOT_HUB30","nusb3hub"
id="NUSB3\CLASS_09&SUBCLASS_00&PROT_00","nusb3hub"
id="NUSB3\CLASS_09&SUBCLASS_00&PROT_01","nusb3hub"
id="NUSB3\CLASS_09&SUBCLASS_00&PROT_02","nusb3hub"
id="NUSB3\CLASS_09&SUBCLASS_00&PROT_03","nusb3hub"



[Config.nusb3xhc]

value = Interrupt Management\MessageSignaledInterruptProperties,MSISupported,1,0x00010001,1

value = "", ErrorControl, REG_DWORD, 1
value = "", Group, REG_SZ, "Boot Bus Extender"
value = "", Start, REG_DWORD, 0
value = "", Type, REG_DWORD, 1

[Config.nusb3hub]

value = "EventMessageFile",0x00020000,"%11%\iologmsg.dll;%12%\nusb3hub.sys"
value = "TypesSupported",0x00010001,7

value = "", ErrorControl, REG_DWORD, 1
value = "", Group, REG_SZ, "Boot Bus Extender"
value = "", Start, REG_DWORD, 0
value = "", Type, REG_DWORD, 1

just wondering what to add to it so it will add the lines to BootbusExtenders Automatically

Thanks for the help

Link to comment
Share on other sites

just wondering what to add to it so it will add the lines to BootbusExtenders Automatically

Thanks for the help

I don't think that you can add those keys "directly" through TXTSETUP.OEM, but you can most probably modify the invoked from it .inf file(s).

jaclaz

Edited by jaclaz
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...