MSFN Forum: How to install Windows from USB- WinSetupFromUSB with GUI - MSFN Forum

Jump to content


  • 100 Pages +
  • « First
  • 41
  • 42
  • 43
  • 44
  • 45
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

How to install Windows from USB- WinSetupFromUSB with GUI Lets make it easy

#841 User is offline   ilko_t 

  • MSFN Addict
  • Group: Super Moderator
  • Posts: 1,605
  • Joined: 06-December 06
  • OS:none specified
  • Country: Country Flag

Posted 30 January 2010 - 09:36 PM

@cdob

I was thinking what triggers USB drives to be mounted when doing msdosinitiated=1 installs. I guess on the nice machine in question ~BT/~LS install will go through.

Attached is comparison between such install and small ISO install with no USB settings changes right after text mode. I've already tried replicating some of the settings from msdosinitiated=1 install, doing them before entering GUI mode, but went nowhere. There must be something which triggers setup device to be mounted.
Might be worth thinking a bit in this direction?

Attached File(s)




#842 User is offline   jaclaz 

  • The Finder
  • Group: Developers
  • Posts: 11,457
  • Joined: 23-July 04
  • OS:none specified
  • Country: Country Flag

Posted 31 January 2010 - 03:47 AM

View PostSolivagus, on Jan 31 2010, 01:44 AM, said:

That makes BartPE work fine but DOS still doesn't see anything, is there any way to use the sata drivers in the windows xp/windows 7 sources to load for the DOS/BartPE so I don't have to fiddle with BIOS?

Yes, you have to add the SATA drivers to the PE build.
Depending if you are creating a "universal" PE or a specific one for that machine, you may want to choose between adding only a specific driver, or using the driverpacks, or use UNIATA:
http://www.msfn.org/...opic=141451&hl=

View PostSolivagus, on Jan 31 2010, 01:44 AM, said:

I don't need NTFS read/write to be honest but if anyone could quickly show me the menu.lst entries required to achieve this then my super usb will be complete. or any extra files that I may need to find

There is nothing to change in menu.lst.
It's inside your DOS .img that you need to add a NTFS driver.

You have two options for R/W and another two for Read only:
NTFS4DOS from Avira and NTFS4DOS IFS from Paragon:
http://www.boot-land...?showtopic=8479
http://www.boot-land.net/forums/index.php?...c=10292&hl=
http://www.boot-land...?showtopic=6865

jaclaz

#843 User is offline   Rotbard 

  • Group: Members
  • Posts: 9
  • Joined: 18-January 10

Posted 01 February 2010 - 12:18 PM

View Postcdob, on Jan 29 2010, 11:05 PM, said:

I like this machine, destroyed five years of USB knowledge.
So far CriticalDeviceDatabase settings, drivers settings and driver files did work.

I tested another PC with different Hardware and same result. On this PC i'm 100% sure it worked with the 0.2.3 stable version of Winsetupfromusb and the same usb-stick. By the way, the Image i use is a nLite one (sorry i didn't told earlier, i simply forgotten it).
There is a hotfix package and a driverpack added to the image. See the "last session.ini" Attached File  Letzte_Session.7z (6.01K)
Number of downloads: 3
Since this image was working on the 0.2.3 version i hope its not part of the problem :unsure:
Just to ensure its realy not the nlite image, i will create a new one tomorrow without any extra packages.

Quote

Time to invent a new approach: early PNP

I don't find the dsigning.exe in the post. :( in which package is it hidden, pls? Sorry! ;)

I tested the batch without the dsinging.exe but i only get
Device node created. Install is complete drivers are updated...
Updating drivers for PCI/CC_0C0320 from C:\Windows\inf\usbport.inf.
devcon failed.

USB\ROOT_HUB\4&1C5B443C&0
...

And some more of this messages.

#844 User is offline   cdob 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 876
  • Joined: 29-September 05

Posted 01 February 2010 - 12:59 PM

