Jump to content

How to install Windows from USB- WinSetupFromUSB with GUI


Recommended Posts

...hmm this isnt a good solution anyway since i want w7 as clean as possible

Stock Windows recognizes only first partition on multipartitioned USB removable disk.

So you are stuck to the following options as far as I am aware:

1) Use single partition on USb sticks seen as removable disks

2) Use multiple partitions and flip in advance which one is recognized and used by Windows per need. BootIce allows that (Parts manage-->ReFormat USB disk-->Set Accessible), Wimb's USB_Part_Flip also can do it.

3) Flip permanently the removable bit in the controller on the USB stick so it's recognized as fixed disk. This is done using a program from manufacturer of the USB stick. Here is a good starting point.

4) Integrate or start by other means a filter driver (dummydisk, cfadisk, diskmod) in the Windows being installed, so it recognizes the USB stick as fixed(basic) disk and mounts and uses all partitions on it.

Link to comment
Share on other sites


How to reinstall the boot sectors for the menu in my USB disk drive used for multipurpose? Something happened and now while booting from the USB HDD I don't see any menu but the Win7 installation immediately starts. Before this (I didn't changed anything to the disk so I suppose some antivirus automatically removed something from the important booting files) there was a menu letting me choose between Win7 and multiple versions of XP in a submenu. There were also options to boot Ubuntu or Hiren's Boot CD.

I\ve attached a picture with the current files. It is possible that hidden files are not shown. :D

Not all folders are displayed but I don't think they play a role in this issue.

Problem solved using BootIce to restore grub4dos MBR sectors thanks to ilko_t ( thank you :) ) The menu is restored with all the previous options.

post-350921-0-81994100-1339415985_thumb.

Edited by momchilandonov
Link to comment
Share on other sites

i integrated diskmod 0.0.2.2 with winkit but no luck :(

also tried with dummydisk to copy dummy.sys in sys32 folder and dummy.reg to execute, all with winkit

cfadisk doesnt work too

hmm this isnt a good solution anyway since i want w7 as clean as possible

Well, with all due respect :), then you did something wrong :ph34r: , as those drivers have been integrated (and work) for lots of people :thumbup .

You might want to start a new thread (so that we don't clutter this one) reporting HOW EXACTLY you attempted the integration of the various drivers, and hopefully someone will be able to help you.

(same goes if you want to do the "right thing" ;) and flip the stupid bit - and you need some assistance)

jaclaz

Edited by jaclaz
Link to comment
Share on other sites

How to reinstall the boot sectors for the menu in my USB disk drive used for multipurpose? Something happened and now while booting from the USB HDD I don't see any menu but the Win7 installation immediately starts. Before this (I didn't changed anything to the disk so I suppose some antivirus automatically removed something from the important booting files) there was a menu letting me choose between Win7 and multiple versions of XP in a submenu. There were also options to boot Ubuntu or Hiren's Boot CD.

I\ve attached a picture with the current files. It is possible that hidden files are not shown. :D

Not all folders are displayed but I don't think they play a role in this issue.

What version of the program did you use to prepare the USB disk?

If beta8, did you use the option "auto format"?

If it was not beta8, or if beta8 auto-format was not used, then you have to restore grub4dos MBR.

You may use BootIce and process MBR option, then select grub4dos MBR.

If it was beta8 and auto-format option then in program directory\files\tools run in command prompt:

fbinst --list

make note of disk number of the USB disk then replacing X with HD number run;

fbinst (hdX) restore

Link to comment
Share on other sites

Hello and sorry for the delay, I was away on vacation. Yes the second script also worked without errors.

This is interesting, haven't had any similar reports yet.

Will prepare a test version for you with some mode debug information in a few days, please keep an eye on this topic for updates.

By the way- what is full computer/host name as result from the command "hostname" in command prompt?

Link to comment
Share on other sites

When I'm using the DPMS auto detect feature I'm getting a popup with IaStor.sys not found message during hardware detection in graphical mode. It seems that the DPMS ISO is not mounted anymore.

