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

Jump to content


  • 100 Pages +
  • 1
  • 2
  • 3
  • 4
  • 5
  • 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

#41 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 August 2008 - 02:36 AM

This is part of Binifix4.cmd, which is launched at GUIRunOnce, you may include your stuff inside or use the code.
Mind you- when multiple windows sources are on the USB stick, tagfile is different- WIN_00.BT, WIN_01.BT etc. etc. You may use your own tag file.

SET USBDRIVE=
SET TAGFILE=\WIN_NT.BT

FOR %%h IN (C D M N O P Q R S T U V W X Y) DO IF EXIST "%%h:%TAGFILE%" SET USBDRIVE=%%h:

if "%USBDRIVE%" == "" (
   FOR %%h IN (E F G H I J K L) DO IF EXIST "%%h:%TAGFILE%" SET USBDRIVE=%%h:
)


menu.lst will be fixed in next version, by the end of september when I will have spare time- have a look at the posts at bottom of first page and firsts on second page of this thread- they are all about menu.lst and the default entry.

edit: similar part for finding USB drive you will find in ren_fold.cmd, launched from SetupParams in winnt.sif.

edit2: It would be good idea ren_fold.cmd or binifix4.cmd to set the found drive letter in

HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup SourcePath

Need to investigate when it is created, and will include it in the next version, thanks.

This post has been edited by ilko_t: 07 August 2008 - 02:53 AM



#42 User is offline   edie209 

  • Newbie
  • Group: Members
  • Posts: 33
  • Joined: 27-February 06

Posted 07 August 2008 - 11:36 AM

I have been following this project and decided to give it a go, but I have run into a problem.

The install to Flash Drive seems to work fine I have opted to have XP, BartPE, and Vista. XP boots and starts to install but blue screens on "Starting Windows" (text section) the error is

Stop 0x0000007b (0xf7c80524, 0x00000034, 0x00000000, 0x00000000)


Vista works fine I have yet to try BartPE

The PC is a Dell 755 with sata hard drive

#43 User is online   jaclaz 

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

Posted 07 August 2008 - 12:03 PM

View Postedie209, on Aug 7 2008, 07:36 PM, said:

The PC is a Dell 755 with sata hard drive


And you have integrated the specific sata drivers, right? :unsure:

Can you try again setting in BIOS "ATA or IDE" compatibility mode?

jaclaz

#44 User is offline   cdob 

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

Posted 07 August 2008 - 01:13 PM

View Postedie209, on Aug 7 2008, 12:36 PM, said:

The PC is a Dell 755 with sata hard drive
That's a well known troublemaker.

Use a edited ntdetect.com http://www.msfn.org/board/-t112630.html&am...st&p=738009

#45 User is offline   edie209 

  • Newbie
  • Group: Members
  • Posts: 33
  • Joined: 27-February 06

Posted 08 August 2008 - 05:23 AM

Ok I have done that and it works but install is really slow Usb 2.0 flash drive is there anything known to speed things up ?

#46 User is online   jaclaz 

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

Posted 08 August 2008 - 06:26 AM

View Postedie209, on Aug 8 2008, 01:23 PM, said:

Ok I have done that and it works but install is really slow Usb 2.0 flash drive is there anything known to speed things up ?


Maybe that Dell has USB 2.0 ports but only boots at 1.1 speed. :unsure:

For the moment no solution, something is in the works, but nothing yet functional.

jaclaz

#47 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 August 2008 - 12:49 AM

View Postedie209, on Aug 8 2008, 04:23 AM, said:

Ok I have done that and it works but install is really slow Usb 2.0 flash drive is there anything known to speed things up ?

Which part goes slow? Loading drivers during Text mode only or loading drivers AND copying files at end of Text mode?
If it's first- your BIOS does boot in USB 1.1 speed, after loading drivers it should be USB 2.0.
If second- try formatting stick in NTFS/FAT32 or FAT16 if it's 2GB or less and BIOS supports boot from such, matter of experimenting.

#48 User is offline   edie209 

  • Newbie
  • Group: Members
  • Posts: 33
  • Joined: 27-February 06

Posted 11 August 2008 - 10:27 AM

I have been playing around and I tried formating in NTFS the results are amazing I have gone from nearly 2 hours for the 1st section of the install to about 4 mins.

All is not well though on part3 of the install I get an error

Windows could not start because the following file was missing or currupt
<Windows Root>\system32\hal.dll
Please reinstall a copy of the above file