View Postilko_t, on Jan 30 2010, 10:36 PM, said:

There must be something which triggers setup device to be mounted.

Good idea. However I don't have a answer currently, I'll keep this in memory. Maybe there is a answer in future.

View PostRotbard, on Feb 1 2010, 01:18 PM, said:

Just to ensure its realy not the nlite image, i will create a new one tomorrow without any extra packages.
Try remove the chipset driverpack.

Quote

I don't find the dsigning.exe in the post. :( in which package is it hidden, pls? Sorry! ;)
Topic 137714 XP_INST_v04.7z.

Attached again: driversigning.c and dsigning.exe.

Quote

devcon failed.
PNP failed, most likely because of signing failed.

Attached File(s)



#845 User is offline   jaclaz 

  • The Finder
  • Group: Developers
  • Posts: 11,457
  • Joined: 23-July 04
  • OS:none specified
  • Country: Country Flag

Posted 02 February 2010 - 07:47 AM

View Postcdob, on Feb 1 2010, 07:59 PM, said:

Topic 137714 XP_INST_v04.7z.

Link:
http://www.msfn.org/...howtopic=137714

jaclaz

#846 User is offline   Rotbard 

  • Group: Members
  • Posts: 9
  • Joined: 18-January 10

Posted 02 February 2010 - 07:48 AM

View Postcdob, on Feb 1 2010, 07:59 PM, said:

Topic 137714 XP_INST_v04.7z.

Hmpf, i downloaded this package, but was unable to look into the img file. Sorry and thanks :)

I retested the old image and run the usb_pnp.cmd right after 1. reboot. (deactivated the second one in the setup.cmd) The skript says "successfull installed" on every step. No "devcon failed" messages anymore! But in the end, the driveletter was still missing.
I didn't find it with showdrive, mnt.exe, mountvol.exe or diskpart.
BUT after a reboot the driverletter appeared as U: !

I decided to change the setup.cmd once more.
Here is the "beginning" of the used setup.cmd:

 
@echo off
setlocal EnableExtensions EnableDelayedExpansion

if not exist reg.exe (
echo reg.exe not found 
echo reg.exe not found >> %SystemRoot%\winsetup.log
)

if not exist findstr.exe (
echo findstr.exe not found 
echo findstr.exe not found >> %SystemRoot%\winsetup.log
)

if not exist mountvol.exe (
echo mountvol.exe not found 
echo mountvol.exe not found >> %SystemRoot%\winsetup.log
) else (
echo mountvol.exe output: >> %SystemRoot%\winsetup.log
mountvol.exe >> %SystemRoot%\winsetup.log
)

rem XPpSP3 string is dynamically changed by WinSetupFromUSB when prepariung source
set TAGFILE=\WINSETUP\XPpSP3

rem Load PNP
if not exist loadpnp.1 (
call usb_pnp.cmd
echo PNP Loaded > loadpnp.1
)

if exist mountvol.exe (
for /f "tokens=1 delims=: " %%? in ('mountvol.exe ^|find ":\"') do (
  dir %%?:%TAGFILE% > nul 2>&1 && set CDDRIVE=%%?:
if defined CDDRIVE goto :CDDRIVE_found
)
) else (
FOR %%h IN (U V W X C D E F G H I J K L M N O P Q R S T Y) DO (
IF EXIST "%%h:%TAGFILE%" (
SET CDDRIVE=%%h:
goto :CDDRIVE_found
)
)
)

echo no %TAGFILE% drive found
echo no %TAGFILE% drive found >> %SystemRoot%\winsetup.log
... 

The rest of the setup.cmd is original.

The content of the usb_pnp.cmd is:
 
@echo off
setlocal EnableExtensions EnableDelayedExpansion

:USB_PNP.cmd
:: Batch to load USB devices - XP 32bit
:: by cdob  v0.01

set Seed=%random%%random%%random%
set Seed=0x%Seed:~,8%

