MSFN Forum: [SOLVED] USBstick take letter D and not U - MSFN Forum

Jump to content


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

[SOLVED] USBstick take letter D and not U I choose to assign U to the USBkey..

#1 User is offline   pipster 

  • Newbie
  • Group: Members
  • Posts: 40
  • Joined: 02-June 07

Posted 30 March 2009 - 04:50 PM

Hi all!
I searched wherever but found nothing to solve my problem.
I edit win setup with nlite to assign "Doc&Settings" and "Program Files" folders to the second partition D.
When I create the USBstick to install windows I choose to assign drive letter U (modded migrate.inf) anyway in the textmode setup my USBstick take always letter D.
So if I continue setup, some folders are created in my usb.
When I'm in textmode I see this table:

476938 SCSI disk, Id 0, bus 0, on iaStor [MBR]
C: Partition1 (XP) [NTFS]
E: Partition2 (XP_data) [NTFS]
F: Partition3 (Vista) [NTFS]
G: Partition4 (Share) [FAT32]

1962 disk [MBR]
D: Partition1 (XP_USB) [NTFS]

What can I do to have this instead?:
476938 SCSI disk, Id 0, bus 0, on iaStor [MBR]
C: Partition1 (XP) [NTFS]
D: Partition2 (XP_data) [NTFS]
E: Partition3 (Vista) [NTFS]
F: Partition4 (Share) [FAT32]

1962 disk [MBR]
U: Partition1 (XP_USB) [NTFS]

Can you help me??
Thank you!

This post has been edited by pipster: 23 April 2009 - 04:50 PM



#2 User is offline   wimb 

  • Senior Member
  • Group: Developers
  • Posts: 633
  • Joined: 21-March 07

Posted 31 March 2009 - 12:51 AM

View Postpipster, on Mar 30 2009, 11:50 PM, said:

I edit win setup with nlite to assign "Doc&Settings" and "Program Files" folders to the second partition D.
When I create the USBstick to install windows I choose to assign drive letter U (modded migrate.inf) anyway in the textmode setup my USBstick take always letter D.
So if I continue setup, some folders are created in my usb.

Assigning Drive Letter U: using migrate.inf only works for Removable Devices.

Is your USB-stick in My Computer presented in the List of Fixed Local Drives ?

What Drive Type (Option 0 in USB_MultiBoot_10.cmd) did you use: USB-stick or USB-Harddisk ?

Can you give your migrate.inf as produced by USB_MultiBoot_10.cmd in the $WIN_NT$.~BT folder on USB-stick ?

#3 User is offline   pipster 

  • Newbie
  • Group: Members
  • Posts: 40
  • Joined: 02-June 07

Posted 31 March 2009 - 02:21 AM

View Postwimb, on Mar 31 2009, 07:51 AM, said:

Assigning Drive Letter U: using migrate.inf only works for Removable Devices.

Is your USB-stick in My Computer presented in the List of Fixed Local Drives ?

What Drive Type (Option 0 in USB_MultiBoot_10.cmd) did you use: USB-stick or USB-Harddisk ?

Can you give your migrate.inf as produced by USB_MultiBoot_10.cmd in the $WIN_NT$.~BT folder on USB-stick ?

Hi wimb and thanks for your reply. Let me say USB_MultiBoot_10 is a wonderful piece of code.
Yes, my USB-stick is a Verbatim Store-n-go (2gb) and is listed as Removable Devices in MyComputer.
I always use USB-stick as drive type at option 0 in USB_MultiBoot_10.
Here's my 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,38,00,26,00,31,00,35,00,37,00,61,00,64,
00,36,00,32,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,30,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,2D,00,3
0,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! :)

#4 User is offline   ilko_t 

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

Posted 31 March 2009 - 06:53 AM

Similar problem described here and the following posts:
http://www.msfn.org/board/index.php?showto...st&p=824348

Can you try with another USB stick? This was the resolution in that case.

#5 User is offline   pipster 

  • Newbie
  • Group: Members
  • Posts: 40
  • Joined: 02-June 07