Also there is no option to include a floppy image....

Any ideas?

Edited by dadaniel
Link to comment
Share on other sites

When I'm using the DPMS auto detect feature I'm getting a popup with IaStor.sys not found message during hardware detection in graphical mode

Does setup continue despite this error?

Is iastor.sys present in \system32\drivers when this error comes up? Shift+F10 when it shows up and cd/dir to the drivers folder to find out.

Is this a modified Windows source? Any mass storage drivers included in it?

It seems that the DPMS ISO is not mounted anymore.
It's not supposed to be.
Also there is no option to include a floppy image...
Can you elaborate? Where is no option, in boot menu? Did you use the option in the program?
Link to comment
Share on other sites

When I type hostname into the command prompt it is just "WingZero". The machine is a work machine bound to a domain though, not sure if that helps at all.

Attached is a test version, please place it next to the original file from 1.0 beta8 and run it.

Post back the log file produced in program directory, winsetupfromusb.log.

WinSetupFromUSB_1-0-beta8_testWMI.7z

Link to comment
Share on other sites

Hello, attached is the log, I did not get the error with this version but it also did not work, when I try to use any of the formatting tools nothing appears and it goes to the 5 second wait before rescanning devices (as if the utility was just closed). I am most certainly stumped still.

Had to rename it to txt to upload it... there we go.

WinSetupFromUSB.txt

Edited by wingzeroismine
Link to comment
Share on other sites

Attached is a test version, please place it next to the original file from 1.0 beta8 and run it.

Post back the log file produced in program directory, winsetupfromusb.log.

Hey ilko_t,

Do you remember #1687? I've just tried your new test version and it seems to run in Windows 2000.

