Sergo
Content Type
Profiles
Forums
Events
Posts posted by Sergo
-
-
Hi, ilko_t & Co.
Do you offically support booting from SD card readers?
I had a Dell with multi-card reader and WSfromUSB saw all extra drives.
At home I had just simple SDHC card reader (from Ledshoppe) and WSFUSB doesn even show it?
BUT, hp format utility works fine, and MS DOS boots fine from it.
0 -
Seems ok, but for some reason,
windows doesn't boot from hard drive
I tried to reinstall from a usb key again today on the same machine (X61)
works ok.
Hopefully it was a random glitch
0 -
Edit:
Tried on another machine (first one was Lenovo X61, this one lenovo M57e)
it seems to be working OK
============
Tried new version today
Seems ok, but for some reason,
windows doesn't boot from hard drive
no errors, just blinking cursor,
booting from usb using grub4dos and starting ntldr from _hard drive_ using boot.ini from hard drive works ok,
installing same image from CD - OK.
Fixmbr,fixboot from recovery console does not help.
winnt.sif unattended section is now FULLY supported, including custom directories and drivers pathsc.f. presetup.cmd
IF EXIST %CDDRIVE%\$WIN_NT$.~LS\$OEM$\$Progs\nul xcopy %CDDRIVE%\$WIN_NT$.~LS\$OEM$\$Progs\*.* "%systemdrive%\Program Files\" /i /k /e /r /y /hI changed
%systemdrive%\Program Files\
to %programfiles%\
seems working.
0 -
Sergo, I am running XP x64, so maybe that is why I see it. Please try one more time. Open Run dialog (command prompt works also) and type "cmd /?" and hit enter. You will need to hit enter several times to get to the part about the /R. If you still don't see it, please post a screen shot of what you do get. Have fun, John.
Ok, you won
Note that multiple commands separated by the command separator '&&'are accepted for string if surrounded by quotes. Also, for compatibility
reasons, /X is the same as /E:ON, /Y is the same as /E:OFF and /R is the
same as /C. Any other switches are ignored.
0 -
Sergo, if you open a Run dialog and type "cmd /?" (no quotes), it will tell you. For compatibility reasons /R is the same as /C. Enjoy, John.
I did, even command.com /?
no such option. (even ss64.com doesn't mention it)
0 -
Maybe offtopic,
but what is the purpose of /R switch for cmd.exe?
0 -
Does this project officially support Win PRO x64?
For some reason ProgramFiles directories variables in winnt.sif were not preserved.
0 -
@Sergo
Look at FAQs, Q3/A3:
Thanks, ilko_t
hacked ntdetect.com fixed the problem
How did you figure out what code to correct?
0 -
Have been playing with WinSetupFromUSB for a while worked ok so far, even on laptop.
But hit a snag today with Dell Optiplex 755 (ICH9)
with all drivers integrated (same install for on Dell E6400,also intel chipset)
I got a bSOD 0x7B only when boot from USB (when 32 bit setup starts)
booting the same image from CD is OK.
It seems setup considers USB drive a boot device but can't find a 32 bit driver for it?
Edit: Also tested on external USB hard drive - same result.
0 -
Sorry if this question was answered before
I assume this utility can safely be used to install from usb hard drive (and a specific partition on it) ?
0 -
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
0 -
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 security01/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 Controller01/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.
0 -
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: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.
0 -
Tried different flash drive today
Before it was A-Data
no luck
Since it was slow today tried Supertalent 8GB Pico-C
http://www.supertalent.com/products/stt_us...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.
0 -
Hmm:
http://support.microsoft.com/kb/234048
Did you put back unattended section? Does it include oempreinstall=yes?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.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?
0 -
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..
0 -
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.
Try deleting all partitions on the USB stick, use one whole partition and redo the preparation, this may matter.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.
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.
0 -
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?
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.
If that's not the case- I am running out of clues why Setup ignored migrate.inf.
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.
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 = 0x00020000Thank 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?
0 -
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.
0 -
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,00fsutil.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.
0 -
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.
0
How to install Windows from USB- WinSetupFromUSB with GUI
in Install Windows from USB
Posted · Edited by Sergo
Maybe you didn't understand my question.
It was preformatted with FAT32 but
wasn't even visible in USB Disk Selection dropdown list.
HP format utily saw it fine.
After I formatted with it outside of WSFUSB, and run WSFUSB again it saw it.