Installer Windows depuis une cle USB en bref part4 - 26 Août 2011 - Blog - IT Services Bureau
Samedi, 2016-12-03, 5:37 AM
Bienvenue, Visiteur | RSS
Menu
Sys Admin Music
Notre sondage
Rate my site
Nombre total de questions: 16
Statistique

Total connecté : 1
Visiteurs : 1
Utilisateurs : 0
Page d'accueil » 2011 » Août » 26 » Installer Windows depuis une cle USB en bref part4
10:48 PM
Installer Windows depuis une cle USB en bref part4
L article original en anglais pris www.rmprepusb.tk une traduction en francais sera faite

'Based on tutorials from the RMPrepUSB website (with permission).'

Grand merci a Steve qui m'a donne l'accord de mettre ce materiel sur mon site.
7. Finally we need to copy the very large WIM source file from each DVD over to the C:\MYUSB folder. (Note: If you prefer, you can copy these files over from each DVD directly to the USB drive after the final step).
Create a folder for each OS DVD (if not already present) and copy the \Sources\install.wim file from each DVD into the correct folder. The folder names must exactly match.
    C:\MYUSB\W764\install.wim
     
C:\MYUSB
 
\W732\install.wim
     
C:\MYUSB
 
\V64\install.wim*
     
C:\MYUSB
 
\V32\install.wim 
*
     
C:\MYUSB
 
\SVR2K864\install.wim 
*
     
C:\MYUSB
 
\SVR2K832\install.wim 
*

*IMPORTANT NOTE: If you have VISTA DVDs or Server 2K8 DVDs (non-RC2) then you must copy the entire contents of the \Sources folder over (including the boot.wim and install.wim and all  subfolders) and not just the large Install.wim file. 
You should delete any ei.cfg file if present, so that you are prompted for all Windows editions contained in the install.wim file. 

If you have Win 7 or Server 2K8 RC2 DVDs then you only need to copy the one large install.wim file.

7.1 Automated installs and adding extra files and folders
In addition, you can add a $OEM$ function which means setup will copy over any additional files that you place in the \xxx\OEM folder. e.g. if you place 
 
extra
 
 files (e.g. drivers) in the \SVR2K832\OEM\$1 folder on the USB drive, setup will copy any files or folders in this folder to the systemdrive during installation. See 
http://technet.microsoft.com/en-us/library/cc766446(WS.10).aspx /m parameter in table for more details. So you can place your drivers in say \SVR2K832\OEM\$1\MYDRV and place an unattend.xml file in 
 
\SVR2K832\unattend.xml which contains a DriverPaths entry which points to \MYDRV - then the drivers will be installed automatically. Details on how to modify the unattend.xml are covered in the Windows WAIK .chm help files.

7.2 Adding WinPE boot files
If you want the WinPE v3 boot option to work:
    copy C:\PE86\ISO\Boot folder contents to  C:\MYUSB\Boot 
    copy   
C:\PE86\ISO\sources\boot.wim to     
 
C:\MYUSB\sources\boot.wim
    copy C:\PE86\ISO\bootmgr to                   C:\MYUSB\bootmgr (should already be present from step 3)

8. Now we need to prepare the bootable USB drive (for speed of testing, I would recommend you use a USB Hard drive first, if you have one available).
     
Partition and format the USB drive using RMPrepUSB v1.2.600 or later as follows:
   Select your USB drive then set 1=MAX, 2=WinInst, 3=WinPE,4=FAT32+Boot as HDD or NTFS+Boot as HDD, 5=set to C:\MYUSB and tick the box - then click 6= Prepare Drive
   After the copy has finished (may take 10 mins to 2 hours depending on how many files you have!), click on the Install grub4dos button and say OK to everything (if formatted as NTFS you must use MBR install). If you get a flashing cursor on boot then use the PBR option!
Check the folder structure and file contents - see list at the top of this page. If you did not copy over the DVD \sources files in step  7, do it now direct from each DVD.  
If any install.wim is over 4GB you must use an NTFS formatted USB drive.

9. Now try booting from the USB drive on your target system (I recommend that you use the F10 or F12 key to select the USB key - and do not set USB drive as first boot device) and running through Windows Setup. Keep the USB drive in at all times if you have an xxx\OEM folder.
Note: If setup hangs at the 'completing Setup' stage, you may need to disconnect the USB drive at the 'Completing installations' phase  
when the Windows setup phase starts
. If you have used an \OEM folder, you will need to remember to re-connect the USB drive after the next reboot or the OEM files will not be copied over.

Note: if a system does not show the grub menu but you just get a flashing cursor, reformat using RMPrepUSB v2.1.600+ and use FAT32 (not NTFS) and click on the 
 
'install grub4dos' button
 
 and select the PBR (answer 'No' to MBR question). 
 
Note: If you have files over 4GB in size you cannot use FAT32.

IMPORTANT: When testing your new Multi-Windows-Install USB drive, remove all Windows DVDs from the target system's DVD drives - otherwise you will not be prompted for the OS SKU. For instance, if you have used a Win 7 64-bit Ultimate install DVD to prepare the USB drive, you will be given a choice of Starter, Home Premium, Professional or Ultimate. However, if the DVD is still present in the DVD drive, you will not be given any choice as the install will default to Win 7 Ultimate.

If you have a multiple partitioned USB (Removable) drive, the files must be on the first partition or you will get a 'Please insert disk into drive' error and the Install.wim file will not be found. You can however add a driver to the boot.wim file so that Removable drives are seen as Fixed drives and thus you can have multiple partitions - see here for details.

________________________________________

Footnote for Step 3.1
Note that you can improve this and save some work and filespace by using grub4dos to modify bootmgr on the fly - this saves having multiple versions of bootmgr1-6. See http://www.boot-land.net/forums/index.php?s=&showtopic=8043&view=findpost&p=68050. I have included the alternative version as menu2.lst in the download. So if you wish to save all the work in Step 3.1 above, then only copy the single WinPE v3 (win7) file bootmgr (IMPORTANT: must use the WinPE v3 version of bootmgr from the Windows 7 WAIK) to the C:\MYUSB folder (no need to use zbootmgr.exe or create bootmgr1 - bootmgr6 files) and then overwrite menu.lst using menu2.lst (filename on USB drive must be menu.lst). This will also save approx. 2MB of space on the UFD. You will need the later version of grub4dos 0.4.5a or b for this to work (as used by later versions of RMPrepUSB e.g. v2.1.600+).

Visualisations: 1343 | Ajouté: braindamage | Rating: 0.0/0
Nombre total de commentaires: 1
1  
sdfsdf


Prénom *:
Email *:
Code *:
Recherche
Calendrier
«  Août 2011  »
LunMarMerJeuVenSamDim
1234567
891011121314
15161718192021
22232425262728
293031