Posted 31 March 2009 - 08:24 AM

View Postilko_t, on Mar 31 2009, 01:53 PM, said:

Similar problem described here and the following posts:
http://www.msfn.org/board/index.php?showto...st&p=824348

Can you try with another USB stick? This was the resolution in that case.


Ops! I bought a 2gb usb-drive just for xp setup..
Anyway ok. I will try with another stick as soon as I find one.
Thanks!

Also I noticed another thing.. In my nlited winnt.sif there is this section:
 [Unattended]
 UnattendMode=DefaultHide
 UnattendSwitch="Yes"
 OemPreinstall="Yes"
 OemSkipEula="Yes"
 ProgramFilesDir="D:\Programmi"
 CommonProgramFilesDir="D:\Programmi\File comuni"
 FileSystem=*
 WaitForReboot="No"
 NoWaitAfterTextMode=1
 NoWaitAfterGUIMode=1
 DriverSigningPolicy=Ignore
 NonDriverSigningPolicy=Ignore

..that is not present in the version modded by USB_MultiBoot_10.
Note that I specify to use partition D for the "Program files" folder and for "Documenti and Settings" too.
Is it correct to miss that part?

This post has been edited by pipster: 31 March 2009 - 08:30 AM


#6 User is offline   wimb 

  • Senior Member
  • Group: Developers
  • Posts: 633
  • Joined: 21-March 07

Posted 31 March 2009 - 09:44 AM

View Postpipster, on Mar 31 2009, 03:24 PM, said:

..that is not present in the version modded by USB_MultiBoot_10.
Note that I specify to use partition D for the "Program files" folder and for "Documenti and Settings" too.
Is it correct to miss that part?

Unfortunately, the procedure of USB_MultiBoot_10.cmd does NOT allow to make use of [Unattended] Section.

However, there are two very good solutions which can handle the [Unattended] Section as you wish:

WinSetupFromUSB of ilko_t
http://www.msfn.org/...howtopic=120444

Install XP from USB AFTER Booting with PE from HDD or USB
http://www.boot-land...?showtopic=5306

Quote

Another advantage is that you can use the FULL XP Source unchanged just as with Install from CD
and the $OEM$ folder is recognised and the [Unattended] section of winnt.sif file is used as normal.


ilko_t indicated already that your USB-stick Make is may be NOT willing
for getting Drive letter U: during XP Setup ....

This post has been edited by wimb: 31 March 2009 - 11:03 AM


#7 User is offline   ilko_t 

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

Posted 31 March 2009 - 10:21 AM

Changing default directories paths is not yet supported in WinSetupFromUSB. In my last tests I noticed that "program files" and "documents and settings" were not created during Text mode part, which gives pretty good chances to find a workaround by using presetup.cmd for example. However, I was after something else and did not pay much attention, the above statement could be wrong.

#8 User is offline   pipster 

  • Newbie
  • Group: Members
  • Posts: 40
  • Joined: 02-June 07

Posted 31 March 2009 - 12:07 PM

Thank you both wimb and ilko_t. :)
I will make some test and post results here. Maybe it could be useful for someone... stay tuned! ;)

This post has been edited by pipster: 31 March 2009 - 12:07 PM


#9 User is offline   pipster 

  • Newbie
  • Group: Members
  • Posts: 40
  • Joined: 02-June 07

Posted 03 April 2009 - 02:52 AM

I tested another usb pendrive (Imation Nano 4gb) and it's quite the same. Now I have:

3892 disk [MBR]
D: Partition1 (XP_USB) [NTFS]

476938 SCSI disk, Id 0, bus 0, on iaStor [MBR]
C: Partition1 (XP) [NTFS]
E: Partition2 (XP_data) [NTFS]
F: Partition3 (Vista) [NTFS]
G: Partition4 (Share) [FAT32]

So I think it's impossible for me to install Windows from usb.
Furthermore when I try to include the [Unattended] section in both winat.sif and winnt.sif I get an error just before the partitioning screen in txtsetup. Some of this:
"Impossible to copy \WINDOWS folder. Impossible to find the folder..."