So I am going to try and find out why I get this message, but if anyone knows why please tell me

#49 User is offline   sunray73 

  • Group: Members
  • Posts: 2
  • Joined: 13-August 08

Posted 13 August 2008 - 12:21 PM

So I was able to get BartPE to load up but as far as any of many linux dist.. nada... I get the following error. I'm running a 4GB formatted FAT32.


-----------------------------------------------------------------
Booting 'Start SysLinux bootsector from partition 0'

Filesystem type is fat, partition type 0cx

SYSLINUX 3.64 2008-04-10 EBIOS Copyright © 1994-2008 H. Peter Anvin
could not find kernal image: linux
boot:
------------------------------------------------------------------

#50 User is offline   sunray73 

  • Group: Members
  • Posts: 2
  • Joined: 13-August 08

Posted 13 August 2008 - 02:32 PM

Well I tried with a 2GB Fash drive FAT16 and same error... Please help!

#51 User is offline   DeadMeatGF 

  • Group: Members
  • Posts: 1
  • Joined: 14-August 08

  Posted 15 August 2008 - 03:39 AM

I've gone through the thread, and read the FAQ, but please forgive me if I've missed the answer.

I got directed here after being dumped with a Tablet PC pre-installed with XP Pro (no pen/touch support, great huh?) and no Floppy/CD/DVD etc.
I downloaded the GUI, ran it to format the USB key and copy the XP Tablet files and plugged it into the Tablet ...
I can boot into USB fine, I can start Setup fine - but I get:

Q8: I got "Insert WinXP CD" Error, why?
A8: The correct value in WINNT.SIF is MsDosInitiated="1". This is done automatically by the script. You must have changed WINNT.SIF after prepared USB disk.

Well, I don't have a WINNT.SIF (apart from the Sample one) and I can't find a reference to MsDosInitiated in any of my files on the USB key.

I know I'm probably doing something fundamentally stupid ... but if anyone could tell me what it is, I'd be grateful!

#52 User is offline   ilko_t 

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

Posted 16 August 2008 - 05:53 PM

Sorry about the delayed responses, I am still on holiday and have a little break from computers :ph34r:

View Postedie209, on Aug 11 2008, 09:27 AM, said:

I have been playing around and I tried formating in NTFS the results are amazing I have gone from nearly 2 hours for the 1st section of the install to about 4 mins.

All is not well though on part3 of the install I get an error

Windows could not start because the following file was missing or currupt
<Windows Root>\system32\hal.dll
Please reinstall a copy of the above file

So I am going to try and find out why I get this message, but if anyone knows why please tell me
Good, NTFS really helps sometimes. For HAL.DLL error please check the FAQs.



View Postsunray73, on Aug 13 2008, 11:21 AM, said:

So I was able to get BartPE to load up but as far as any of many linux dist.. nada... I get the following error. I'm running a 4GB formatted FAT32.


-----------------------------------------------------------------
Booting 'Start SysLinux bootsector from partition 0'

Filesystem type is fat, partition type 0cx

SYSLINUX 3.64 2008-04-10 EBIOS Copyright © 1994-2008 H. Peter Anvin
could not find kernal image: linux
boot:
------------------------------------------------------------------
Umm, you need you ammend your syslinux.cfg for the particular distro and check kernel parameters for USB boot. The program just adds syslinux bootsector, copy the contents to USB and loads syslinux, and from the message you have posted it seems that syslinux is loaded indeed.


View PostDeadMeatGF, on Aug 15 2008, 02:39 AM, said:

I've gone through the thread, and read the FAQ, but please forgive me if I've missed the answer.

I got directed here after being dumped with a Tablet PC pre-installed with XP Pro (no pen/touch support, great huh?) and no Floppy/CD/DVD etc.
I downloaded the GUI, ran it to format the USB key and copy the XP Tablet files and plugged it into the Tablet ...
I can boot into USB fine, I can start Setup fine - but I get:

Q8: I got "Insert WinXP CD" Error, why?
A8: The correct value in WINNT.SIF is MsDosInitiated="1". This is done automatically by the script. You must have changed WINNT.SIF after prepared USB disk.

Well, I don't have a WINNT.SIF (apart from the Sample one) and I can't find a reference to MsDosInitiated in any of my files on the USB key.

I know I'm probably doing something fundamentally stupid ... but if anyone could tell me what it is, I'd be grateful!

It happens if your source is on CD, will be fixed very soon. Please use the file in post #36 it's fixed there, just extract it to WinSetupFromUSB folder and launch it instead of the other EXE.
When I get back from holiday will put all changes in new beta version.
Thanks for the feedbacks. :)

ilko

#53 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 September 2008 - 09:56 AM

Program updated to 0.1 Beta, please refer to first post for list of changes and download links.

#54 User is offline   tonich 

  • Newbie
  • Group: Members
  • Posts: 33
  • Joined: 21-September 06

Posted 09 September 2008 - 09:29 AM

Me runes Win98, but me thinks this is a goood piece of software and deserves moar feedback.
Thanks to people, who put this together!
Greets!
:hello:

#55 User is offline   jonsa79 

  • Group: Members
  • Posts: 1
  • Joined: 01-January 06

Posted 10 September 2008 - 07:26 AM

 
Windows could not start because the following file was missing or currupt
<Windows Root>\system32\hal.dll
Please reinstall a copy of the above file 


I'm getting this error all the time.
I've read the FAQ's and can't seem to understand what I'm doing wrong?
I'm trying to install to a notebook that has no problem with formating and reading the first set of files,
but when the computer restarts it just gives the error above.
Now when I'm trying to install with another USB-stick with other settings it doesn't allow me to format anymore. It keeps giving me this hal.dll error.
What can be wrong?

Thx!

#56 User is offline   ilko_t 

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

Posted 10 September 2008 - 08:13 AM

jonsa79- what partition are you installing windows to? First, second...?
What folder name you gave for Windows, is it the default Windows?
Doe the laptop have a hidden first partition?

Please post your BOOT.INI on the root of the USB stick too. There must be a mismatch between BOOT.INI parameters and the location you install Windows to.


tonich
- thanks :)

#57 User is offline   ykchanaed 

  • Junior
  • Pip
  • Group: Members
  • Posts: 90
  • Joined: 18-January 07

Posted 17 September 2008 - 03:41 AM

$OEM$
Presetup.cmd

Would you please add support to copy the $Docs and $Progs folders inside the $OEM$ folder in the Presetup.cmd

Thanks

#58 User is offline   onepic 

  • Group: Members
  • Posts: 5
  • Joined: 17-September 08

Posted 17 September 2008 - 08:34 AM

@ilko_t

Nice work and pls. receive my congratulations for it ! :thumbup
I have test it today and it is working OK from a 2GB USB Stick (formated as NTFS) and installed from it a winxp sp3 profesional VLK on my notebook but there is "small problem". The setup it seems not ask to select your Name and Organization and also skip the selection for time zone :(. Can you fix that because not all of us are live in US :blushing: . Thank you in advance !

This post has been edited by onepic: 17 September 2008 - 08:35 AM


#59 User is offline   ilko_t 

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

Posted 17 September 2008 - 10:16 AM

View Postykchanaed, on Sep 17 2008, 02:41 AM, said:

$OEM$
Presetup.cmd

Would you please add support to copy the $Docs and $Progs folders inside the $OEM$ folder in the Presetup.cmd

Thanks
The next version will support everything as if installing from a CD. Hence no hacks or modifications will be needed to to accomplish such tasks.
Currently working on it, should be ready very shortly.


View Postonepic, on Sep 17 2008, 07:34 AM, said:

@ilko_t

Nice work and pls. receive my congratulations for it ! :thumbup
I have test it today and it is working OK from a 2GB USB Stick (formated as NTFS) and installed from it a winxp sp3 profesional VLK on my notebook but there is "small problem". The setup it seems not ask to select your Name and Organization and also skip the selection for time zone :(. Can you fix that because not all of us are live in US :blushing: . Thank you in advance !
The program is not messing with these settings. You most likely have a file unattended.txt in your source, which if found is copied and used as winnt.sif. This replicates what normal Setup would do.
If that's the case- have a look in \I386 in your Windows source and rename unattended.txt to anything else BEFORE you use the program if you don't want to use it.

Thanks for the feedbacks :)

This post has been edited by ilko_t: 17 September 2008 - 10:17 AM


#60 User is offline   onepic 

  • Group: Members
  • Posts: 5
  • Joined: 17-September 08

Posted 18 September 2008 - 03:12 AM

I have renamed unattended.txt into unattended.tx_ and i have rebuild the setup and now all ok and it run like from original CD. Th'x for the tip !

btw... tested today on a 16GB usb stick and is working OK from there too.

Share this topic:


  • 100 Pages +
  • 1
  • 2
  • 3
  • 4
  • 5
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

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



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