Bezalel Posted February 2, 2006 Share Posted February 2, 2006 I am trying to install Windows on a computer with no removable storage available. I would like to start the install using the CD-Boot method on another computer and move the hard drive after the text mode portion of setup. I know that I can copy the I386 folder using the $OEM$ folder but how can I make sure that the GUI portion of the setup knows where the source files are? Link to comment Share on other sites More sharing options...
sHaDYvB Posted February 2, 2006 Share Posted February 2, 2006 try using /syspart command from a normal windows PC , attach the new hard disk that needs to have a system installed , and run this "%WindowsSourceFiles%\I386\winnt32 /syspart:F /unattend:Unattend.txtWhere F is ur first parition on the new harddisk ,, and unattend.txt is ur unattended answer file .. Link to comment Share on other sites More sharing options...
Bezalel Posted February 2, 2006 Author Share Posted February 2, 2006 Thanks. The only thing this method doesn't do is partition and format the new drive, but I can live with that. Now I just have to figure out what needs to be changed in my winnt.sif to be a valid unattend.txt. Link to comment Share on other sites More sharing options...
BoaSoft Posted February 3, 2006 Share Posted February 3, 2006 I know that I can copy the I386 folder using the $OEM$ folder but how can I make sure that the GUI portion of the setup knows where the source files are?First step: Partition new (target) drive. Use 3d-party partition tool or MS Diskpart&format tool.Sample diskpart CMD@echo offtitle One part disk preparingecho starting disk partitioning... > log.txtecho. >> log.txtdiskpart.exe /s partone.txt >> log.txtif not "%errorlevel%"=="0" goto errorecho. >> log.txtecho formating... >> log.txtecho. >> log.txtformat F: /fs:ntfs /v:System /q /y >> log.txtif not "%errorlevel%"=="0" goto errorecho. >> log.txtecho end formating process... >> log.txtclsgoto end:errorclstitle OPERATION ERRROR!!!COLOR 0Ctype log.txtpause clsexit:endSample diskpart script:select disk=1rem cleancreate partition primaryassign letter=FactiveexitFor more info, see help.Step two. Prepare target disk with syspar key winnt32:My syspart bat (work sample)@rem SetupMgrTag@echo offset AnswerFile=..\Script\fullauto.txtset SetupFiles=..\i386set TempDisk=F:set DestDisk=F:start /wait %SetupFiles%\winnt32 /s:%SetupFiles% /syspart:%DestDisk% /tempdrive:%TempDisk% /unattend:%AnswerFile% /copydir:I386 /noreboot/copydir:I386 - after install I386 source folder put in %SystemRoot% (Like Windows) folder.Replace after install source pach:REG ADD "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup" /v "SourcePath" /t REG_SZ /d "%SystemRoot%" /fREG ADD "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup" /v "ServicePackSourcePath" /t REG_SZ /d "%SystemRoot%" /fREG ADD "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup" /v "CDInstall" /t REG_DWORD /d 0 /f" /f Link to comment Share on other sites More sharing options...
Bezalel Posted February 6, 2006 Author Share Posted February 6, 2006 I have successfully installed Windows but now my hard drive is labeled E: Is the drive "remembering" what is was on the origional PC or there something telling setup to use this drive as E:? Link to comment Share on other sites More sharing options...
Bezalel Posted February 6, 2006 Author Share Posted February 6, 2006 After some searching I found that setup puts the current drive letter assignments in \$win_nt$.~bt\migrate.inf I deleted this file and now Windows in installing in c: Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now