Jump to content

ibach

Member
  • Posts

    11
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Croatia

Everything posted by ibach

  1. has someone done similar thing without modification to of wim file?
  2. it should work... I do not know how does the Windows server 2k8 boot wim is built, it could be possible that it uses different PE than PE 3.x which is on win7. Is it x64 bit system? If all fails you can try using same boot.wim from windows 7 x32 install to deploy Windows server 2008 x32/64, it might work as a workaround. I do not have any version of Windows server 2k8 at the moment, but if you upload boot.wim somewhere, I could take a look.
  3. Making boot.wim Read Only in virtual XP machine at he end did the trick... I'm adding APPENDIX 1
  4. jaclaz! Help! 1) After doing some more tests I've noticed that after installing Windows for the first time from the USB boot time of installation gets much slower than the first time.) I believe that is because Windows PE makes changes to the registry of the image instead in the memory while loading drivers (unlike DVD version, DVD is Read Only). 2)Disk gets fragmented. How to prevent it? I'm testing for the solution. Making boot.wim Read Only in virtual XP machine at he end could do the trick... Is that true? Do you know the answer?
  5. Well when you put it that way.... yes, you are probably right. Let people discover things by them selves, things are out there, and they might stumble on some interesting topics in the process. I was thinking (I should stop doing that...) boot.wim seems to be windows OS. Or some small version of it. It should be possible to preinstall user software on it. Hence it could be possible to reprogram install procedure and customize it according to ones needs. Install other software maybe during OS install with selection screen in the beginning... Hm ... I see I'll be making an other tutorial and another topic..
  6. jaclaz! Thank you for your rich reply! Yust the kind of mean i wanted to provoke with my post! I've been reading your posts for a while now, and liked them. About the reasons to use cfadisk.sys on XP and dummydisk.sys: I did not know they exist until two days ago, i just wanted to try them both. Second one was simpler to install in the image, because it does not care about the device name at all and works with all of them. About using GRUB or GRUB2: One can use either, but if you want NTFS, GRUB2 is the choice. About nativeex.boot...x/WimCaptEx.htm and reboot.pro/9765/: Great! Beautiful! About using Ubuntu: I was using Windows since 3.1 version and know it inside out. This knowledge, however useful, kept me skeptical about Linux for longtime. I've installed Ubuntu 10 the other day, and i loved it! It's in my tutorial just for people to have a look at it. About my tutorial: The only important thing in it is the implementation of the USB as HDD driver (any of them) into the boot.wim. Everything else is irrelevant and subject to users will. Me being only an architect (one that makes buildings, not computers), have had strange reasons to do this as i did it. Me being only an architect (one that makes buildings, not computers), have had strange reasons to do this as i did it. 1) All things in one place for "little Pero" to use it at will. 2) Make it safe for "little Pero" not to destroy his home os. 3) Third, but most important: Your reaction to it! Beautiful comments and unifying knowledge in one place. So, please, you being someone who know things, rewrite this tutorial in reply, in a manner of shortening the process to the minimum! From your reply and posts I've read i know that you are more than capable to do it. 4) I need a job ... PS: THANK YOU in advance!
  7. Have 16 GB USB stick, need all sort of systems to boot from it. One of them is Windows 7 installation with WIM larger than 6 GB hence i need NTFS to put it on (or simply because I cann). First partition of USB is not an option for number of reasons (I do not want it to be) . Not using ISO because there is probably not enough RAM on host machine to extract it. I've made it work after some exploration. Used software: Windows 7 ultimate 64bit desktop computer with WAIK and VmWare 7.1 Workstation installed Plop Boot Manager (to boot virtual machine from USB) Virtual machine with Windows Xp 32 bit (for partitioning USB, can be done in many other ways) xpfildrvr1224_320 driver to see partitions on USB under XP Software to partition USB, I've used Paragon Partition Manager™ 10.0 Server Virtual machine with Ubuntu installed GRUB, I've used GRUB2 for i wanted NTFS partition. Any other version works, but with FAT32. Windows 7 installation disk (32 or 64 bit or both if you like it does not matter for this method, it can be AIO with all versions, what ever you want, works wit vista too) soviet_direct_hooking_src.zip from http://www.911cd.net/forums//index.php?showtopic=22795 (read the article too!) Setup TEST virtual machine with Plop Boot Manager plpbt.iso used as CD/DVD connected at power on. When booted this will display selection screen for booting from USB. 1) In Windows XP virtual machine: Install Paragon Partition Manager™ 10.0 Server. Install xpfildrvr1224_320 driver. 1) Extract the contents of “ xpfildrvr1224_320.zip” to a temp folder 2) Insert you USB pen drive that you want to turn into USB hard drive. 3) Right click on “my computer” -> properties -> hardware -> and click –> device manger; Expand 'Disk drives', right click your USB drive, select Properties. On the tab "Details" under XP the item "Device instance ID" is already selected. Click on the ID in the list and press Ctrl+C, this copies the ID into the Windows Clipboard, now open notepad and paste the ID using Ctrl+V. 4) Now, go to the temp folder, and open the included INF file with notepad, and search for [cfadisk_device] a. Now go to the notepad, where you’ve copied your USB ID, and copy the first part as shown under (see bold part) Sample ID: USBSTOR\DISK&VEN_LEXAR&PROD_JUMPDRIVE&REV_1.30\K326441127040&0 b. Replace the bold part in following line with your USB ID that you’ve just copied in above step, and add under [cfadisk_device] heading: %Microdrive_devdesc% = cfadisk_install,USBSTOR\DISK&VEN_LEXAR&PROD_JUMPDRIVE&REV_1.30 c. Save the file. 5) Open the device manager again right-click the USB drive, "Update driver...", then "No, not this time" -> Next -> "Install from a list or..." -> Next -> "Don't search." -> Next -> "Have Disk" -> browse to the INF file here. Now "RemovableToFixed" should be in the list -> Next -> Confirm the two warnings -> Finish. Now the drive is redetected, as USB hard drive. 2) In Windows XP virtual machine: Use Paragon Partition Manager (or whatever) to partition USB disk. 1)GRUB is on first partition so it is labeled GRUB in FAT32 format. 135 MB is more than enough for GRUB2. You can use more space if you want (for files you need to be accessible on all machines) (Partition label is important for Ubuntu commands.) 2)In this case Windows will be Windows 7 32 bit so my second partition label is Win7_32 in NTFS format. Make partition on the rest of the free space, you will re size it latter in Paragon Partition Manager. 3) mark first, GRUB partition, as active 4)Start CMD and go to root of Windows install DVD (D:\boot) D: (enter) cd boot (enter) Type another command given below to update the USB drive with BOOTMGR compatible code. BOOTSECT.EXE/NT60 E: Where “E” is your USB Win7_32 partition drive letter. Once you enter the above command you will see a success message. 5)Copy all the files from Windows install disk to Win7_32 partition (do not re size yet) 3 THIS is most important step! Without it you will get ERROR installing Windows saying: "A DVD/CD drive device driver is missing. If you have a driver CD/Floppy please insert it now..." This is because Windows installation is OS for it self and it does not have driver that can use USB as hard drive (just like we had to install one in XP machine) OS that installs Windows 7 is placed in \sources folder on installation DVD called boot .wim ("DVD:\sources\boot.wim). We have to install the driver there. 1)Go to home OS (Windows 7 64bit with WAIK in my case) and copy D:\sources\boot.wim to a folder on your computer. (E:\Live_Usb\MOD_WIMS\boot.wim in my case) Go to start>>programs>>Microsoft Windows AIK and start "Deployment Tools Command Prompt" and execute: md C:\mount imagex /mountrw E:\Live_Usb\MOD_WIMS\boot.wim 2 C:\mount This will mount the image to C:\mount folder on the computer. Do not close "Deployment Tools Command Prompt". 2)Extract soviet_direct_hooking_src.zip to a folder on your computer. Rename dummydisk.sys to dummy.sys. 3)Start Notepad and paste following text in: Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SYSTEMbla\ControlSet001\Services\dummy] "Type"=dword:00000001 "Start"=dword:00000000 "ErrorControl"=dword:00000001 "ImagePath"=hex(2):73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,44,00,\ 52,00,49,00,56,00,45,00,52,00,53,00,5c,00,64,00,75,00,6d,00,6d,00,79,00,2e,\ 00,73,00,79,00,73,00,00,00 "DisplayName"="USB Mass Storage Filter Driver" "Group"="System Reserved" "Tag"=dword:00000001 Click Save As and save it as dummy.reg in the same folder with dummy.sys 4)Run RegEdit select HCKY_LOCAL_MACHINE go to File>Load Hive select C:\mount\Windows\System32\config\SYSTEM and open it when asked for Key Name input SYSTEMbla Close Regedit. Double click on dummy.reg and import it to registry. Restart RegEdit , go to HCKY_LOCAL_MACHINE, select SYSTEMbla, then File>Unload Hive. The SYSTEM hive in mounted boot image has been changed. 5)Copy dummy.sys to C:\mount\Windows\System32\drivers 6)Save changes to boot.wim by entering following command to "Deployment Tools Command Prompt": imagex /unmount /commit C:\mount 7)copy E:\Live_Usb\MOD_WIMS\boot.wim to USB Win7_32 partition in sources directory and replace the old one. To do this use XP Virtual machine (it can see the second partition on USB). 8)You can re size the USB Win7_32 partition now using Paragon Partition Manager (leave no free space, you do not need it no more). You can also defragment the partition while you are at it. 4 To install GRUB2 on the first partition of USB: 1)Start Ubuntu virtual machine, attach USB to it, download latest GRUB2 and extract it on the desktop. 3)Check your USB device name using System>Administration>Disk Utility It will be listed on the left side of the window, click on it and look on the right under Device: in my case it's /dev/sdb 2)Go to Aplications>Accessories>Terminal. This will start the window like CMD in Windows. Enter the following commands: cd /home/ubuntu/Desktop/grub-1.98 sudo grub-install --root-directory=/media/GRUB /dev/sdb sync GRUB is now installed. 3)Close Ubuntu vm. In home OS open Notepad and paste following text in: color black/cyan yellow/cyan default 0 timeout 30 title Install Windows 7 32bit root (hd0,1) chainloader +1 boot title Restart The Computer reboot Save it as in USB GRUB partition \boot\grub\menu.lst. APPENDIX 1 Plug USB in XP virtual machine again and mark boot.wim as read only to prevent adding registry changes to Windows PE registry (it will be done in ram, and thus non persistent as it is on the install DVD). It will also prevent disk fragmentation because all the files will only be read during the install. DONE!!! Boot in test virtual machine and install. Add other stuff to your USB and enjoy!!! @bach
  8. ... and it's true, it can not be integrated in xp as if slipstreamed, but it has to be installed silently as nlite plugin at T13 phase of windows installation. You can allso use this plugin to install .net 3.5 with updates on to xp after windows was installed, just run exe. And, this is 32 bit plugin, not x64, and not vista, but xp only.
  9. i've compiled .net framework 1.1-3.5 nlite plugin with most updates integrated download it from http://ibach.quotaless.com and integrate with nlite.
  10. what i did? just old net framework 2.0 trick and it works. Batch: REGEDIT.EXE /S 1.REG start /wait DNF11.exe /q:a /c:"install /l /q" start /wait dotNetFx35setup.exe /qb /norestart REGEDIT.EXE /S 2.REG exit 1.reg: Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SYSTEM\Setup] "SystemSetupInProgress"=dword:00000000 [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PCHealth\ErrorReporting\DW] 2.reg Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SYSTEM\Setup] "SystemSetupInProgress"=dword:00000001 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PCHealth\ErrorReporting\DW] Net 1.1 instalation was prepared as described here: http://www.msfn.org/board/Silent-NET-Maker...2-2-t90779.html Net 3.5 simply extracted with eg. winrar, you can remove all x64 bit files if you need x86 install or vice versa. Recompressed it with nLite Add-On Maker, running .bat file. Works fine. download it here: http://ibach.my2gig.com/index.files/NetFx3_5.html
×
×
  • Create New...