Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

How to install Windows from USB- WinSetupFromUSB with GUI


  • Please log in to reply
2120 replies to this topic

#251
ilko_t

ilko_t

    MSFN Addict

  • Super Moderator
  • 1,722 posts
  • Joined 06-December 06
  • OS:none specified
  • Country: Country Flag
As for winnt.exe- you need to use /t:X or was it /t:X: where X: is the drive letter for the SSD disk/partition.
http://www.microsoft...t.mspx?mfr=true

I guess for NT 4 parameters are the same.

As for the error during 2003 setup- you will have to format the partitions in question using other program- gparted, format from DOS etc.
2003 setup detects the previously placed setup files, from winnt.exe, and refuses to format such partition, thinking its contents are critical for the setup.

Install Windows from USB, boot Linux, multiboot and a lot more with WinSetupFromUSB



How to remove advertisement from MSFN

#252
NT Man

NT Man

    Newbie

  • Member
  • 20 posts
  • Joined 22-December 08

As for winnt.exe- you need to use /t:X or was it /t:X: where X: is the drive letter for the SSD disk/partition.
http://www.microsoft...t.mspx?mfr=true

I guess for NT 4 parameters are the same.

Yes, parameter are same, but when I load from USB flash my SSD have "D:" letter, when i load from SSD, SSD have "C:" letter. How you solve this problem in WinSetupFromUSB?

Edited by NT Man, 28 December 2008 - 01:32 AM.


#253
ilko_t

ilko_t

    MSFN Addict

  • Super Moderator
  • 1,722 posts
  • Joined 06-December 06
  • OS:none specified
  • Country: Country Flag
Winnt.exe with the proper parameters will prepare the SSD with all needed setup files. After that USB sick is no longer required, so I wouldn't worry about the drive letters.
Not sure though if it would preserve them, the file used for the purpose is migrate.inf in ~BT folder. After winnt.exe is completed check if migrate.inf exists in the SSD\$win_nt$.~bt\ and delete it if does. Unplug the USB disk and start the laptop from the SSD to start Text mode setup.

Install Windows from USB, boot Linux, multiboot and a lot more with WinSetupFromUSB


#254
jaclaz

jaclaz

    The Finder

  • Developer
  • 14,567 posts
  • Joined 23-July 04
  • OS:none specified
  • Country: Country Flag
Maybe you could make a step back and simply use the good ol' way:
http://www.911cd.net...showtopic=16713

just use FAT16 instead of FAT32 for NT 4.00.

jaclaz

#255
Sergo

Sergo

    Newbie

  • Member
  • 23 posts
  • Joined 22-September 05
Hi,
First, thank you to all the people who contributed to this project, I was thinking about it long time ago and here it is!
sorry I was searching all over this thread but could not find an answer for this problem,


===
- USB letter is fixed to U: in case of removable USB disk and U: is searched first among the drive letters to avoid at least some of the silly windows errors with empty card readers.
====

For some reason my USB stick sets itself as D: (which is normal according to MS KB since its active primary partition ) and shifting all other disk and I want to install set %programfiles% to second partiton on a hard drive, so I can't change letters later.
Is there a way to assign it to U: or any other letter?

Also I want to relocate Program files and it's in [unattended] section, what are the alternatives to change this?
Can this registry edit be done in GUI portion?

=================
Best regards,
Sergo.

#256
ilko_t

ilko_t

    MSFN Addict

  • Super Moderator
  • 1,722 posts
  • Joined 06-December 06
  • OS:none specified
  • Country: Country Flag
As for the drive letter- did you use USB hard disk? Or USB stick which is seen as fixed by windows?
Did you install WinSetupFromUSB in a path without spaces or special characters in it?
Do you have migrate.inf in ~BT folder on the USB stick? Does it say about U: ?

As for the program files location- that's actually the last workaround left for fixing because of the removed unattended section.
Maybe adding a line to presetup.cmd like:

REG ADD "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion" /v ProgramFilesDir /t REG_SZ /d "D:\Program Files" /f
md "D:\Program Files"
Similar for CommonFilesDir if is desired.

This is not tested, just an idea. Not sure if Setup already placed during Text mode files for WMP or IE in c:\program files. Tests needed.