2012/06/16 05:27:07- WinSetupFromUSB 1.0 beta8 started
2012/06/16 05:27:07- OS: WIN_2000 Architecture type: X86 ServicePack: Service Pack 4 OS Language: 0409
2012/06/16 05:27:07- Program directory: D:\Dropbox
2012/06/16 05:27:07- Getting USB drives information
2012/06/16 05:27:07- Show all drives option is NOT selected, displaying USB drives only
2012/06/16 05:27:07- ERROR!!!- Intercepted a COM Error !
2012/06/16 05:27:07- err.description :
2012/06/16 05:27:07- err.windescription:
2012/06/16 05:27:07- err.number : 80041017
2012/06/16 05:27:07- err.lastdllerror 0
2012/06/16 05:27:07- err.scriptline -1
2012/06/16 05:27:08- err.source
2012/06/16 05:27:08- err.helpfile
2012/06/16 05:27:08- err.helpcontext
2012/06/16 05:27:08- ERROR!!!- Intercepted a COM Error !
2012/06/16 05:27:08- err.description :
2012/06/16 05:27:08- err.windescription:
2012/06/16 05:27:08- err.number : 80041017
2012/06/16 05:27:08- err.lastdllerror 0
2012/06/16 05:27:08- err.scriptline -1
2012/06/16 05:27:08- err.source
2012/06/16 05:27:08- err.helpfile
2012/06/16 05:27:08- err.helpcontext
2012/06/16 05:27:08- No USB Disks detected or not properly formatted
2012/06/16 05:27:08- Checking sizes...
2012/06/16 05:27:08- Total source size- 0 bytes
2012/06/16 05:27:08- Target space available- 0 bytes
2012/06/16 05:27:14- Getting USB drives information
2012/06/16 05:27:14- Show all drives option is selected
2012/06/16 05:27:15- LSILOGIC Logical Volume SCSI Disk Device
2012/06/16 05:27:15- DeviceID: \\.\PHYSICALDRIVE0
2012/06/16 05:27:15- PNPDeviceID: SCSI\DISK&VEN_LSILOGIC&PROD_LOGICAL_VOLUME&REV_3000\5&1D01176&0&000
2012/06/16 05:27:15- DiskSize: 67.0 GB
2012/06/16 05:27:15- Partitions found: 1 MediaType: Fixed hard disk media
2012/06/16 05:27:15- ModusLnk MXR3036SA000600X SCSI Disk Device
2012/06/16 05:27:15- DeviceID: \\.\PHYSICALDRIVE1
2012/06/16 05:27:15- PNPDeviceID: SCSI\DISK&VEN_MODUSLNK&PROD_MXR3036SA000600X&REV_M108\5&1D01176&0&030
2012/06/16 05:27:15- DiskSize: 34.2 GB
2012/06/16 05:27:15- Partitions found: 2 MediaType: Fixed hard disk media
2012/06/16 05:27:15- Disk--Partition: Disk #1, Partition #0
2012/06/16 05:27:16- Logical Disk:C: File system:NTFS Primary:True Bootable:True
2012/06/16 05:27:16- FreeSpace: 3.38 GB Partition Size: 8.78 GB
2012/06/16 05:27:16- Partition Starting Offset: 32256
2012/06/16 05:27:16- Disk--Partition: Disk #1, Partition #1
2012/06/16 05:27:20- Logical Disk:I: File system:NTFS Primary:False Bootable:
2012/06/16 05:27:20- FreeSpace: 13.1 GB Partition Size: 25.4 GB
2012/06/16 05:27:20- Partition Starting Offset: 9438232576
2012/06/16 05:27:20- I: - Logical Partition- skipped
2012/06/16 05:27:20- SAMSUNG 470 Series SSD SCSI Disk Device
2012/06/16 05:27:20- DeviceID: \\.\PHYSICALDRIVE3
2012/06/16 05:27:20- PNPDeviceID: SCSI\DISK&VEN_SAMSUNG&PROD_470_SERIES_SSD&REV_AXM0\4&2362F263&0&020
2012/06/16 05:27:20- DiskSize: 59.6 GB
2012/06/16 05:27:20- Partitions found: 1 MediaType: Fixed hard disk media
2012/06/16 05:27:20- Disk--Partition: Disk #3, Partition #0
2012/06/16 05:27:20- Logical Disk:D: File system:NTFS Primary:True Bootable:True
2012/06/16 05:27:20- FreeSpace: 16.2 GB Partition Size: 59.6 GB
2012/06/16 05:27:20- Partition Starting Offset: 1048576
2012/06/16 05:27:20- SAMSUNG HD502HJ SCSI Disk Device
2012/06/16 05:27:20- DeviceID: \\.\PHYSICALDRIVE2
2012/06/16 05:27:20- PNPDeviceID: SCSI\DISK&VEN_SAMSUNG&PROD_HD502HJ&REV_1AJ1\4&2362F263&0&000
2012/06/16 05:27:20- DiskSize: 465 GB
2012/06/16 05:27:20- Partitions found: 1 MediaType: Fixed hard disk media
2012/06/16 05:27:20- UFDBM T6.21 USB Device
2012/06/16 05:27:20- DeviceID: \\.\PHYSICALDRIVE4
2012/06/16 05:27:20- PNPDeviceID: USBSTOR\DISK&VEN_UFDBM&PROD_T6.21&REV_1.00\000FF1012261808216872123&0
2012/06/16 05:27:21- DiskSize: 15.3 GB
2012/06/16 05:27:21- Partitions found: 1 MediaType: Removable media other than floppy
2012/06/16 05:27:21- Disk--Partition: Disk #4, Partition #0
2012/06/16 05:27:21- Logical Disk:G: File system:FAT32 Primary:True Bootable:True
2012/06/16 05:27:21- FreeSpace: 15.0 GB Partition Size: 15.3 GB
2012/06/16 05:27:21- Partition Starting Offset: 32256
2012/06/16 05:27:21- Drive letter of the selected partition- C:
2012/06/16 05:27:21- Drive letter of the first primary partition in selected disk- C:
2012/06/16 05:27:21- Disk number of the selected disk- 1
2012/06/16 05:27:21- PNPId of the selected disk- SCSI\DISK&VEN_MODUSLNK&PROD_MXR3036SA000600X&REV_M108\5&1D01176&0&030
2012/06/16 05:27:21- File system type of the selected partition- NTFS
2012/06/16 05:27:21- Disk type of the selected disk- Fixed
2012/06/16 05:27:21- Total target space avialable- 3.38 GB
2012/06/16 05:27:21- Checking sizes...
2012/06/16 05:27:21- Total source size- 0 bytes
2012/06/16 05:27:21- Target space available- 3.38 GB
2012/06/16 05:27:22- Drive letter of the selected partition- D:
2012/06/16 05:27:22- Drive letter of the first primary partition in selected disk- D:
2012/06/16 05:27:22- Disk number of the selected disk- 3
2012/06/16 05:27:22- PNPId of the selected disk- SCSI\DISK&VEN_SAMSUNG&PROD_470_SERIES_SSD&REV_AXM0\4&2362F263&0&020
2012/06/16 05:27:22- File system type of the selected partition- NTFS
2012/06/16 05:27:22- Disk type of the selected disk- Fixed
2012/06/16 05:27:22- Total target space avialable- 16.2 GB
2012/06/16 05:27:22- Drive letter of the selected partition- G:
2012/06/16 05:27:22- Drive letter of the first primary partition in selected disk- G:
2012/06/16 05:27:22- Disk number of the selected disk- 4
2012/06/16 05:27:22- PNPId of the selected disk- USBSTOR\DISK&VEN_UFDBM&PROD_T6.21&REV_1.00\000FF1012261808216872123&0
2012/06/16 05:27:22- File system type of the selected partition- FAT32
2012/06/16 05:27:22- Disk type of the selected disk- Removable
2012/06/16 05:27:22- Total target space avialable- 15.0 GB
2012/06/16 05:27:26- Checking sizes...
2012/06/16 05:27:26- Total source size- 0 bytes
2012/06/16 05:27:26- Target space available- 15.0 GB