reg.exe add "HKLM\SYSTEM\WPA\Pnp" /f /t REG_DWORD /v "Seed" /d %Seed%
reg.exe query "HKLM\SYSTEM\WPA\Pnp"
set Control=HKLM\SYSTEM\CurrentControlSet\Control
reg.exe add "%Control%\Session Manager\WPA\Pnp" /f /t REG_DWORD /v "Seed" /d %Seed%

reg.ee add "HKLM\SOFTWARE\Microsoft\Driver Signing" /f /t REG_BINARY /v "Policy" /d 00000000
reg.exe add "HKLM\SOFTWARE\Microsoft\Non-Driver Signing" /f /t REG_BINARY /v "Policy" /d 00
reg.exe add "HKLM\Software\Policies\Microsoft\Windows NT\Driver Signing" /f /t REG_DWORD /v "BehaviorOnFailedVerify" /d 0x0

rem set driver signing policy
dsigning.exe

:: reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup" /f /t REG_DWORD /v "LogLevel" /d 0xFFFFffff

rem PNP USB devices and attach drive letter to USB flash drive
rem no RunDll32.exe Syssetup.dll,UpdatePnpDeviceDrivers
rem devcon.exe [url="http://support.microsoft.com/kb/311272"]http://support.microsoft.com/kb/311272[/url]
echo. &echo USB controller and USB HUB
for %%a in (PCI\CC_0C0300 PCI\CC_0C0310 PCI\CC_0C0320 USB\ROOT_HUB USB\ROOT_HUB20) do ( 
devcon.exe hwids "%%a" | find.exe "%%a" && devcon.exe install %SystemRoot%\inf\usbport.inf "%%a"
)
echo. &echo USB storage device

rem no hwids defined for USB storage device
for %%a in (06 05 02 06 05 02) do (
devcon.exe install %SystemRoot%\inf\usbstor.inf "USB\Class_08&SubClass_%%a&Prot_50"
)
rem USB keyboard and mouse
devcon.exe install %SystemRoot%\inf\usb.inf "USB\COMPOSITE"
devcon.exe install %SystemRoot%\inf\input.inf "USB\Class_03"
devcon.exe install %SystemRoot%\inf\msmouse.inf "HID_DEVICE_SYSTEM_MOUSE"
devcon.exe install %SystemRoot%\inf\keyboard.inf "HID_DEVICE_SYSTEM_KEYBOARD" 

(I just deleted the last few lines)

The setup runs as normal, reboots once in gui-mode and finaly finds my usb-stick and finishes the installation! :thumbup
Thanks! You are great! :angel

-----------------------------------------------------------
And here comes the second point on my totry-list
-----------------------------------------------------------

Quote

Try remove the chipset driverpack.

I created a new image with nLite. But i added the driverpackages (Chipset, CPU, LAN, MassStorage, MassStorage-Textmode) with the DPsBASE Tool AFTER the nLite-setup.
Howto: http://users.telenet...e/Eng_tut6b.htm
With this new image, the installation works! :thumbup It's a bit slow in the driver loading part but who cares?
Sorry i made you so much work and finaly a new image was a solution. :blushing:
Btw, in the old image the driverpack was integrated with nLite. That was a stupid idea, like the howto says. Strange it worked with the 0.2.3 Setup. :wacko:
EDIT: Change the codes to codeboxes - postshrinking :D

This post has been edited by Rotbard: 02 February 2010 - 07:54 AM


#847 User is offline   jaclaz 

  • The Finder
  • Group: Developers
  • Posts: 11,457
  • Joined: 23-July 04
  • OS:none specified
  • Country: Country Flag

Posted 02 February 2010 - 07:56 AM

Happy :) to see that the problem is solved, though I would like to understand WHAT :w00t: are the differences between the "nlite integration" and the "plain integration" that do "trigger" a malfunctioning with latest version but does not with 0.2.3 :blink: .