If presetup.cmd is too late to apply this changes, then we may have to use any means during text mode, setupreg.hiv, setupoem.inf or something like this. Not sure when this key is created during Text mode, it's not present in SETUPREG.HIV or HIVESFT.INF so must be dynamically created at some point.
Hope cdob is reading this, he is pretty good at this stuff. :ph34r: :)

edit:
BTW - quick and dirty workaround:
unattended section is remove because even with an empty section Text mode setup will attempt to install windows where ~BT and ~LS folders are.
But it will fail and return to partition selection screen if in that partition has less free space than the defined in txtsetup.sif.
Limited solution- put back unattended section, edit txtsetup.sif and set required free space more that you have free space on the partition on the USB disk/stick. Or create a dummy file, occupying so much space so it becomes less than the defined in txtsetup.sif:
fsutil.exe file createnew dummyfile.dum 1000000000
The latter is tested and works, but has limited usage.

Edited by ilko_t, 05 January 2009 - 01:57 AM.

Install Windows from USB, boot Linux, multiboot and a lot more with WinSetupFromUSB


#257
Sergo

Sergo

    Newbie

  • Member
  • 23 posts
  • Joined 22-September 05
Thank you, ilko_t for quick reply

Does it make a difference to try command line tool USB_MultiBoot.cmd?

As for the drive letter- did you use USB hard disk? Or USB stick which is seen as fixed by windows?
Did you install WinSetupFromUSB in a path without spaces or special characters in it?
Do you have migrate.inf in ~BT folder on the USB stick? Does it say about U: ?

In d:\programs\WinSetupUSB
Source was prepared by latest Nlite.
I used 4GB A-Data USB stick, it's recognized as USB-HDD in BIOS,
I Also used AHCI text-mode drivers for ATI SB600 (hard drive)
migrate.inf form USB stick
HKLM,"SYSTEM\MountedDevices","\DosDevices\U:",0x00030001,\
5C,00,3F,00,3F,00,5C,00,53,00,54,00,4F,00,52,00,41,00,47,00,45,00,23,00,52,00,65,00,6D,00,6F,00,76,0
0,61,00,62,00,6C,00,65,00,4D,00,65,00,64,00,69,00,61,00,23,00,38,00,26,00,33,00,34,00,36,00,33,00,39
,
00,64,00,31,00,62,00,26,00,30,00,26,00,52,00,4D,00,23,00,7B,00,35,00,33,00,66,00,35,00,36,00,33,00,3
0
,00,64,00,2D,00,62,00,36,00,62,00,66,00,2D,00,31,00,31,00,64,00,30,00,2D,00,39,00,34,00,66,00,32,00,
2
D,00,30,00,30,00,61,00,30,00,63,00,39,00,31,00,65,00,66,00,62,00,38,00,62,00,7D,00

fsutil.exe file createnew dummyfile.dum 1000000000

The latter is tested and works, but has limited usage.

That's what I was thinking just didn't know what program can create given length files.

Edited by Sergo, 05 January 2009 - 07:13 PM.

=================
Best regards,
Sergo.

#258
ilko_t

ilko_t

    MSFN Addict

  • Super Moderator
  • 1,722 posts
  • Joined 06-December 06
  • OS:none specified
  • Country: Country Flag

Does it make a difference to try command line tool USB_MultiBoot.cmd?

Nope, the procedure is the same.

Do you use in Windows where you prepared the USB stick Hitachi microdrive filter driver or dummydisk.sys to make USB sticks seen as removable?
Can you compress and attach WinSetupFromUSB.log, it contains information how Windows saw the USB stick. You may find backed up log files in d:\programs\WinSetupUSB\backups\ directory, just renamed with date-time stamp, just pick the largest one if you have many.
Did you by any chance move the radio button USB disk type to fixed?


That's what I was thinking just didn't know what program can create given length files.

Mind you file size given to fsutil is in bytes.

Edited by ilko_t, 05 January 2009 - 07:47 PM.

Install Windows from USB, boot Linux, multiboot and a lot more with WinSetupFromUSB


#259
Sergo

Sergo

    Newbie

  • Member
  • 23 posts
  • Joined 22-September 05

