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

Jump to content


  • 100 Pages +
  • « First
  • 10
  • 11
  • 12
  • 13
  • 14
  • 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

#221 User is offline   ilko_t 

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

Posted 06 December 2008 - 10:56 PM

You may leave just this:

REM ===========Added by WinSetupFromUSB============
IF EXIST %systemroot%\system32\setupold.exe DEL /F %systemroot%\system32\setupold.exe
IF EXIST c:\boot.003 DEL /F c:\boot.003
REM ====================END=======================
EXIT



#222 User is offline   Yoshii 

  • Newbie
  • Group: Members
  • Posts: 11
  • Joined: 06-December 08

Posted 07 December 2008 - 01:48 AM

Same error pops up. Incredibly annoying and I can't figure out why. Could it be my copy of windows straight from my cd?

The machine im creating the flash drive is vista basic if that changes anything.

#223 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 December 2008 - 02:37 AM

Quote

Could it be my copy of windows straight from my cd?
You could try another XP.

Quote

The machine im creating the flash drive is vista basic if that changes anything.
Nope.

You did not answer if you have USB card readers and did you unplug all unnecessary hardware, mass storage devices to be specific. Empty card readers or printers with such DOES matter.
During Text mode how many disks did you see on the partitioning screen?

#224 User is offline   Yoshii 

  • Newbie
  • Group: Members
  • Posts: 11
  • Joined: 06-December 08

Posted 07 December 2008 - 03:14 AM

View Postilko_t, on Dec 7 2008, 03:37 AM, said:

You did not answer if you have USB card readers and did you unplug all unnecessary hardware, mass storage devices to be specific. Empty card readers or printers with such DOES matter.
During Text mode how many disks did you see on the partitioning screen?


Sorry it doesn't have anything plugged in other than my usb key. It has a front usb card reader but that is plugged into the motherboard, nothing external.

Also it sees the old HP Drive from the old machine with windows and a restore partition. And the new hdd, which was RAW at the time I did the format/install. The 1st drive that shows up is the correct one not the HP.

***EDIT***

Also I noticed that when I hit ignore on the error its not the system that locks up but my keyboard turns off for some reason...and it has a light on even when the system is off so that's an odd thing to happen.

***EDIT***

I also noticed that when I format the usb flash drive with NTFS that's where the black screen and drivers load pops up (almost like safemode). But when I format to FAT 32 I get the boot loader asking what I want to do. Is that common?

This post has been edited by Yoshii: 07 December 2008 - 06:15 AM


#225 User is offline   jaclaz 

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

Posted 07 December 2008 - 08:37 AM

@Yoshi

View PostYoshii, on Dec 7 2008, 10:14 AM, said:

It has a front usb card reader but that is plugged into the motherboard, nothing external.


Hmmm, AFAIK in English all does not mean "external" :whistle: :

View Postilko_t, on Dec 7 2008, 02:27 AM, said:

- disconnect all unnecessary hardware- USB card readers, CD/DVD, the second hard disk etc.



Please get dd for windows here:
http://www.chrysocome.net/dd

Open a Command Prompt in the directory where you unzipped it and type:
 
NT Block Device Objects
\\?\Device\CdRom0
  size is 2147483647 bytes
\\?\Device\Harddisk0\Partition0
  link to \\?\Device\Harddisk0\DR0
  Fixed hard disk media. Block size = 512
  size is 320072933376 bytes
\\?\Device\Harddisk0\Partition1
  link to \\?\Device\HarddiskVolume1
\\?\Device\Harddisk1\Partition0
  link to \\?\Device\Harddisk1\DR1
  Fixed hard disk media. Block size = 512
  size is 320072933376 bytes
\\?\Device\Harddisk1\Partition1
  link to \\?\Device\HarddiskVolume2
  Fixed hard disk media. Block size = 512
  size is 320062063104 bytes
\\?\Device\Harddisk2\Partition0
  link to \\?\Device\Harddisk2\DR4
  Removable media other than floppy. Block size = 512
  size is 134217728 bytes
