freakboy9 Posted May 26, 2005 Share Posted May 26, 2005 Is there any legit way of getting the formatufd.exe for people that are not eligible for the OEM Preinstallation KIt (OPK)?I have my WinPE 2005/Server 2003 + SP1 build ready to go, just would love to get going with the USB boot stuff. Link to comment Share on other sites More sharing options...
freakboy9 Posted May 26, 2005 Author Share Posted May 26, 2005 I got it working with that HP format util; just had to use FAT16 (not 32 as stated with Microsoft's formatufd instructions) Link to comment Share on other sites More sharing options...
bluescreens Posted July 14, 2005 Share Posted July 14, 2005 I got it working with that HP format util; just had to use FAT16 (not 32 as stated with Microsoft's formatufd instructions)<{POST_SNAPBACK}>So what, exactly, did you do? I used HP's util to format FAT16 as you said, then put the MININT directory in place and copied 2 files over so I finally had an NTDETECT and NTLDR file in the room of the USB drive; wouldn't boot.?? Link to comment Share on other sites More sharing options...
freakboy9 Posted August 1, 2005 Author Share Posted August 1, 2005 So what, exactly, did you do? I used HP's util to format FAT16 as you said, then put the MININT directory in place and copied 2 files over so I finally had an NTDETECT and NTLDR file in the room of the USB drive; wouldn't boot.Format it FAT16 'plain' .. no MS startup, etc.Then I made a batch file to help automate the process:xcopy WINPEBUILD\i386\*.* USB\minint /sxcopy WINPEBUILD\i386\ntdetect.com USB\xcopy USB\minint\setupldr.bin USB\ntldrIt will prompt for it to be either a file or directory -> choose file.---------------------------------------------------------------@echo offecho Assuming USB = drive Eecho ----------------------pauseecho.echo.md e:\Minintmd e:\Sfwxcopy "c:\winpe\winpe_build\i386\*.*" e:\minint /sxcopy "c:\winpe\winpe_build\i386\ntdetect.com" e:\xcopy "c:\winpe\winpe_build\sfw\*.*" e:\Sfw /secho.echo.echo Press F here...echo.xcopy "e:\minint\setupldr.bin" "e:\ntldr"echo.echo Donepause Link to comment Share on other sites More sharing options...
Davimo Posted November 16, 2005 Share Posted November 16, 2005 Freakboy, Thanks for the info on how to boot WinPe off of a USB Key. However, I dont get any network connectivity when I boot from the USB Key. Networking is especally needed since WinPE is front ending our image deployment off a network resource.If I boot from my source WinPE2005 CD i do get network connectivity. If I use the same source WinPE CD above, format my usb key using "formatufd.exe /y f:" and run the batch file below I can boot from the usb key into WinPE however, no networking. ===md f:\Minintmd f:\Sfwxcopy "c:\winpe\winpe_build\i386\*.*" f:\minint /sxcopy "c:\winpe\winpe_build\i386\ntdetect.com" f:\xcopy "c:\winpe\winpe_build\sfw\*.*" f:\Sfw /secho Press F for file now...xcopy "f:\minint\setupldr.bin" "f:\ntldr"===Three issue remain...1. How do you enable networking? (Detect the NIC, Loading the drivers, geting DHCP addr) 2. What does the folder "SFW" called in your script do? - On my usb key it is empty.3. What about the folders on the additional WinPE source disk "Program Files" and "WinPE" ? What location do they get copied to on the usb key if at all? Do they go to "usb\Program Files" or "usb\minint\Program Files"?Any assistance appreciated. Link to comment Share on other sites More sharing options...
freakboy9 Posted November 21, 2005 Author Share Posted November 21, 2005 Ok, first I just want to say that I have modified the batch file commands that I use -> @echo offecho Assuming USB = drive Eecho ----------------------pauseecho.echo.IF EXIST E:\MiniNT rd /s /q e:\MiniNTIF EXIST E:\Sfw rd /s /q e:\SfwIF EXIST E:\ntdetect.com del e:\ntdetect.comIF EXIST E:\ntldr del e:\ntldrdir E:echo.echo.echo Copying...md e:\MiniNTmd e:\Sfwxcopy "c:\winpe\winpe_build\i386\*.*" e:\minint /sxcopy "c:\winpe\winpe_build\i386\ntdetect.com" e:\xcopy "c:\winpe\winpe_build\sfw\*.*" e:\Sfw /scopy "e:\minint\setupldr.bin" "e:\ntldr"echo.echo DonepauseThe USB device is still formatted the same way; plain plain FAT16.When you run this version, it searchs for an exisiting WinPE build and deletes it (IF EXIST lines).I do this so I don't have to keep reformatting it everytime I want to setup a new build of it.[Question #1] I startup my networking on the system by using TheTruth's NE Network Config from http://www.geocities.com/pierremounir/.I have this program stored in the \SFW\PENetCfg\ folder.[Question #2] The E:\Sfw is the directory I place all my custom software that I integrate into the WinPE UI.Any extra extra stuff that I place on the USB I put into yet another seperate folder that this batch will not remove; again, making new builds easy to deply with out loosing a ton of extra stuff. This is just me and may not apply to your build at all. [Question #3] I don't know - I don't do that at all. Doesn't seem to be required for anyting I do.-------To further explain a few details on what I do ->I have copied the entire source OS CD (in this case, Sever 2003) to C:\WinPE\Server2003CDI have copied the entire *WINPECD*\WINPE\ contents to C:\WinPE\WinPE_RootI created a C:\WinPE\WinPE_Root\Sfw\ directory to place all my custom things.I created a C:\WinPE\WinPE_Root\System32\ directory and place a few extra DLLs in thereI put everything in place and then I can create my 'build' (\WinPE_Build\) from the 'root' (\WinePE_Root\)I build the image with this ->@echo offecho Starting process...IF Exist C:\WinPE\WinPE_Build rd /s /q C:\WinPE\WinPE_BuildIF Exist C:\WinPE\WinPE_CDROM.ISO del C:\WinPE\WinPE_CDROM.ISOMKIMG.CMD C:\WinPE\Server2003CD C:\WinPE\WinPE_Build C:\WinPE\WinPE_CDROM.ISOPAUSEIt will takes my 'root' data, merge it with the Server2003 stuff it needs and dump out the 'build' to C:\WinPE\WinPE_Build. This is from the MKIMG.CMD line. I have also editied the MKIMG.CMD (under the WinPE_Root) file some to do some custom things. For example, I added the following red text into the doucment.if /i "%PLATEXT%" == "%AMD64PLATEXT%" ( if /i "%SRCDIRBINS%" == "" ( REM REM Copy the x86 boot files from the i386 folder on the CD REM copy /y "%SRCDIR%\i386\bootfix.bin" "%WINPEDESTDIR%\%PLATEXT%" copy /y "%SRCDIR%\i386\setupldr.bin" "%WINPEDESTDIR%\%PLATEXT%" copy /y "%SRCDIR%\i386\ntdetect.com" "%WINPEDESTDIR%\%PLATEXT%" ) else ( REM REM Copy the x86 boot files from the wowbins folder REM copy /y "%WINPESRCDIR%\wowbins\bootfix.bin" "%WINPEDESTDIR%\%PLATEXT%" copy /y "%WINPESRCDIR%\wowbins\setupldr.bin" "%WINPEDESTDIR%\%PLATEXT%" copy /y "%WINPESRCDIR%\wowbins\ntdetect.com" "%WINPEDESTDIR%\%PLATEXT%" ))REM **********************************************************************:: Beginecho.echo.echo ***********************echo * Adding Custom Files *echo ***********************echo.xcopy .\sfw\*.* %WINPEDESTDIR%\Sfw /s /e /v /ixcopy .\system32\*.* %WINPEDESTDIR%\%PLATEXT%\System32 /s /e /v /iecho Done adding files...echo.echo.echo add OB1.ini / ob1-blank.ini ...Copy C:\WinPE\WinPE_Root\SFW\OffByOne\OB1.ini C:\WinPE\WinPE_Build\I386\OB1.iniCopy C:\WinPE\WinPE_Root\SFW\OffByOne\OB1-Blank.ini C:\WinPE\WinPE_Build\I386\OB1-Blank.iniecho.echo # add b57xp32 driver [Gig NIC Driver, Dell 2004/05]echo b57xp32.inf b57xp32.sys # Laptop x300, D400, D800echo b57win32.inf b57w2k.sys # Desktop GX280copy C:\WinPE\WinPE_Root\SFW\Drivers\b57xp32.inf C:\WinPE\WinPE_Build\I386\inf\b57xp32.infcopy C:\WinPE\WinPE_Root\SFW\Drivers\b57win32.inf C:\WinPE\WinPE_Build\I386\inf\b57win32.infcopy C:\WinPE\WinPE_Root\SFW\Drivers\b57xp32.sys C:\WinPE\WinPE_Build\I386\system32\drivers\b57xp32.syscopy C:\WinPE\WinPE_Root\SFW\Drivers\b57w2k.sys C:\WinPE\WinPE_Build\I386\system32\drivers\b57w2k.sysecho.echo #add ramdrivecopy c:\WinPE\WinPE_Root\SFW\Drivers\ramdrv.inf C:\WINPE\WinPE_Build\I386\inf\ramdrv.infcopy c:\WinPE\WinPE_Root\SFW\Drivers\ramdrv.sys C:\WINPE\WinPE_Build\I386\system32\drivers\ramdrv.sysecho.echo del bootfix.bin...DEL C:\WinPE\WinPE_Build\I386\bootfix.bin:: Endecho.echo *********************echo * Custom Files Done *echo *********************echo.REMREM Check if we need to create a imageREMif /i "%CREATEIMG%" == "no" (goto :end)A ton of that won't be relevent, but notice mostly:xcopy .\sfw\*.* %WINPEDESTDIR%\Sfw /s /e /v /ixcopy .\system32\*.* %WINPEDESTDIR%\%PLATEXT%\System32 /s /e /v /iThat is where it movesw my custom items from SFW and system32 over to my build folder.Once that process is done, I can run the previously mentioned USB from Build batch file as shown at topoc of this message.I can further explain things or give you help, a lot of this is me-speific and may not apply. Link to comment Share on other sites More sharing options...
Jotnar Posted October 12, 2006 Share Posted October 12, 2006 If you go to the Microsoft Connect site, you can sign up for the XP Embedded Feature Pack 2007 CTP which includes ufdprep.exe, an updated version of formatufd.exe that allows you to format the USB stick with NTFS among other things. You have to extract the file from "Windows XP Embedded Tools FP2007 Update.msp" or you can just install the update if you have XP Embedded. I used Total Commander with the msi plugin to extract the file. Cheers Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now