Do you use in Windows where you prepared the USB stick Hitachi microdrive filter driver or dummydisk.sys to make USB sticks seen as removable?

No, I didn't, I think it's removable already, there is an icon 'safely remove..' in a tray.
I attached the log
2009/01/03 22:10:32- Found USB Physical Disk: USB 2.0 USB Flash Drive USB Device -- \\.\PHYSICALDRIVE2
2009/01/03 22:10:32- Found USB Disk Partition: Disk #2, Partition #0
2009/01/03 22:10:34- Found USB Logical Disk: M: File system: FAT32 Bootable: -1

(I had two partitions on it before, HP util made one FAT32)
Disk management console in XP sees it as 'Removable'

Did you by any chance move the radio button USB disk type to fixed?

No.

Attached Files


=================
Best regards,
Sergo.

#260
ilko_t

ilko_t

    MSFN Addict

  • Super Moderator
  • 1,722 posts
  • Joined 06-December 06
  • OS:none specified
  • Country: Country Flag
Open regedit with the USB stick inserted and go to HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices
Do you see multiple entries \DosDevices\R: where R: is USB stick drive letter?

If that's not the case- I am running out of clues why Setup ignored migrate.inf. :unsure:
Can you run the Setup on another computer just to the partition screen in Text mode, is the USB stick U:?

Did you copy paste here all contents of migrate.inf? Binary data must be on one whole line and a few other lines are missing in what you posted.

Install Windows from USB, boot Linux, multiboot and a lot more with WinSetupFromUSB


#261
Sergo

Sergo

    Newbie

  • Member
  • 23 posts
  • Joined 22-September 05
[quote name='ilko_t' post='824346' date='Jan 5 2009, 10:46 PM']Open regedit with the USB stick inserted and go to HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices
Do you see multiple entries \DosDevices\R: where R: is USB stick drive letter?[/quote]
I see \DosDevices\M: \DosDevices\N: having the same value
I guess N is a remnant of second partition of USB stick (which is useless for Windows, so I removed it)
Should I remove it.

[quote]
If that's not the case- I am running out of clues why Setup ignored migrate.inf. :unsure:
Did you copy paste here all contents of migrate.inf? Binary data must be on one whole line and a few other lines are missing in what you posted.
[quote]

here's migrate.inf from USB stick after I used it to install (if it matters)
[Version]
Signature = "$Windows NT$"

[Addreg]
HKLM,"SYSTEM\MountedDevices",,0x00000010
HKLM,"SYSTEM\ControlSet001\Control\StorageDevicePolicies","WriteProtect",%REG_DWORD%,1
HKLM,"SYSTEM\MountedDevices","\DosDevices\U:",0x00030001,\
5C,00,3F,00,3F,00,5C,00,53,00,54,00,4F,00,52,00,41,00,47,00,45,00,23,00,52,00,65,00,6D,00,6F,00,76,0
0,61,00,62,00,6C,00,65,00,4D,00,65,00,64,00,69,00,61,00,23,00,38,00,26,00,33,00,34,00,36,00,33,00,39
,
00,64,00,31,00,62,00,26,00,30,00,26,00,52,00,4D,00,23,00,7B,00,35,00,33,00,66,00,35,00,36,00,33,00,3
0
,00,64,00,2D,00,62,00,36,00,62,00,66,00,2D,00,31,00,31,00,64,00,30,00,2D,00,39,00,34,00,66,00,32,00,
2
D,00,30,00,30,00,61,00,30,00,63,00,39,00,31,00,65,00,66,00,62,00,38,00,62,00,7D,00

[Strings]
;Handy macro substitutions non-localizable
REG_SZ = 0x00000000
REG_BINARY = 0x00000001
REG_DWORD = 0x00010001
REG_MULTI_SZ = 0x00010000
REG_SZ_APPEND = 0x00010008
REG_EXPAND_SZ = 0x00020000

Thank you very much for your help,
I'll try to find another machine to run setup.
I assume before target drive selection is made, hard drive is not modified?
=================
Best regards,
Sergo.

#262
ilko_t