So I'm coming back to the classic cd(nlited) setup. I'm sorry.
Setup after booting with WinPE is too much complicated to use and to update.
Maybe I will try later with Vista on my second partition.

Anyway if any of you has a workaround to my problems please let me now.
Thank you!! :)

This post has been edited by pipster: 03 April 2009 - 02:54 AM


#10 User is offline   ilko_t 

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

Posted 04 April 2009 - 03:39 PM

View Postilko_t, on Mar 31 2009, 08:21 AM, said:

Changing default directories paths is not yet supported in WinSetupFromUSB.
I have to correct myself- using WinSetupFromUSB 0.2, which will be published in a few days and custom directories, defined in winnt.sif DOES work. Seems the trick with merging back the unattended section to $winnt$.inf using presetup.cmd does the trick. The directories entries are parsed from $winnt$.inf after start of GUI mode, after presetup.cmd was launched and actually a few minutes after T-39, when the directories are created as well.

winnt.sif:
[Unattended]
UnattendMode=FullUnattended
UnattendSwitch="Yes"
OemPreinstall="Yes"
OemSkipEula="Yes"
FileSystem=*
WaitForReboot="No"
NoWaitAfterTextMode=1
NoWaitAfterGUIMode=1
DriverSigningPolicy=Ignore
NonDriverSigningPolicy=Ignore
OemPnPDriversPath="drivers\01 wireless;drivers\02 lan;drivers\03 video"
ProgramFilesDir="D:\Program_Files"
CommonProgramFilesDir="D:\Program_Files\My_Common_Files"
....
[GuiUnattended]
EncryptedAdminPassword="No"
AutoLogon="Yes"
AdminPassword=*
TimeZone=085
OEMSkipRegional=1
OemSkipWelcome=1
ProfilesDir="D:\Documents_Settings\"


setuplog.txt:

Quote

....
4/04/2009 23:49:53.389,d:\xpsp\base\ntsetup\syssetup\log.c,133,,U:\$WIN_NT$.~LS\i386\IEXPLORE.EX_ was copied to D:\Program_Files\Internet Explorer\IEXPLORE.EXE.

04/04/2009 23:49:53.405,d:\xpsp\base\ntsetup\syssetup\log.c,133,,U:\$WIN_NT$.~LS\i386\iedw.ex_ was copied to D:\Program_Files\Internet Explorer\iedw.exe.

04/04/2009 23:49:53.421,d:\xpsp\base\ntsetup\syssetup\log.c,133,,U:\$WIN_NT$.~LS\i386\HMMAPI.DL_ was copied to D:\Program_Files\Internet Explorer\HMMAPI.DLL.

04/04/2009 23:49:53.452,d:\xpsp\base\ntsetup\syssetup\log.c,133,,U:\$WIN_NT$.~LS\i386\html32.cn_ was copied to D:\Program_Files\My_Common_Files\Microsoft Shared\TextConv\html32.cnv.
....
04/04/2009 23:49:58.780,d:\xpsp\base\ntsetup\syssetup\log.c,133,,U:\$WIN_NT$.~LS\i386\bluehill.jp_ was copied to D:\Documents_Settings\All Users.WINDOWS\Documents\My Pictures\Sample Pictures\Blue hills.jpg.

04/04/2009 23:49:58.796,d:\xpsp\base\ntsetup\syssetup\log.c,133,,U:\$WIN_NT$.~LS\i386\sunset.jp_ was copied to D:\Documents_Settings\All Users.WINDOWS\Documents\My Pictures\Sample Pictures\Sunset.jpg.
....


setupapi.log:

Quote

...
#I022 Found "PCI\VEN_8086&DEV_4220&SUBSYS_27228086" in d:\drivers\01 wireless\w29n51.inf; Device: "Intel® PRO/Wireless 2200BG Network Connection"; Driver: "Intel® PRO/Wireless 2200BG Network Connection"; Provider: "Intel"; Mfg: "Intel Corporation"; Section name: "Install_DELLMPCI3A_BG_XP".
...