\\?\Device\Harddisk2\Partition1
  link to \\?\Device\Harddisk2\DP(1)0-0+5
  Removable media other than floppy. Block size = 512
  size is 98671104 bytes
\\?\Device\Harddisk3\Partition0
  link to \\?\Device\Harddisk3\DR19
  Fixed hard disk media. Block size = 512
  Fixed hard disk media. Block size = 512
  size is 320072933376 bytes
\\?\Device\Harddisk3\Partition1
  link to \\?\Device\HarddiskVolume7
\\?\Device\Harddisk3\Partition2
  link to \\?\Device\HarddiskVolume8
  Fixed hard disk media. Block size = 512
  size is 41940670464 bytes
\\?\Device\Harddisk3\Partition3
  link to \\?\Device\HarddiskVolume9
  Fixed hard disk media. Block size = 512
  size is 41940670464 bytes
\\?\Device\Harddisk3\Partition4
  link to \\?\Device\HarddiskVolume10
\\?\Device\Harddisk4\Partition0
  link to \\?\Device\Harddisk4\DR7
\\?\Device\Harddisk4\Partition1
  link to \\?\Device\Harddisk4\DP(1)0-0+f
\\?\Device\Harddisk5\Partition0
  link to \\?\Device\Harddisk5\DR8
\\?\Device\Harddisk5\Partition1
  link to \\?\Device\Harddisk5\DP(1)0-0+10
\\?\Device\Harddisk6\Partition0
  link to \\?\Device\Harddisk6\DR9
\\?\Device\Harddisk6\Partition1
  link to \\?\Device\Harddisk6\DP(1)0-0+11
\\?\Device\Harddisk7\Partition0
  link to \\?\Device\Harddisk7\DR10
\\?\Device\Harddisk7\Partition1
  link to \\?\Device\Harddisk7\DP(1)0-0+12
 


If the DR7 and DR8 correspond to entries starting with "DP(1)0-0+" they are devices of your card reader and they are probably getting in the way.

jaclaz

#226 User is offline   Yoshii 

  • Newbie
  • Group: Members
  • Posts: 11
  • Joined: 06-December 08

Posted 07 December 2008 - 06:01 PM

View Postjaclaz, on Dec 7 2008, 09:37 AM, said:

Please get dd for windows here:
http://www.chrysocome.net/dd

Open a Command Prompt in the directory where you unzipped it and type:
 
NT Block Device Objects
\\?\Device\CdRom0
  size is 2147483647 bytes
\\?\Device\Harddisk0\Partition0
  link to \\?\Device\Harddisk0\DR0
  Fixed hard disk media. Block size = 512
  size is 320072933376 bytes
\\?\Device\Harddisk0\Partition1
  link to \\?\Device\HarddiskVolume1
\\?\Device\Harddisk1\Partition0
  link to \\?\Device\Harddisk1\DR1
  Fixed hard disk media. Block size = 512
  size is 320072933376 bytes
\\?\Device\Harddisk1\Partition1
  link to \\?\Device\HarddiskVolume2
  Fixed hard disk media. Block size = 512
  size is 320062063104 bytes
\\?\Device\Harddisk2\Partition0
  link to \\?\Device\Harddisk2\DR4
  Removable media other than floppy. Block size = 512
  size is 134217728 bytes
\\?\Device\Harddisk2\Partition1
  link to \\?\Device\Harddisk2\DP(1)0-0+5
  Removable media other than floppy. Block size = 512
  size is 98671104 bytes
\\?\Device\Harddisk3\Partition0
  link to \\?\Device\Harddisk3\DR19
  Fixed hard disk media. Block size = 512
  Fixed hard disk media. Block size = 512
  size is 320072933376 bytes
\\?\Device\Harddisk3\Partition1
  link to \\?\Device\HarddiskVolume7
\\?\Device\Harddisk3\Partition2
  link to \\?\Device\HarddiskVolume8
  Fixed hard disk media. Block size = 512
  size is 41940670464 bytes
\\?\Device\Harddisk3\Partition3
  link to \\?\Device\HarddiskVolume9
  Fixed hard disk media. Block size = 512
  size is 41940670464 bytes
\\?\Device\Harddisk3\Partition4
  link to \\?\Device\HarddiskVolume10