ilko_t

    MSFN Addict

  • Super Moderator
  • 1,722 posts
  • Joined 06-December 06
  • OS:none specified
  • Country: Country Flag
Try another computer first, there are no disk changes if you do not continue setup. Use F3 or just power off the computer once you finish looking at the partition screen.

migrate.inf now looks fine, except the binary data is on multiple rows. Is it the board changing that, the program you open up migrate.inf with or an error when it was produced? Just make sure 5C,00,3F,00,3F,00,5C..... is one whole line. I use Notepad++ instead of Windows Notepad, has tens of great features. In this case view-->wrap unselected.

I guess N is a remnant of second partition of USB stick (which is useless for Windows, so I removed it)
Should I remove it.

Try deleting all partitions on the USB stick, use one whole partition and redo the preparation, this may matter.
BTW how did you partition it?

Edited by ilko_t, 05 January 2009 - 10:16 PM.

Install Windows from USB, boot Linux, multiboot and a lot more with WinSetupFromUSB


#263
Sergo

Sergo

    Newbie

  • Member
  • 23 posts
  • Joined 22-September 05

Try another computer first, there are no disk changes if you do not continue setup. Use F3 or just power off the computer once you finish looking at the partition screen.

migrate.inf now looks fine, except the binary data is on multiple rows. Is it the board changing that, the program you open up migrate.inf with or an error when it was produced? Just make sure 5C,00,3F,00,3F,00,5C..... is one whole line. I use Notepad++ instead of Windows Notepad, has tens of great features. In this case view-->wrap unselected.

I atteched the file, it uses '\ ' to break the lines.
I use Far.

I guess N is a remnant of second partition of USB stick (which is useless for Windows, so I removed it)
Should I remove it.

Try deleting all partitions on the USB stick, use one whole partition and redo the preparation, this may matter.

BTW how did you partition it?

I used Acronis Director boot disk, but I assume when I ran HP format utility it makes a single partition anyway.

Attached Files


=================
Best regards,
Sergo.

#264
ilko_t

ilko_t

    MSFN Addict

  • Super Moderator
  • 1,722 posts
  • Joined 06-December 06
  • OS:none specified
  • Country: Country Flag
So file is fine and USB stick should have one single partition after HP tool.

Try on another computer.

Install Windows from USB, boot Linux, multiboot and a lot more with WinSetupFromUSB


#265
Sergo

Sergo

    Newbie

  • Member
  • 23 posts
  • Joined 22-September 05
So I tried on two other computers (and BIOSes) HP ano Lenovo
same result, usb stick is detected as D: how it is supposed to according to MS Article ID: 234048 :
http://support.microsoft.com/kb/234048
===
Scan all fixed hard disks as they are enumerated, assign drive letters starting with any active primary partitions (if there is one), otherwise, scan the first primary partition on each drive. Assign next available letter starting with C:
====
So usb drive is a second active primary partition and C is taken, so it gets next letter.

