IPB

Google Frontpage Forums Unattended CD/DVD Guide
14 Pages V  < 1 2 3 4 > »   
Reply to this topicStart new topic
> How to install from USB- WinSetupFromUSB with GUI, Lets try to make it easy for everyone...
ilko_t
post Jul 16 2008, 03:50 PM
Post #21


Advanced Member
***

Group: Members
Posts: 402
Joined: 6-December 06
Member No.: 117812
Country Flag


@jaclaz

Thanks, that's very good idea.
Using tag file could be tricky- I can't think of any file in root, which gets renamed or deleted after install is completed. If it's in a folder, then may be yes, but what about people changing their windows or program files folders...

May this is a solution, even though we are getting into too many submenus:
menu.lst:
CODE
title Windows Install
configfile /windows.lst
savedefault


windows.lst:
CODE
default /windefault

title Text mode Windows XP
chainloader ....
savedafault 1

title GUI mode Windows XP
chainloader /ntldr
savedefault

title Text mode Windows 2003
chainloader ....
savedafault 1

title GUI mode Windows 2003
chainloader /ntldr
savedefault

All Text mode entries will make default the second entry, even though it's name is for XP, but it loads the same NTLDR/BOOT.INI.
Then the second entry will open BOOT.INI entries, which makes one more menu. I will try to put all that and see how it feels when using it.

Go to the top of the page
 
+Quote Post
Raboo
post Aug 4 2008, 08:00 PM
Post #22


Newbie


Group: Members
Posts: 16
Joined: 8-January 07
Member No.: 120902
Country Flag


I agree with ilko_t, keep it simple.
All I want to do is able to install my nlited + driverpacks Windows XP from a USB Stick exactly as I would from a CD/DVD drive with no changes or as little changes as possible. No extra options or such..

Nice work ilko_t and everyone who contributed to and inspired this project.. Keep up the good work.

/Raboo
Go to the top of the page
 
+Quote Post
Raboo
post Aug 5 2008, 10:00 AM
Post #23


Newbie


Group: Members
Posts: 16
Joined: 8-January 07
Member No.: 120902
Country Flag


I'm stuck
I managed to create the a bootable USB-stick with windows XP and BartPE.
I'm using my friends asus eee.
I get into the grub4dos menu and select the first line... it did not work, it simply reloads the grub4dos menu.
The second line, part 2 of windows setup simply won't work without the first part, it says no OS basically when I try it.
The third line, BartPE worked...

Any ideas whats wrong and or how I can be more verbose?

/Raboo
Go to the top of the page
 
+Quote Post
ilko_t
post Aug 5 2008, 03:36 PM
Post #24


Advanced Member
***

Group: Members
Posts: 402
Joined: 6-December 06
Member No.: 117812
Country Flag


Can you attach your log file:
QUOTE (ilko_t)
- detailed log file is created in the folder, where program is executed from. Use it for troubleshooting. Upon next execution if log file is found, it's compressed in MS cab format, removed to BACKUPS folder and renamed with current DATE/TIME stamp.


as well as screenshot of contents or result of dir X: of USB stick root directory, and contents of menu.lst again in USB root.
Did you run the program multiple times or everything was done in one go?

This post has been edited by ilko_t: Aug 5 2008, 03:36 PM
Go to the top of the page
 
+Quote Post
Raboo
post Aug 5 2008, 04:28 PM
Post #25


Newbie


Group: Members
Posts: 16
Joined: 8-January 07
Member No.: 120902
Country Flag


I've tried several times, with only XP, with HP format util, PEtoUSB util, ie fat32, NTFS & fat16..
With XP, BartPE, gparted...

But when i try to select "First part of Windows XP Professional setup from partition 0", it prints out:
Filesystem type is fat, partition typ 0xc
and goes back to GRUB4DOS

I've attached the log file.

Here is the content of menu.lst without the comments:
CODE
color black/cyan yellow/cyan
timeout 30
default /default