\\?\Device\Harddisk4\Partition0
  link to \\?\Device\Harddisk4\DR7
\\?\Device\Harddisk4\Partition1
  link to \\?\Device\Harddisk4\DP(1)0-0+f
\\?\Device\Harddisk5\Partition0
  link to \\?\Device\Harddisk5\DR8
\\?\Device\Harddisk5\Partition1
  link to \\?\Device\Harddisk5\DP(1)0-0+10
\\?\Device\Harddisk6\Partition0
  link to \\?\Device\Harddisk6\DR9
\\?\Device\Harddisk6\Partition1
  link to \\?\Device\Harddisk6\DP(1)0-0+11
\\?\Device\Harddisk7\Partition0
  link to \\?\Device\Harddisk7\DR10
\\?\Device\Harddisk7\Partition1
  link to \\?\Device\Harddisk7\DP(1)0-0+12
 


If the DR7 and DR8 correspond to entries starting with "DP(1)0-0+" they are devices of your card reader and they are probably getting in the way.

jaclaz


Where/how do I open that on the drive? From the working vista or the non working new one. I don't have access to the cmd prompt on the new machine...I'll try unplugging the devices from the motherboard..

Thanks for your replies..

Sorry if I sounded ignorant about the internal parts.

#227 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 December 2008 - 06:50 PM

Internal card readers connect to the USB bus as well, so in our case internal=external. In both cases they create for windows a disk drive, with no disk in it.
You have to disconnect the card reader, leave ONLY one hard disk connected, start Text mode, recreate partitions on it, deleting the old ones, RESTART computer right after that part (F3 key), without continuing Text mode, start Text mode again and install Windows in the first newly created partition if you set up BOOT.INI like this.

Then report what happens at GUI mode.

dd is to be run on the same computer, so ignore it for now.

This post has been edited by ilko_t: 07 December 2008 - 06:50 PM


#228 User is offline   Yoshii 

  • Newbie
  • Group: Members
  • Posts: 11
  • Joined: 06-December 08

Posted 07 December 2008 - 11:14 PM

Oddly enough all I did was unplug the front usb and the usb card reader and the other SATA drive and voila. It loaded into the "Setup is restarting" and loaded right into the GUI mode. About 5 minutes later windows was installed and running!!!

Thanks so much guys!!! Didn't think it was such a little mistake that would cause this, but I learn something new every day.

One issue, well not so much an issue, just an annoyance is when windows boots up it gives me an option to load Windows XP or to load USB Windows XP (not for using, just install) or something along those lines. Any way to knock off the USB one so it just auto loads into Windows XP?

Again thanks guys for your help!!

#229 User is offline   ilko_t 

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

Posted 08 December 2008 - 12:17 AM

Glad you made it :)
As a matter of fact, similar, if not the same error is displayed while presetup.cmd finds USB drive letter and there is an empty card reader attached, but clicking IGNORE gets you going, haven't read a report, when it hangs.
In your case I suspect Windows itself was screwing up, as we removed those lines in presetup.cmd, which find the drive letter.
Next time promise you pay more attention to the questions you are were asked, no matter how irrelevant they may seem to you.

As for the USB entry in menu- read \WinSetupFromUSB\Docs\HOW-TOs.txt

Quote

12. Program adds additional entry in BOOT.INI on the internal disk for USB repair, which is displayed during boot. Without it you cannot perform Windows repair installation from USB disk.
If this entry bothers you, right click on My Computer, select Properties-->Advanced-->Startup and Recovery group Settings and
either decrease "Time to display list of operating system" to 5-10 seconds, or press Edit, remove the line for USB repair and save the file.


#230 User is offline   Yoshii 

  • Newbie
  • Group: Members
  • Posts: 11
  • Joined: 06-December 08

Posted 08 December 2008 - 08:16 AM

View Postilko_t, on Dec 8 2008, 01:17 AM, said:

Glad you made it :)
As a matter of fact, similar, if not the same error is displayed while presetup.cmd finds USB drive letter and there is an empty card reader attached, but clicking IGNORE gets you going, haven't read a report, when it hangs.
In your case I suspect Windows itself was screwing up, as we removed those lines in presetup.cmd, which find the drive letter.
Next time promise you pay more attention to the questions you are were asked, no matter how irrelevant they may seem to you.

As for the USB entry in menu- read \WinSetupFromUSB\Docs\HOW-TOs.txt

Quote

12. Program adds additional entry in BOOT.INI on the internal disk for USB repair, which is displayed during boot. Without it you cannot perform Windows repair installation from USB disk.
If this entry bothers you, right click on My Computer, select Properties-->Advanced-->Startup and Recovery group Settings and
either decrease "Time to display list of operating system" to 5-10 seconds, or press Edit, remove the line for USB repair and save the file.



Definately will in the future :).

Also it seems that on bootup its not just 2 choices but 3. The 3rd one is Windows XP (default)...exactly like that. And it's always the one highlighted (hence default I guess). But oddly enough that option locks up windows start up and restarts the system.

Here is what my boot.ini looks like in case there is something in here that could be wrong:

[Boot Loader]
timeout=30
Default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS /usepmtimer
[Operating Systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect /usepmtimer
multi(0)disk(0)rdisk(1)partition(1)\WINDOWS="USB Repair NOT to Start Microsoft Windows XP Professional" /noexecute=optin /fastdetect


Thanks again! :thumbup

#231 User is offline   ilko_t 

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

Posted 08 December 2008 - 12:20 PM

Remove /usepmtimer from the second line and decrease timeout value to 1 or 2 so the USB repair entry won't bother you.
[Boot Loader]
timeout=2
Default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[Operating Systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect /usepmtimer
multi(0)disk(0)rdisk(1)partition(1)\WINDOWS="USB Repair NOT to Start Microsoft Windows XP Professional" /noexecute=optin /fastdetect


About /usepmtimer switch:
http://support.microsoft.com/kb/895980

#232 User is offline   Yoshii 

  • Newbie
  • Group: Members
  • Posts: 11
  • Joined: 06-December 08

Posted 08 December 2008 - 05:31 PM

View Postilko_t, on Dec 8 2008, 01:20 PM, said:

Remove /usepmtimer from the second line and decrease timeout value to 1 or 2 so the USB repair entry won't bother you.
[Boot Loader]
timeout=2
Default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[Operating Systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect /usepmtimer
multi(0)disk(0)rdisk(1)partition(1)\WINDOWS="USB Repair NOT to Start Microsoft Windows XP Professional" /noexecute=optin /fastdetect


About /usepmtimer switch:
http://support.microsoft.com/kb/895980


Okay but the Default option gives me a hal.dll error so I always have to manually select the 1st option in the list. Would it work if I just copied the XP Pro startup info into Default=?

Thanks again :)

#233 User is offline   ilko_t 

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

Posted 08 December 2008 - 08:20 PM

Which one is the first line? Which one do you exactly see and use?

Default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS

only shows which line, listed under [Operating Systems] is default:

multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect /usepmtimer

I asked to you to remove /usepmtimer from default=... line, as AFAIK it is not expected there and may lead to unpredictable results. Did you remove it and test?
Have you connected another mass storage device (card reader, hard disk etc.) after the setup?

#234 User is offline   Yoshii 

  • Newbie
  • Group: Members
  • Posts: 11
  • Joined: 06-December 08

Posted 08 December 2008 - 08:28 PM

View Postilko_t, on Dec 8 2008, 09:20 PM, said:

Which one is the first line? Which one do you exactly see and use?

Default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS

only shows which line, listed under [Operating Systems] is default:

multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect /usepmtimer

I asked to you to remove /usepmtimer from default=... line, as AFAIK it is not expected there and may lead to unpredictable results. Did you remove it and test?
Have you connected another mass storage device (card reader, hard disk etc.) after the setup?


Yeah I have a 2nd hard drive hooked up with a Windows XP Install on it. That could be what's causing the error I guess but it's not set up as a boot device.

The exact info that shows up is:

Windows XP Pro
USB
Windows (default)

The curser automatically chooses the last one so I have to manually select Windows XP Pro.

***EDIT***

I'm just in the process of backing up the old drive. I will then format the drive and use it solely as a backup and hopefully that removes the issues.

This post has been edited by Yoshii: 08 December 2008 - 09:25 PM


#235 User is offline   ilko_t 

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

Posted 08 December 2008 - 10:05 PM

Well, just check for BOOT.INI on old hard drive active partition. Most likely it become first at boot order and it's BOOT.INI is used.
Reformatting if it's just because of this issue is overkill, we just have to figure out which BOOT.INI is used and correct it's entries.

This post has been edited by ilko_t: 08 December 2008 - 10:06 PM


#236 User is offline   Yoshii 

  • Newbie
  • Group: Members
  • Posts: 11
  • Joined: 06-December 08

Posted 09 December 2008 - 06:37 AM

View Postilko_t, on Dec 8 2008, 11:05 PM, said:

Well, just check for BOOT.INI on old hard drive active partition. Most likely it become first at boot order and it's BOOT.INI is used.
Reformatting if it's just because of this issue is overkill, we just have to figure out which BOOT.INI is used and correct it's entries.


LOL naw I formatted it because it's now used as a backup. After I did all this everything is good now. Thanks again :)

Will definately be using this forum to find info on future problems that might occur.

Thanks again!

Cheers and Happy Holidays!!

#237 User is offline   ilko_t 

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

Posted 09 December 2008 - 12:58 PM

You are welcome, happy holiday to you too :)

#238 User is offline   freddo 

  • Group: Members
  • Posts: 2
  • Joined: 10-September 08

Posted 11 December 2008 - 12:47 AM

Congrats to all who put together this great piece of code.. I've just tested it with XP Pro Corp SP3 With driverpacks and apps on a 4G Tanscend drive and it worked a treat.. Sorry if i've missed anything i tried to read through the whole post but am at work so had to skip a few pages, do you guys think it would be possible to automate the selection when booting from the usb key after you selected XP Pro (i.e. Choose to install XP then where you normally select part 2/3 have that automated) like once the first stage is finished it writes a file to the hard disk which stores what part of the install the pc is up to and just have the usb key look for that file on the next boot?? i'd be willing to give it a shot if someone might be able to point me at where to start, if it's possible. Anyhow any info would be greatly appreciated. THANKS

#239 User is offline   ilko_t 

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

Posted 11 December 2008 - 01:55 AM

Sorry, I did not understand what you exactly mean.
Is it automatic selection of the boot menu upon start?

Right now what it does:
-upon first start of Text mode part, the GUI part is made default
-on next relaunch, as the GUI mode is set default, it will be started

There is a timeout value in seconds in menu.lst and winsetup.lst, after those seconds the default entry is auto launched (now is GUI mode). You can see the timer on the bottom of the grub4dos screen. If you press any key this timer will stop and default entry will not be auto launched.

I thinks timeout value in both menu.lst and winsetup.lst was decreased to 10 in 0.1.1, but you could also play with it- just open up menu.lst and winsetup.lst in Notepad and change timeout value to what suits you.

The default entry stays GUI mode, so for the next full setup Text mode must be selected manually, GUI mode will remain default and auto selected if you don't press any key.

Did this answer your question?

#240 User is offline   eva2000 

  • Newbie
  • Group: Members
  • Posts: 26
  • Joined: 08-November 03

Posted 11 December 2008 - 08:30 AM

View Postilko_t, on Nov 10 2008, 03:34 AM, said:

View Postappyface, on Nov 9 2008, 08:51 AM, said:

...Does this message really mean to now unplug the USB stick from SOURCE PC, and to plug it in to the TARGET PC. Then boot to begin the install of XP from USB stick, and to follow the three restarts without unplugging it from the TARGET PC?...

Correct :)
It means when you connect USB disk to the target computer, you have to start from USB 3 times, apparently keeping the USB disk plugged in:
1. Text mode part of Setup
2. GUI mode part
3. First start of Windows
thanks that message confused me as well!

Share this topic:


  • 100 Pages +
  • « First
  • 10
  • 11
  • 12
  • 13
  • 14
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

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



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