Also tried to add gparted live gparted-live-0.4.1-2.iso
and UBCD4Win 3.22
- result boot menu get screwed up, no menu.lst just ubcd4win.lst, no mention of XP install.. :(
=================
Best regards,
Sergo.

#266
ilko_t

ilko_t

    MSFN Addict

  • Super Moderator
  • 1,722 posts
  • Joined 06-December 06
  • OS:none specified
  • Country: Country Flag
Hmm:
http://support.microsoft.com/kb/234048

NOTE: If you perform an unattended upgrade, the Migrate.inf file is not created, and drive letter assignments are not retained if the answer file includes the "oempreinstall=yes" parameter.

Did you put back unattended section? Does it include oempreinstall=yes?

Also tried to add gparted live gparted-live-0.4.1-2.iso
and UBCD4Win 3.22
- result boot menu get screwed up, no menu.lst just ubcd4win.lst, no mention of XP install..

That version of GParted is not supported yet, on the screen it says from which to which versions are supported- 0.3.4-8 to 0.3.9-4. With the next version will add the newer GParted, or just replace it with PartedMagic, which includes GParted along with other tools.

No idea why menu.lst would disappear, I cannot recreate the problem, nor I see anywhere in the code when menu.lst could be deleted. Maybe if you tell me the exact steps to reproduce it I could fix it.

To fix it manually without starting from a scratch:
Copy menu.lst and default if not in USB root from \files\grub4dos\. Add the following lines to menu.lst:

title Windows XP/2000/2003 Setup- First and Second parts
root (hd0,0)
configfile /winsetup.lst
savedefault

title Start UBCD4Win
root (hd0,0)
configfile /ubcd4win.lst
Assuming winsetup.lst and ubcd4win.lst are still intact in root.

Edited by ilko_t, 06 January 2009 - 09:45 PM.

Install Windows from USB, boot Linux, multiboot and a lot more with WinSetupFromUSB


#267
Sergo

Sergo

    Newbie

  • Member
  • 23 posts
  • Joined 22-September 05

Hmm:
http://support.microsoft.com/kb/234048

NOTE: If you perform an unattended upgrade, the Migrate.inf file is not created, and drive letter assignments are not retained if the answer file includes the "oempreinstall=yes" parameter.

Did you put back unattended section? Does it include oempreinstall=yes?


I tried both with oempreinstall=yes and no, and without unattended section at all.
Does it actually work for anybody, so USB drive is not D:?
As I undestand the installation simulates upgrade of existing Windows (migrate.inf) preserving old letter arrangement to avoid normal letter assignment?
=================
Best regards,
Sergo.

#268
ilko_t

ilko_t

    MSFN Addict

  • Super Moderator
  • 1,722 posts
  • Joined 06-December 06
  • OS:none specified
  • Country: Country Flag
Posted Image

migrate.inf:
[Version]
Signature = "$Windows NT$"

[Addreg]
HKLM,"SYSTEM\MountedDevices",,0x00000010
HKLM,"SYSTEM\ControlSet001\Control\StorageDevicePolicies","WriteProtect",%REG_DWORD%,1
HKLM,"SYSTEM\MountedDevices","\DosDevices\U:",0x00030001,\
5C,00,3F,00,3F,00,5C,00,53,00,54,00,4F,00,52,00,41,00,47,00,45,00,23,00,52,00,65,00,6D,00,6F,00,76,0
0,61,00,62,00,6C,00,65,00,4D,00,65,00,64,00,69,00,61,00,23,00,37,00,26,00,31,00,36,00,66,00,37,00,32
,
00,32,00,61,00,34,00,26,00,30,00,26,00,52,00,4D,00,23,00,7B,00,35,00,33,00,66,00,35,00,36,00,33,00,3
0
,00,64,00,2D,00,62,00,36,00,62,00,66,00,2D,00,31,00,31,00,64,00,30,00,2D,00,39,00,34,00,66,00,32,00,
2
D,00,30,00,30,00,61,00,30,00,63,00,39,00,31,00,65,00,66,00,62,00,38,00,62,00,7D,00

[Strings]
;Handy macro substitutions non-localizable
REG_SZ = 0x00000000
REG_BINARY = 0x00000001
REG_DWORD = 0x00010001
REG_MULTI_SZ = 0x00010000
REG_SZ_APPEND = 0x00010008
REG_EXPAND_SZ = 0x00020000

winnt.sif:
[data]
floppyless="1"
msdosinitiated="1"
winntupgrade="no"
win9xupgrade="no"
EulaComplete="1"

Quickly prepared USB stick with 'Copy setup boot files only' option checked.

Install Windows from USB, boot Linux, multiboot and a lot more with WinSetupFromUSB


#269
Sergo

Sergo

    Newbie

  • Member
  • 23 posts
  • Joined 22-September 05
Tried different flash drive today
Before it was A-Data
A-Data
no luck
Since it was slow today tried Supertalent 8GB Pico-C

http://www.supertale...l.php?type=Pico

and magic happened! It became U: despite all the laws of Microsoft.
Irrelevant of presense of [unattended] section.
The only problem is a bug in Windows of determining free space
after WinSetupFromUSB is done, it shows ~7.3GB free, but max file size that can be created is ~5.5GB
so windows setup tries to install on USB drive, fortunately it sees it's fat32 and stops to offer to convert it to NTFS where
you can press 'ESC' and go go back to install partition selection.
Thank you for your help, ilko_t,
I'd never guessed that flash drive model plays a role.
=================
Best regards,
Sergo.

#270
ilko_t

ilko_t

    MSFN Addict

  • Super Moderator
  • 1,722 posts
  • Joined 06-December 06
  • OS:none specified
  • Country: Country Flag
Wow, nice :)