As far as I remember 0.1.1 should work fine with those entries as well.

In other words pretty much everything in winnt.sif has been covered ;)

This post has been edited by ilko_t: 04 April 2009 - 03:42 PM


#11 User is offline   pipster 

  • Newbie
  • Group: Members
  • Posts: 40
  • Joined: 02-June 07

Posted 04 April 2009 - 04:38 PM

View Postilko_t, on Apr 4 2009, 10:39 PM, said:

I have to correct myself- using WinSetupFromUSB 0.2, which will be published in a few days and custom directories, defined in winnt.sif DOES work. Seems the trick with merging back the unattended section to $winnt$.inf using presetup.cmd does the trick. The directories entries are parsed from $winnt$.inf after start of GUI mode, after presetup.cmd was launched and actually a few minutes after T-39, when the directories are created as well.
CUT
As far as I remember 0.1.1 should work fine with those entries as well.

In other words pretty much everything in winnt.sif has been covered ;)


This is great! I'll try when you release it and when I complete my WinXPsp3 cd with nLite.
Anyway I have to find a workaround for the missing U:\ driveletter.. :(
As soon as I can I'll make other test.
Thanks ilko_t for the advice ;)

#12 User is offline   ilko_t 

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

Posted 05 April 2009 - 01:58 AM

Can you test the same stick on another computer? This would be harmless- just get to the partitioning screen in Text mode and see drive letters, no need to continue with installation. Then you can shut down the PC or use F3 to abort Setup.

#13 User is offline   pipster 

  • Newbie
  • Group: Members
  • Posts: 40
  • Joined: 02-June 07

Posted 09 April 2009 - 02:16 PM

View Postilko_t, on Apr 5 2009, 09:58 AM, said:

Can you test the same stick on another computer? This would be harmless- just get to the partitioning screen in Text mode and see drive letters, no need to continue with installation. Then you can shut down the PC or use F3 to abort Setup.


Hello and sorry for late... :unsure:
I tested your GUI apps with my first usb key (Verbatim) but now I get just this line:
3892 disk [MBR]
C: Partition1 (XP_USB) [NTFS]

So all of my other partition are invisible and I can't continue with setup.
Unfortunately I don't have another USB boot compatible computer so I can't try...

Then I tried to use FAT for the USB_drive and at boot I have black screen with only this entry:
Second part XP professional setup from hd 0 part 1

In the boot.ini I have entry for the 2nd part only. Nothing for the first part so I can't start txtsetup.

#14 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 April 2009 - 03:17 PM

You most likely do not have the appropriate mass storage (SATA) driver included, or in BIOS SATA mode was on IDE and now is in AHCI/SATA/RAID mode. Did you use the same windows source?

Don't use FAT on this large drive, try FAT32 instead, but be warned- file copy part in Text mode could be painfully slow. NTFS is much faster.

#15 User is offline   pipster 

  • Newbie
  • Group: Members
  • Posts: 40
  • Joined: 02-June 07

Posted 09 April 2009 - 03:31 PM

The windows source is the same with sata drivers nlited, working on cd.
Bios settings are the same.
I know FAT could really slow but I thought to make a try and see if there was some chance to get U letter for my usb stick.
Thanks for advice :)

#16 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 April 2009 - 04:03 PM

Can you attach your txtsetup.sif from USB disk root?
What computer is this, brand/model if is laptop? Motherboard model if desktop? Do you know by any chance the HardwareID of the SATA controller?
I see iastor used, can you try setting up SATA controller in IDE mode and try again?

#17 User is offline   pipster 

  • Newbie
  • Group: Members
  • Posts: 40
  • Joined: 02-June 07

Posted 09 April 2009 - 04:32 PM

View Postilko_t, on Apr 10 2009, 12:03 AM, said:

Can you attach your txtsetup.sif from USB disk root?
What computer is this, brand/model if is laptop? Motherboard model if desktop? Do you know by any chance the HardwareID of the SATA controller?
I see iastor used, can you try setting up SATA controller in IDE mode and try again?

Yes, of course!
CPU: Intel i7 920
MotherBoard: Asus P6T

Sata controller is Intel ICH10R
HWID: PCI\VEN_8086&DEV_3A22&SUBSYS_82D41043&REV_00

Here's my txtsetup.sif
Attached File  TXTSETUP.rar (66.6K)
Number of downloads: 5

Let me make another test in NTFS to try in IDE mode because in FAT I got the same, just 2nd part in black screen...

This post has been edited by pipster: 09 April 2009 - 07:39 PM


#18 User is offline   pipster 

  • Newbie
  • Group: Members
  • Posts: 40
  • Joined: 02-June 07

Posted 09 April 2009 - 08:12 PM

Made other tests using NTFS format on the Imation Nano 4gb.
I tried:
1. BIOS AHCI mode both with original presetup.cmd or with some change in the beginning lines:
SET TAGFILE=\$WIN_NT$.~LS
FOR %%h IN (U M N O P Q R S T V W X Y) DO IF EXIST "%%h:%TAGFILE%" SET CDDRIVE=%%h:
if "%CDDRIVE%" == "" (
FOR %%h IN (C D E F G H I J K L) DO IF EXIST "%%h:%TAGFILE%" SET CDDRIVE=%%h:
)

I simply moved D from first group of letters to the 2nd.
I get the same entries as my other post 9

2. BIOS IDE mode with original and modded presetup.cmd and get the same

Anyway I think that change in presetup has no effect on anything...
I really don't know what I can do right now :wacko:

#19 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 April 2009 - 03:30 AM

You have no entries for iaStor, neither for PCI\VEN_8086&DEV_3A22 in the txtsetup.sif posted. :blink:

What is broken? In your first post I see iaStor loaded. You are saying that you have used the same source. Where did iaStor driver come from in your first post and why it is not present in the posted txtsetup.sif? Something must have been changed meanwhile.

Presetup.cmd is loaded at start of GUI mode and does not play any role during Text mode where you problem is. No need to play with it at all.

I would advice you to start with clean, original, not modified in any way XP SP3. If you cannot find such source use for the tests the trial Server 2003, freely available from MS:
http://technet.microsoft.com/en-us/windows...r/bb430831.aspx

Since you will be testing Text mode only you won't need a serial number, just get the first English img file from here, extract it somewhere and use it as a source.
http://download.microsoft.com/download/5/1...F/X13-04874.img
http://www.microsoft.com/windowsserver2003...llinstruct.mspx

Use WinSetupFromUSB with Copy Setup boot/RC files only option checked. This will let you test Text mode only without copying the whole source. Files put on USB stick are 6-12MB total size and preparation takes seconds.

1. Try to prepare the USB stick in NTFS, and BIOS in IDE mode. If no luck go to 2. Do not touch anything with nLite yet.
2. Integrate BTS mass storage drivers, selecting Text mode drivers too. Format and rebuild the USB stick with the same option checked, put BIOS in AHCI/SATA mode. Do not touch anything with nLite yet.

Is your USB stick now U:? Do you see the internal hard disk(s) now?

Please follow the advices blindly, do NOT introduce any changes, which in your opinion may be irrelevant.

#20 User is offline   pipster 

  • Newbie
  • Group: Members
  • Posts: 40
  • Joined: 02-June 07

Posted 10 April 2009 - 07:06 AM

I'm sorry :blushing: . That was not the correct version of txtsetup.sif.
Here's it:
Attached File  TXTSETUP.7z (57.4K)
Number of downloads: 7
With this sif sata driver load succesfully and setup goes right with the nlited cd.

I tried with my original XPsp2 cd source loading iaStor by F6 but is always the same, both in AHCI and IDE mode. USB gets partition D:
Now I'm downloading XP 2003 sp2 as you said me, because I don't have a not modified XP SP3. Thank you!

Share this topic:


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

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



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