Hi all!
Now its done. I have found a way to install the .wim file directly from
linux. Its realy simple, the only need is that you have 7z on the boot
stuff (how can be found in the makefile here:
http://unattended-gui.svn.sourceforge.net/viewvc/unattended-gui/bootcd/Makefile?revision=1432&view=markup
line 1256).

1.) create a bootable ntfs partition
2.) mount it via ntfs-3g (in this howto to /c)
3.) extract the files via /usr/bin/7z x -o/c /z/os/7/install.wim
4.) Create /c/Boot Directory (mkdir /c/Boot)
5.) Move extracted Files from /c/1 to /c
6.) copy bootmgr to /c (from /c/Windows/Boot/PCAT/bootmgr)
7.) umount /c
8.) replace bootcode for the bootmgr (has to be saved from a
vista/2008/win7 installation)
dd if=/z/etc/binary/bootmgr_boot_code_ntfs_1 of=/dev/dsk${BOOTNUMBER}
bs=1 count=426 seek=84
dd if=/z/etc/binary/bootmgr_boot_code_ntfs_2 of=/dev/dsk${BOOTNUMBER}
bs=1 count=7680 seek=512

you can fetch the bootmgr_boot_code_ntfs_* from:
http://unattended-gui.svn.sourceforge.net/viewvc/unattended-gui/z/etc/binary/

or back up it from a win7/2008/vista installation via:
dd of=/z/etc/binary/bootmgr_boot_code_ntfs_1 if=/dev/dsk${BOOTNUMBER}
bs=1 count=426 skip=84
dd of=/z/etc/binary/bootmgr_boot_code_ntfs_2 if=/dev/dsk${BOOTNUMBER}
bs=1 count=7680 skip=512
9.) Copy the BCD file to /c/Boot/BCD (can be found also here:
http://unattended-gui.svn.sourceforge.net/viewvc/unattended-gui/z/etc/binary/)

>From this state the machine is bootable into the setup. After all the
unattend.xml has to be placed in /c/Windows/Panther/unattend.xml to get
proceed. Optional you can copy drivers to the mounted disk and add them
to the DriverPath in the unattend.xml. For more infos feel free to ask.

I am currently testing this, but maybe you have also the time to check
this method. Currently I have no 100% working answer file for this method...

Alternativ to this is the method via a ntfsclone. See more here:
http://unattended-gui.sourceforge.net/www/index.php?loadsub=quwiki&func=wiki&type=index&show=25#2.2.2.
There is an working answer file for this method. It is nearly the same
as in XP (add drivers to c:\ and answer file on the fly, start install
software after installation is done). An example can be found here:
http://unattended-gui.svn.sourceforge.net/viewvc/unattended-gui/z/etc/unattend.xml.example?revision=1389
(you only have to replace cmd /c cscript /nologo C:\netinst\postinst.js
with the postinst from the unattended project HINT: set autologon in
Vista/2008 and 7 differs to XP!)
Here is described how the ntfsclone windows setup part is working for
this method:
http://unattended-gui.sourceforge.net/www/index.php?loadsub=quwiki&func=wiki&type=index&show=25#2.2.2.3.

Cheers mario

------------------------------------------------------------------------------

_______________________________________________
unattended-info mailing list
unattended-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unattended-info

Reply via email to