The only ideas I have about not getting U: - A-Data USB stick has the removable bit flipped, but then why your windows was seeing it as removable, but not the Setup? Or it has abilities to emulate CD-ROM device, does it? Other than that I am clueless why this would happen.

As for the dummy file- did you try to create a second one?
Other way is to edit txtsetup.sif and space requirements.

Mind you- FAT32 could be VERY slow, NTFS outperforms it in times:
http://www.msfn.org/...howtopic=125116

Anyway, glad you made it and thanks for reporting back :)

edit- BTW I wonder how you managed to place 5.5GB file in FAT32 partition. The maximum file size is 4GB - 1byte, maybe this explains the error you had. Try putting 2 dummy files.

Edited by ilko_t, 09 January 2009 - 12:37 AM.

Install Windows from USB, boot Linux, multiboot and a lot more with WinSetupFromUSB


#271
Sergo

Sergo

    Newbie

  • Member
  • 23 posts
  • Joined 22-September 05

Wow, nice :)

The only ideas I have about not getting U: - A-Data USB stick has the removable bit flipped, but then why your windows was seeing it as removable, but not the Setup? Or it has abilities to emulate CD-ROM device, does it? Other than that I am clueless why this would happen.


I noticed in BIOS its detected as 'USB Flash drive 0.00'
its seems like there is some id info for USB devices that designers had to write, something like SPD for DIMM,
and maybe A-Data didn't bother, so bios doesn't know how to interpret it.
Bot both ST and A-Data detected in Hard drive section of my BIOS setup (Foxconn A690GM2A)

As for the dummy file- did you try to create a second one?
Other way is to edit txtsetup.sif and space requirements.
edit- BTW I wonder how you managed to place 5.5GB file in FAT32 partition. The maximum file size is 4GB - 1byte, maybe this explains the error you had. Try putting 2 dummy files.


Yea, I had to create a second file, I totally forgot about 4GB limit of FAT32, and it puzzled me how come there is lots of space but I can't copy a file of even less size (I also wanted to put an image for acronis)

Mind you- FAT32 could be VERY slow, NTFS outperforms it in times:
http://www.msfn.org/...howtopic=125116


THANK YOU for a tip, it makes all the difference in the world, FAT32 text mode copy stage took ~ one _hour_
in NTFS I just plugged a stick at the back of computer and before I set down on my chair, it was done, ~2 min total
crazy!
Also creating a filler file with fsutil with fat32 takes ~20 min, with NTFS - instant! seems like it doesn't write 0 on actual media.

Interesting, putting setup file on disk takes about the same type.
I assume text mode setup uses kernel drivers to copy files not BIOS and the same drivers are used when windows fully installed?

But with NTFS you can't put anything else, is it limitation of grub4dos? BartPE should be able to understand NTFS?
Maybe as fix partition USB stick and make second partition FAT32 (or ext3) and put linux tools there?
Grub4dos probably can see it.
root (hd0,1)

Also I assume WinSetupFromUSB should not interfere with RyanVM update packs and Nlite fixes?
(speedUp - reducing numbers of drivers loaded in text mode)

Also just, noticed, there is a lot of free spaces (several big gaps) in txtsetup.sif in the end portion, it make loading slower.
Just tested on 8Gb stick, txtsetup.sif
[DiskSpaceRequirements]
FreeSysPartDiskSpace = 7024
UpgradeFreeSysPartDiskSpace = 7024

doesn't help.

Edited by Sergo, 11 January 2009 - 10:19 AM.

=================
Best regards,
Sergo.

#272
ilko_t

ilko_t

    MSFN Addict

  • Super Moderator
  • 1,722 posts
  • Joined 06-December 06
  • OS:none specified
  • Country: Country Flag

I assume text mode setup uses kernel drivers to copy files not BIOS and the same drivers are used when windows fully installed?

Yep. And MS guys screwed up something in the FAT/FAT32 driver in windows after 2000.