Link to comment
Share on other sites

Hello, attached is the log, I did not get the error with this version but it also did not work, when I try to use any of the formatting tools nothing appears and it goes to the 5 second wait before rescanning devices (as if the utility was just closed). I am most certainly stumped still.

Had to rename it to txt to upload it... there we go.

Attached are another 2 test versions, please run them the same way.

If none of them work, then there must be something broken in regards to WMI on this machine. Can't make much sense of the first error reported, that's something new to me, but most likely it has something to do with restricted or broken access to WMI due to corrupted WMI or access restrictions via group policy, domain restrictions or something along these lines, cannot comment further reading these errors for now.

Note: If this is a workstation used for work I wouldn't go further as it could become tricky and messy. The next diagnostic tool may be doing changes and fixes as it runs, never used it before.

Can you start a new thread, to not overload this one as issue doesn't seem to be program related, and post the log file from Microsoft's WMI Diagnosis Utility, hopefully could spot something interesting in it :

http://www.microsoft.com/en-us/download/details.aspx?id=7684

Attached is a test version, please place it next to the original file from 1.0 beta8 and run it.

Post back the log file produced in program directory, winsetupfromusb.log.

Hey ilko_t,

Do you remember #1687? I've just tried your new test version and it seems to run in Windows 2000.

2012/06/16 05:27:07- WinSetupFromUSB 1.0 beta8 started
2012/06/16 05:27:07- OS: WIN_2000 Architecture type: X86 ServicePack: Service Pack 4 OS Language: 0409
2012/06/16 05:27:07- Program directory: D:\Dropbox
2012/06/16 05:27:07- Getting USB drives information
2012/06/16 05:27:07- Show all drives option is NOT selected, displaying USB drives only
2012/06/16 05:27:07- ERROR!!!- Intercepted a COM Error !
2012/06/16 05:27:07- err.description :
2012/06/16 05:27:07- err.windescription:
2012/06/16 05:27:07- err.number : 80041017
2012/06/16 05:27:07- err.lastdllerror 0
2012/06/16 05:27:07- err.scriptline -1
2012/06/16 05:27:08- err.source
2012/06/16 05:27:08- err.helpfile
2012/06/16 05:27:08- err.helpcontext
2012/06/16 05:27:08- ERROR!!!- Intercepted a COM Error !
2012/06/16 05:27:08- err.description :
2012/06/16 05:27:08- err.windescription:
2012/06/16 05:27:08- err.number : 80041017
2012/06/16 05:27:08- err.lastdllerror 0
2012/06/16 05:27:08- err.scriptline -1
2012/06/16 05:27:08- err.source
2012/06/16 05:27:08- err.helpfile
2012/06/16 05:27:08- err.helpcontext
2012/06/16 05:27:08- No USB Disks detected or not properly formatted
2012/06/16 05:27:08- Checking sizes...
2012/06/16 05:27:08- Total source size- 0 bytes
2012/06/16 05:27:08- Target space available- 0 bytes
2012/06/16 05:27:14- Getting USB drives information
2012/06/16 05:27:14- Show all drives option is selected
2012/06/16 05:27:15- LSILOGIC Logical Volume SCSI Disk Device
2012/06/16 05:27:15- DeviceID: \\.\PHYSICALDRIVE0
2012/06/16 05:27:15- PNPDeviceID: SCSI\DISK&VEN_LSILOGIC&PROD_LOGICAL_VOLUME&REV_3000\5&1D01176&0&000
2012/06/16 05:27:15- DiskSize: 67.0 GB
2012/06/16 05:27:15- Partitions found: 1 MediaType: Fixed hard disk media
2012/06/16 05:27:15- ModusLnk MXR3036SA000600X SCSI Disk Device
2012/06/16 05:27:15- DeviceID: \\.\PHYSICALDRIVE1
2012/06/16 05:27:15- PNPDeviceID: SCSI\DISK&VEN_MODUSLNK&PROD_MXR3036SA000600X&REV_M108\5&1D01176&0&030
2012/06/16 05:27:15- DiskSize: 34.2 GB
2012/06/16 05:27:15- Partitions found: 2 MediaType: Fixed hard disk media
2012/06/16 05:27:15- Disk--Partition: Disk #1, Partition #0
2012/06/16 05:27:16- Logical Disk:C: File system:NTFS Primary:True Bootable:True
2012/06/16 05:27:16- FreeSpace: 3.38 GB Partition Size: 8.78 GB
2012/06/16 05:27:16- Partition Starting Offset: 32256
2012/06/16 05:27:16- Disk--Partition: Disk #1, Partition #1
2012/06/16 05:27:20- Logical Disk:I: File system:NTFS Primary:False Bootable:
2012/06/16 05:27:20- FreeSpace: 13.1 GB Partition Size: 25.4 GB
2012/06/16 05:27:20- Partition Starting Offset: 9438232576
2012/06/16 05:27:20- I: - Logical Partition- skipped
2012/06/16 05:27:20- SAMSUNG 470 Series SSD SCSI Disk Device
2012/06/16 05:27:20- DeviceID: \\.\PHYSICALDRIVE3
2012/06/16 05:27:20- PNPDeviceID: SCSI\DISK&VEN_SAMSUNG&PROD_470_SERIES_SSD&REV_AXM0\4&2362F263&0&020
2012/06/16 05:27:20- DiskSize: 59.6 GB
2012/06/16 05:27:20- Partitions found: 1 MediaType: Fixed hard disk media
2012/06/16 05:27:20- Disk--Partition: Disk #3, Partition #0
2012/06/16 05:27:20- Logical Disk:D: File system:NTFS Primary:True Bootable:True
2012/06/16 05:27:20- FreeSpace: 16.2 GB Partition Size: 59.6 GB
2012/06/16 05:27:20- Partition Starting Offset: 1048576
2012/06/16 05:27:20- SAMSUNG HD502HJ SCSI Disk Device
2012/06/16 05:27:20- DeviceID: \\.\PHYSICALDRIVE2
2012/06/16 05:27:20- PNPDeviceID: SCSI\DISK&VEN_SAMSUNG&PROD_HD502HJ&REV_1AJ1\4&2362F263&0&000
2012/06/16 05:27:20- DiskSize: 465 GB
2012/06/16 05:27:20- Partitions found: 1 MediaType: Fixed hard disk media
2012/06/16 05:27:20- UFDBM T6.21 USB Device
2012/06/16 05:27:20- DeviceID: \\.\PHYSICALDRIVE4
2012/06/16 05:27:20- PNPDeviceID: USBSTOR\DISK&VEN_UFDBM&PROD_T6.21&REV_1.00\000FF1012261808216872123&0
2012/06/16 05:27:21- DiskSize: 15.3 GB
2012/06/16 05:27:21- Partitions found: 1 MediaType: Removable media other than floppy
2012/06/16 05:27:21- Disk--Partition: Disk #4, Partition #0
2012/06/16 05:27:21- Logical Disk:G: File system:FAT32 Primary:True Bootable:True
2012/06/16 05:27:21- FreeSpace: 15.0 GB Partition Size: 15.3 GB
2012/06/16 05:27:21- Partition Starting Offset: 32256
2012/06/16 05:27:21- Drive letter of the selected partition- C:
2012/06/16 05:27:21- Drive letter of the first primary partition in selected disk- C:
2012/06/16 05:27:21- Disk number of the selected disk- 1
2012/06/16 05:27:21- PNPId of the selected disk- SCSI\DISK&VEN_MODUSLNK&PROD_MXR3036SA000600X&REV_M108\5&1D01176&0&030
2012/06/16 05:27:21- File system type of the selected partition- NTFS
2012/06/16 05:27:21- Disk type of the selected disk- Fixed
2012/06/16 05:27:21- Total target space avialable- 3.38 GB
2012/06/16 05:27:21- Checking sizes...
2012/06/16 05:27:21- Total source size- 0 bytes
2012/06/16 05:27:21- Target space available- 3.38 GB
2012/06/16 05:27:22- Drive letter of the selected partition- D:
2012/06/16 05:27:22- Drive letter of the first primary partition in selected disk- D:
2012/06/16 05:27:22- Disk number of the selected disk- 3
2012/06/16 05:27:22- PNPId of the selected disk- SCSI\DISK&VEN_SAMSUNG&PROD_470_SERIES_SSD&REV_AXM0\4&2362F263&0&020
2012/06/16 05:27:22- File system type of the selected partition- NTFS
2012/06/16 05:27:22- Disk type of the selected disk- Fixed
2012/06/16 05:27:22- Total target space avialable- 16.2 GB
2012/06/16 05:27:22- Drive letter of the selected partition- G:
2012/06/16 05:27:22- Drive letter of the first primary partition in selected disk- G:
2012/06/16 05:27:22- Disk number of the selected disk- 4
2012/06/16 05:27:22- PNPId of the selected disk- USBSTOR\DISK&VEN_UFDBM&PROD_T6.21&REV_1.00\000FF1012261808216872123&0
2012/06/16 05:27:22- File system type of the selected partition- FAT32
2012/06/16 05:27:22- Disk type of the selected disk- Removable
2012/06/16 05:27:22- Total target space avialable- 15.0 GB
2012/06/16 05:27:26- Checking sizes...
2012/06/16 05:27:26- Total source size- 0 bytes
2012/06/16 05:27:26- Target space available- 15.0 GB

Thanks for the report, this error handling will go into the next version. Meanwhile you could safely use this test version, it's beta8 with a few extra lines for COM error handling.

WinSetupFromUSB_1-0-beta8_testWMI2.7z

WinSetupFromUSB_1-0-beta8_testWMI3.7z

Link to comment
Share on other sites

Does setup continue despite this error?

Is iastor.sys present in \system32\drivers when this error comes up? Shift+F10 when it shows up and cd/dir to the drivers folder to find out.

I will test and report back...

Is this a modified Windows source? Any mass storage drivers included in it?

Yes, I've used Serebys Updatepack, no drivers

Can you elaborate? Where is no option, in boot menu? Did you use the option in the program?

sorry I didn't realize that there is an advanced options menu point

Edited by dadaniel
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...