JFYI,
Try open the .ima inside XP_INST_v04.7z (XP_INST.IMA) with 7-zip.... :whistle:

;)

jaclaz

#848 User is offline   Rotbard 

  • Group: Members
  • Posts: 9
  • Joined: 18-January 10

Posted 02 February 2010 - 09:28 AM

View Postjaclaz, on Feb 2 2010, 02:56 PM, said:

I would like to understand WHAT :w00t: are the differences between the "nlite integration" and the "plain integration" that do "trigger" a malfunctioning with latest version but does not with 0.2.3 :blink: .

I only remember, for the 0.2.3 i had a few days of trying to get it working as i want. But never with any driver problems. Far from it, when installation was complete, i nearly never had to install any additional drivers.
Biggest problem were my own "runonce" setups which were not starting after setup.
Hm.... maybe some old drivers made it into the winXP-source-setup or maybe some got deleted. In my early trys i was not very clean in recreating a fresh XP-source everytime i created a new nLite image. :blushing:

Quote

Try open the .ima inside XP_INST_v04.7z (XP_INST.IMA) with 7-zip.... :whistle:

My 7-zip (4.65 x64) is unable to open the .IMG file.
I get an error "Can't open XP_INST.IMA as archiv." Did we find a x64 bug of 7-zip? ;)
Ok that's the wrong board for this type of error :D

#849 User is offline   jaclaz 

  • The Finder
  • Group: Developers
  • Posts: 11,457
  • Joined: 23-July 04
  • OS:none specified
  • Country: Country Flag

Posted 03 February 2010 - 02:15 PM

View PostRotbard, on Feb 2 2010, 04:28 PM, said:

Quote

Try open the .ima inside XP_INST_v04.7z (XP_INST.IMA) with 7-zip.... :whistle:

My 7-zip (4.65 x64) is unable to open the .IMG file.
I get an error "Can't open XP_INST.IMA as archiv." Did we find a x64 bug of 7-zip? ;)
Ok that's the wrong board for this type of error :D


Well, I am running (32 bit) 9.07 beta, current is 9.10 beta, I guess it's time for you to ubgrade. ;)

jaclaz

#850 User is offline   fatihunaldi 

  • Group: Members
  • Posts: 1
  • Joined: 05-February 10

Posted 05 February 2010 - 03:04 AM

i want to learn what is the max size of iso file for stable running? using this pro?

#851 User is offline   jaclaz 

  • The Finder
  • Group: Developers
  • Posts: 11,457
  • Joined: 23-July 04
  • OS:none specified
  • Country: Country Flag

Posted 05 February 2010 - 08:26 AM

Split a post about installing Windows 2000 to a new thread:
http://www.msfn.org/...howtopic=141678

@fatihunaldi
I don't understand your question, can you try to explain it more? :unsure:

There is no particualr problem with .iso size that I know of.

jaclaz

#852 User is offline   ilko_t 

  • MSFN Addict
  • Group: Super Moderator
  • Posts: 1,605
  • Joined: 06-December 06
  • OS:none specified
  • Country: Country Flag

Posted 07 February 2010 - 10:59 PM

Split the posts about virus in XP_INST_v04.7z in a new thread:
http://www.msfn.org/...howtopic=141734

#853 User is offline   ilko_t 

  • MSFN Addict
  • Group: Super Moderator
  • Posts: 1,605
  • Joined: 06-December 06
  • OS:none specified
  • Country: Country Flag

Posted 25 February 2010 - 12:15 PM

Version 1.0 beta5 released, please refer to the first post for list of changes and download links.

#854 User is offline   baritone 

  • Newbie
  • Group: Members
  • Posts: 35
  • Joined: 02-December 04

Posted 25 February 2010 - 11:26 PM

when i use the program to add my win7 or vista. when i boot from usb into the installer it will ask for drivers to see hard drive but if i use the dvd it works fine. theres no extra drivers on the dvd. what can i do.