But with NTFS you can't put anything else, is it limitation of grub4dos? BartPE should be able to understand NTFS?

You can put many things. Any Windows PE would work just fine, NTFS support is as in normal Windows.
Grub4dos is happy with NTFS, so everything is up to what you are booting with it.
Vista Setup/Vista PE is fine as above.
GParted 0.3.4-8 is OK from NTFS, later versions- not.
PartedMagic (after 3.0 tested) is fine too.
Ubuntu maybe fine too.

Second partition is always an option.

Also I assume WinSetupFromUSB should not interfere with RyanVM update packs and Nlite fixes?
(speedUp - reducing numbers of drivers loaded in text mode)

Most likely- no, it should not interfere.

Just tested on 8Gb stick, txtsetup.sif
[DiskSpaceRequirements]
FreeSysPartDiskSpace = 7024
UpgradeFreeSysPartDiskSpace = 7024

Not quite sure which lines should be amended. Do a quick search at msfn.org, I've seen many topics about modifying disk space requirements.

Install Windows from USB, boot Linux, multiboot and a lot more with WinSetupFromUSB


#273
Sergo

Sergo

    Newbie

  • Member
  • 23 posts
  • Joined 22-September 05
Just noticed in setuplog.txt.
Tried two different sources of vanilla XP with SP3 integrated same result:
is there any debug flags for setup programs to get more info?
Other than these so far seems to look OK.


Setup encountered an error while trying to set system security

01/11/2009 14:25:49.156,d:\xpsp\base\ntsetup\syssetup\welcome.c,1289,BEGIN_SECTION,Installing security
01/11/2009 14:26:01.093,d:\xpsp\base\ntsetup\syssetup\log.c,133,,Setup encountered an error while trying to set system security.

The data is invalid.



01/11/2009 14:26:01.093,d:\xpsp\base\ntsetup\syssetup\log.c,133,,Error
01/11/2009 14:26:01.093,d:\xpsp\base\ntsetup\syssetup\log.c,133,,:

01/11/2009 14:26:01.093,d:\xpsp\base\ntsetup\syssetup\log.c,133,,Setup encountered an error while trying to set system security.

The data is invalid.


Plus repeating errors like this

01/11/2009 14:26:41.734,d:\xpsp\base\ntsetup\syssetup\syspnp.c,5712,,SETUP: SetupDiCallClassInstaller(DIF_ALLOW_INSTALL) succeeded. Device = Standard OpenHCD USB Host Controller
01/11/2009 14:26:41.750,d:\xpsp\base\ntsetup\syssetup\syspnp.c,5767,,SETUP: SetupDiCallClassInstaller(DIF_INSTALLDEVICEFILES) succeeded. Device = Standard OpenHCD USB Host Controller
01/11/2009 14:26:41.796,d:\xpsp\base\ntsetup\syssetup\log.c,133,,C:\WINDOWS\system32\usbhub.sys was not deleted because of the following error:
The system cannot find the file specified.


01/11/2009 14:26:41.796,d:\xpsp\base\ntsetup\syssetup\log.c,133,,C:\WINDOWS\system32\openhci.sys was not deleted because of the following error:
The system cannot find the file specified.


=================
Best regards,
Sergo.

#274
ilko_t

ilko_t

    MSFN Addict

  • Super Moderator
  • 1,722 posts
  • Joined 06-December 06
  • OS:none specified
  • Country: Country Flag
Setup already creates a bunch of log files in \windows\. I am not aware of any additional parameter, which would cause more verbose output.

As for the errors above- I'd ignore them if setup went fine.

Install Windows from USB, boot Linux, multiboot and a lot more with WinSetupFromUSB


#275
Sergo

Sergo

    Newbie

  • Member
  • 23 posts
  • Joined 22-September 05
Check with old offically supported version of Gparted and UBCD4Win 3.22,
the menu.lst get messed up anyway.

Does anybody know what 0x00030001 means (device attribute, removable?)
It's not present in original registry key.
HKLM,"SYSTEM\MountedDevices","\DosDevices\U:",0x00030001

=================
Best regards,
Sergo.




7 user(s) are reading this topic

0 members, 7 guests, 0 anonymous users