title First part of Windows XP Professional setup from partition 0
root (hd0,0)
chainloader (hd0,0)/$WIN_NT$.~BT/SETUPLDR.BIN

title Second part of XP Professional setup+Start it first time from part 0
root (hd0,0)
chainloader (hd0,0)/ntldr

title Start BartPE/WinBuilder from partition 0
root (hd0,0)
chainloader /minint/setupldr.bin


Here is the content of the USB-stick:
CODE
Volume in drive K has no label.
Volume Serial Number is 62E8-2568

Directory of K:\

2008-05-07  00:45           188 049 grldr
2008-08-05  18:07             2 447 menu.lst
2007-10-15  23:18             2 048 default
2008-08-05  20:35               232 BOOT.INI
2008-04-14  00:02           250 560 NTLDR
2008-04-13  22:13            47 564 NTDETECT.COM
2008-06-02  03:08           482 043 TXTSETUP.SIF
2008-08-05  18:07    <DIR>          $WIN_NT$.~BT
2008-08-05  18:07    <DIR>          $WIN_NT$.~LS
2001-09-28  14:00             4 952 BOOTFONT.BIN
2008-08-05  19:50    <DIR>          OEM
2008-08-05  19:54    <DIR>          minint
2008-08-05  20:21    <DIR>          programs
               8 File(s)        977 895 bytes
               5 Dir(s)     863 223 808 bytes free


/Raboo
Attached File(s)
Attached File  WinSetupFromUSB.zip ( 103.27K ) Number of downloads: 80
 
Go to the top of the page
 
+Quote Post
ilko_t
post Aug 5 2008, 06:15 PM
Post #26


Advanced Member
***

Group: Members
Posts: 402
Joined: 6-December 06
Member No.: 117812
Country Flag


For some reason program fails to create the folder and copy from D:\Private\Projekt\USB\WinSetupFromUSB\TEMP\ where ~BT files are placed temporarily.
What windows are you using? Do you have rights to write in this folder?
Are you using limited account?
Is the folder TEMP created and only copy to it fails?
Can you try to install the program in let's say D:\WinSetupFromUSB and see if the long path is the problem?

To save time and write cycles to the USB stick you may use COPY BOOT FILES ONLY option and eventually QEMU option to test until the problem is fixed.

Go to the top of the page
 
+Quote Post
Raboo
post Aug 5 2008, 07:44 PM
Post #27


Newbie


Group: Members
Posts: 16
Joined: 8-January 07
Member No.: 120902
Country Flag


QUOTE (ilko_t @ Aug 6 2008, 02:15 AM) *
What windows are you using? Do you have rights to write in this folder?
Are you using limited account?
Is the folder TEMP created and only copy to it fails?
Can you try to install the program in let's say D:\WinSetupFromUSB and see if the long path is the problem?

Vista x64
Yes, I have rights
Administrator privilege account
Yeah TEMP is created
Tried from D:\WinSetupFromUSB, did not help, same error messages.

This post has been edited by Raboo: Aug 6 2008, 06:20 AM
Go to the top of the page
 
+Quote Post
Raboo
post Aug 5 2008, 10:00 PM
Post #28


Newbie


Group: Members
Posts: 16
Joined: 8-January 07
Member No.: 120902
Country Flag


Ok I manually copied & extracted all files that failed to copy using WinSetupFromUSB. And the TXT setup starts but I run into another problem now.. while loading drivers/controllers when it reaches Silicon image SATA something... SI3132B4.sys
It says roughly translated:
CODE
Not enough memory for SI3132B4.sys.
Press any key to continue.


And when I do that it says
CODE
Installation Failed. Press any key to reboot.


I don't think the whole 1 gb of ram would be full with drivers.. :S

And somehow it worked with USB MultiBoot 10.

The question is, is it the memory or something else?
Did I do something wrong while i copied the missing files?
The $WIN_NT$.~BT is 24mb so I don't really think that the drivers takes 1 gb of ram....
Go to the top of the page
 
+Quote Post
wimb
post Aug 5 2008, 11:38 PM
Post #29


Member
Group Icon

Group: Software Developers
Posts: 236
Joined: 21-March 07
Member No.: 132150
Country Flag


The parsing of dosnet.inf fails. The double quotes are the problem.
Try to copy first complete XP Source from CD/DVD to Folder on Harddisk e.g. F:\XPR3
Then run WinSetupFromUSB again.

QUOTE
2008/08/05 18:07:25- ERROR!!!----F:"\I386"\ntdetect.com could not be copied to D:\Private\Projekt\USB\WinSetupFromUSB\TEMP\$WIN_NT$.~BT\


This post has been edited by wimb: Aug 5 2008, 11:40 PM
Go to the top of the page
 
+Quote Post
ilko_t
post Aug 6 2008, 02:49 AM
Post #30


Advanced Member
***

Group: Members
Posts: 402
Joined: 6-December 06
Member No.: 117812
Country Flag


blushing.gif
Thanks Wimb, I should have seen that, guess jet lag is killing me more than I realize.

It's an AutoIt issue with x64 or Vista, under XP i386 using DVD/CD as source does not fail in that part, I took care of that while coding. Just tested it again under XP with Windows files in CD:
CODE
...
2008/08/06 01:27:39- DOSNET.INF parsed, 125 files for ~BT folder
2008/08/06 01:27:39- D:\I386\disk1---> C:\WinSetupFromUSB\TEMP\$WIN_NT$.~BT\disk101
2008/08/06 01:27:39- D:\I386\ntdetect.com---> C:\WinSetupFromUSB\TEMP\$WIN_NT$.~BT\
2008/08/06 01:27:40- D:\I386\ntkrnlmp.ex_ ---> C:\WinSetupFromUSB\TEMP\$WIN_NT$.~BT\
2008/08/06 01:27:40- D:\I386\setupldr.bin---> C:\WinSetupFromUSB\TEMP\$WIN_NT$.~BT\
2008/08/06 01:27:40- D:\I386\txtsetup.sif---> C:\WinSetupFromUSB\TEMP\$WIN_NT$.~BT\
2008/08/06 01:27:40- D:\I386\biosinfo.inf---> C:\WinSetupFromUSB\TEMP\$WIN_NT$.~BT\
2008/08/06 01:27:40- D:\I386\disk1---> C:\WinSetupFromUSB\TEMP\$WIN_NT$.~BT\disk102
2008/08/06 01:27:40- D:\I386\hal.dl_ ---> C:\WinSetupFromUSB\TEMP\$WIN_NT$.~BT\
2008/08/06 01:27:40- D:\I386\halacpi.dl_ ---> C:\WinSetupFromUSB\TEMP\$WIN_NT$.~BT\
2008/08/06 01:27:40- D:\I386\halapic.dl_ ---> C:\WinSetupFromUSB\TEMP\$WIN_NT$.~BT\
2008/08/06 01:27:41- D:\I386\halaacpi.dl_ ---> C:\WinSetupFromUSB\TEMP\$WIN_NT$.~BT\
2008/08/06 01:27:41- D:\I386\drvmain.sdb---> C:\WinSetupFromUSB\TEMP\$WIN_NT$.~BT\
2008/08/06 01:27:41- D:\I386\setupreg.hiv---> C:\WinSetupFromUSB\TEMP\$WIN_NT$.~BT\
....
At the same time I tested a while ago the program under XP x64 with source on the hard disk and that worked fine.
Quites are not needed in AutoIt for file paths and are not added in the script anywhere, I am curious where they came from.
May have to compile separate version for x64 when I get back home, will investigate further.

Thanks for the accurate reports Raboo, it's pleasure responding to such.
Go to the top of the page
 
+Quote Post
Raboo
post Aug 6 2008, 08:55 AM
Post #31


Newbie


Group: Members
Posts: 16
Joined: 8-January 07
Member No.: 120902
Country Flag


I copied the XP CD to D:\

It didn't help much... still get the same errors

I've attached the log files
Attached File(s)
Attached File  WinSetupFromUSB.zip ( 2.02K ) Number of downloads: 16
 
Go to the top of the page
 
+Quote Post
Raboo
post Aug 6 2008, 10:28 AM
Post #32


Newbie


Group: Members
Posts: 16
Joined: 8-January 07
Member No.: 120902
Country Flag


I tried to do the same thing on a windows XP 32bit in vmware, i still get the same errors... maybe it's my WindowsXP that is messed up
Go to the top of the page
 
+Quote Post
Raboo
post Aug 6 2008, 10:46 AM
Post #33


Newbie


Group: Members
Posts: 16
Joined: 8-January 07
Member No.: 120902
Country Flag


I've found the problem, the problem is in my DOSNET.INF
CODE
[Directories]
d1 = "\I386"
d2 = "\cmpnents\tabletpc\I386"
d3 = "\cmpnents\mediactr\I386"


It should be
CODE
[Directories]
d1 = \I386
d2 = \cmpnents\tabletpc\I386
d3 = \cmpnents\mediactr\I386
Go to the top of the page
 
+Quote Post
ilko_t
post Aug 6 2008, 10:51 AM
Post #34


Advanced Member
***

Group: Members
Posts: 402
Joined: 6-December 06
Member No.: 117812
Country Flag


Please test the attached version. Extract the file in WinSetupFromUSB folder and launch it.

http://www.datafilehost.com/download-2c3b0317.html

Yep, the problem must be there, I haven't seen quotes in that section of DOSNET.INF, and included removal if present anyway.
Go to the top of the page
 
+Quote Post
Raboo
post Aug 6 2008, 03:04 PM
Post #35


Newbie


Group: Members
Posts: 16
Joined: 8-January 07
Member No.: 120902
Country Flag


The new version mostly works except for 2 important files:
CODE
2008/08/06 22:56:20- ERROR!!!----F:\I386\ntdll.dll could not be copied to D:\Private\Projekt\USB\WinSetupFromUSB\TEMP\$WIN_NT$.~BT\"system32\ntdll.dll"
2008/08/06 22:56:20- ERROR!!!----F:\I386\usetup.exe could not be copied to D:\Private\Projekt\USB\WinSetupFromUSB\TEMP\$WIN_NT$.~BT\"system32\smss.exe"


and it's from this part of DOSNET.INF
CODE
[FloppyFiles.3]
d1,disk1,disk104
d1,ntdll.dll,"system32\ntdll.dll"
d1,usetup.exe,"system32\smss.exe"

And again this works if I remove the quotation marks, ex. d1,ntdll.dll,system32\ntdll.dll

And btw the qutation marks is something nlite have added since my original windows source doesn't have them.
Go to the top of the page
 
+Quote Post
ilko_t
post Aug 6 2008, 04:13 PM
Post #36


Advanced Member
***

Group: Members
Posts: 402
Joined: 6-December 06
Member No.: 117812
Country Flag


Heh, quotes were not expected there too smile.gif
Here is a version, which should take care of them.
http://www.datafilehost.com/download-4bf62239.html

BTW what version of nLite is that? It rather seems like nLite bug, I wonder if winnt32.exe would accept that syntax.

This post has been edited by ilko_t: Aug 6 2008, 04:13 PM
Go to the top of the page
 
+Quote Post
Raboo
post Aug 6 2008, 07:35 PM
Post #37


Newbie


Group: Members
Posts: 16
Joined: 8-January 07
Member No.: 120902
Country Flag


QUOTE (ilko_t @ Aug 7 2008, 12:13 AM) *
BTW what version of nLite is that? It rather seems like nLite bug, I wonder if winnt32.exe would accept that syntax.

1.4.5 Final I think.

btw this latest one fixed the quotation marks issues but introduced a new error:
CODE
2008/08/07 03:29:51- ERROR!!!----F:\I386\Bootfont.bin could not be copied to D:\Private\Projekt\USB\WinSetupFromUSB\TEMP\