#855 User is offline   dmtelf 

  • Group: Members
  • Posts: 1
  • Joined: 01-March 10
  • OS:none specified
  • Country: Country Flag

  Posted 01 March 2010 - 05:41 PM

Thank you for this excellent tool!

I have managed to make a colossal mistake as I idiotically had the wrong drive selected (an external 320Gb NTFS 1 partition Toshiba HD) instead of a Cruzer 4Gb USB stick when I used BOOTICE to do a repartition + format to USB-HDD mode. :o :realmad:

About 5 seconds after I started the format, I realised to my horror what I had done and frantically pulled out the USB HD cable while the program was running.

I only have myself to blame to for this error. Most unfortunately, this drive has many many gigabytes of irreplacable non-backed up personal stuff on it.

Now as a result of my cockup, the drive does not have any recognisable partitions - Windows now won't find or recognise any partitions on it, nor will 2 commercial recovery tools I've tried, Acronis RecoveryExpert Deluxe & Active Undelete. If I try to go into it via Explorer, it thinks the drive is not formatted.

Before I go have a nervous breakdown when it fully sinks in just how much data there was on that one drive, I thought I'd ask here in the forlorn hope that someone out there might have some words of advice, even if its confirmation there's definitely nothing I can do now..?

Thanks.

DMTelf

This post has been edited by dmtelf: 01 March 2010 - 06:14 PM


#856 User is offline   wrenashe 

  • Group: Members
  • Posts: 1
  • Joined: 02-March 10
  • OS:none specified
  • Country: Country Flag

Posted 02 March 2010 - 01:52 AM

Good job, dude~~~~

#857 User is offline   jaclaz 

  • The Finder
  • Group: Developers
  • Posts: 11,457
  • Joined: 23-July 04
  • OS:none specified
  • Country: Country Flag

Posted 02 March 2010 - 02:35 AM

View Postdmtelf, on 01 March 2010 - 05:41 PM, said:

Before I go have a nervous breakdown when it fully sinks in just how much data there was on that one drive, I thought I'd ask here in the forlorn hope that someone out there might have some words of advice, even if its confirmation there's definitely nothing I can do now..?


Before I have a nervous break down ;), let's assume that you didn't post here and opened an "assistance ticket" here:
http://www.boot-land...topic=10571&hl=

where you will hopefully be helped.

jaclaz

#858 User is offline   daddy_fizz 

  • Newbie
  • Group: Members
  • Posts: 13
  • Joined: 31-August 09

Posted 02 March 2010 - 02:10 PM

http://www.msfn.org/...post__p__835393

Quote

Have been playing with WinSetupFromUSB for a while worked ok so far, even on laptop.
But hit a snag today with Dell Optiplex 755 (ICH9)
with all drivers integrated (same install for on Dell E6400,also intel chipset)
I got a bSOD 0x7B only when boot from USB (when 32 bit setup starts)
booting the same image from CD is OK.

It seems setup considers USB drive a boot device but can't find a 32 bit driver for it?

Edit: Also tested on external USB hard drive - same result.


Any other ideas on this one? I have switched out the ntdetect.com for the modified one, and also used the mass storage driver pack. I have a Dell E6400 that hangs after "setup is starting windows" on a black screen. When I tried it on some othe rmachines (Optiplex 620, 745) it would get error 7B now with those changes all other machines work ok ECXEPT the E6400. I assume its BSOD 7B? But it just hangs at a black screen after "setup is starting windows" during txt setup.

Thanks for your help

~Fizz

//edit: Also tried hard drive in ATA, AHCI, IRRT modes...

This post has been edited by daddy_fizz: 02 March 2010 - 02:46 PM


#859 User is offline   jaclaz 

  • The Finder
  • Group: Developers
  • Posts: 11,457
  • Joined: 23-July 04
  • OS:none specified
  • Country: Country Flag

Posted 02 March 2010 - 04:21 PM

View Postdaddy_fizz, on 02 March 2010 - 02:10 PM, said:

Any other ideas on this one? I have switched out the ntdetect.com for the modified one, and also used the mass storage driver pack. I have a Dell E6400 that hangs after "setup is starting windows" on a black screen. When I tried it on some othe rmachines (Optiplex 620, 745) it would get error 7B now with those changes all other machines work ok ECXEPT the E6400. I assume its BSOD 7B? But it just hangs at a black screen after "setup is starting windows" during txt setup.

The general idea of a BLUE Screen of Death is that it should be blue. ;)

And, if it is a 0x0000007b it will have 0x0000007b displayed in white on it.

So, no, if it is a black hanging screen it is a BHS :w00t: (Black Hanging Screen) and is not a BSOD. :whistle:

It reminds me more of a timing problem of some kind or a problem/conflict with loading a driver than anything else, maybe you should try on that machine to make a USB stick WITHOUT the whole mass of the driverpacks, adding only, if needed, the single mass storage driver that machine needs.

It is also possible that that stoopid machine, being a DELL :ph34r: has one of those pesky BIOSes that have appeared lately to e incomaptibloe with a good half of "advanced" booting programs/techniques, there are a lot of reports lately of grub4dos freezing on DELL machines, though if you get up to "setup is starting windows" it shouldn't be the problem.

Another semi-random attempt may be that of using PLoP as an intermediate bootloader, reloading from it the USB device:
http://www.plop.at/en/bootmanager.html

Do BOTH 0.2.3 and Beta 1.0.x behave the same? :unsure:

The two versions use a different approach....

jaclaz

#860 User is offline   daddy_fizz 

  • Newbie
  • Group: Members
  • Posts: 13
  • Joined: 31-August 09

Posted 03 March 2010 - 04:17 PM

View Postjaclaz, on 02 March 2010 - 04:21 PM, said:

View Postdaddy_fizz, on 02 March 2010 - 02:10 PM, said:

Any other ideas on this one? I have switched out the ntdetect.com for the modified one, and also used the mass storage driver pack. I have a Dell E6400 that hangs after "setup is starting windows" on a black screen. When I tried it on some othe rmachines (Optiplex 620, 745) it would get error 7B now with those changes all other machines work ok ECXEPT the E6400. I assume its BSOD 7B? But it just hangs at a black screen after "setup is starting windows" during txt setup.

The general idea of a BLUE Screen of Death is that it should be blue. ;)

And, if it is a 0x0000007b it will have 0x0000007b displayed in white on it.

So, no, if it is a black hanging screen it is a BHS :w00t: (Black Hanging Screen) and is not a BSOD. :whistle:

It reminds me more of a timing problem of some kind or a problem/conflict with loading a driver than anything else, maybe you should try on that machine to make a USB stick WITHOUT the whole mass of the driverpacks, adding only, if needed, the single mass storage driver that machine needs.

It is also possible that that stoopid machine, being a DELL :ph34r: has one of those pesky BIOSes that have appeared lately to e incomaptibloe with a good half of "advanced" booting programs/techniques, there are a lot of reports lately of grub4dos freezing on DELL machines, though if you get up to "setup is starting windows" it shouldn't be the problem.

Another semi-random attempt may be that of using PLoP as an intermediate bootloader, reloading from it the USB device:
http://www.plop.at/en/bootmanager.html

Do BOTH 0.2.3 and Beta 1.0.x behave the same? :unsure:

The two versions use a different approach....

jaclaz


Jaclaz-

Thanks for the help, I will try out some of your suggestions. I have only tried with 1.0b4 and b5 but not 0.2.3. I tried using Plop to boot from USB, but it seems to hang loading up Grub4dos (CMain loading...???). I will also try with just the E6400 driver and not the driverpack...

Thanks for your help

Fizz

Share this topic:


  • 100 Pages +
  • « First
  • 41
  • 42
  • 43
  • 44
  • 45
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

102 User(s) are reading this topic
0 members, 102 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy