Install Windows From a Linux TFTP Server instead of using WDS Solution

yum -y install samba
vi /etc/samba/smb.conf

https://www.kernel.org/pub/linux/utils/boot/syslinux/syslinux-6.03.zip
mkdir syslinux;cd syslinux;unzip syslinux-6.03.zip

mkdir -p /tftpboot/libs/

cp bios/com32/modules/linux.c32 /tftpboot/libs/
cp bios/com32/libutil/libutil.c32 /tftpboot/libs/
cp bios/com32/lib/libcom32.c32 /tftpboot/libs/

#add lib path
echo "PATH libs" >> /tftpboot/pxelinux.cfg/default

cp ./bios/com32/elflink/ldlinux/ldlinux.c32 /tftpboot/

#now get WIMBoot
wget http://git.ipxe.org/releases/wimboot/wimboot-latest.zip
unzip wimboot-latest.zip

cp -va wimboot*/wimboot /tftpboot/libs/


mkdir win2012r2
mkdir -p /tftpboot/images/win2012r2

mount -o loop windows-2012-r2-eval-9600.17050.WINBLUE_REFRESH.140317-1640_X64FRE_SERVER_EVAL_EN-US-IR3_SSS_X64FREE_EN-US_DV9.ISO win2012r2/
cd win2012r2/
[root@evodal01 win2012r2]# ls
autorun.inf  boot  bootmgr  bootmgr.efi  efi  setup.exe  sources  support


cp bootmgr /tftpboot/images/win2012r2
cp boot/bcd  /tftpboot/images/win2012r2
cp boot/boot.sdi  /tftpboot/images/win2012r2
cp sources/boot.wim /tftpboot/images/win2012r2/


label Win2012R2
com32 linux.c32 libs/wimboot
APPEND wimboot initrdfile=images/win2012r2/bootmgr,images/win2012r2/bcd,images/win2012r2/boot.sdi,images/win2012r2/boot.wim

 

Latest Articles

  • prosody xmpp server "Failed in all attempts to connect to proxy.eu.jabber.org"
  • VMWare ESXi 6.7 SSH/PowerShell CLI Commands
  • VMWare Vsphere VCSA Graphical Install Creates json
  • error while loading shared libraries: libasound.so.2: cannot open shared object file: No such file or directory
  • ./xmr-stak: error while loading shared libraries: libmicrohttpd.so.10: cannot open shared object file: No such file or directory
  • qemu-img resize howto
  • gmail.com address failing in Postfix
  • VMWare Hardware virtualization is selected and cannot be deselected due to selection of VBS Insufficient resources to satisfy configured failover level for vSphere HA.
  • Debian Mint Ubuntu compiling xmr-stak
  • ./nsgpucnminer: error while loading shared libraries: libOpenCL.so.1w: cannot open shared object file: No such file or directory
  • *** These critical programs are missing or too old: gawk
  • migration/4 migration 4 is using too much CPU
  • convert.im6: Unknown field with tag 317 (0x13d) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/788.
  • Python SyntaxError: Missing parentheses in call to 'print'
  • Linux How To Rename Files
  • OpenVZ container will not stop Child 546246 exited with status 1
  • [warn] VirtualHost 10.2.5.101:443 overlaps with VirtualHost 10.2.5.101:443, the first has precedence, perhaps you need a NameVirtualHost directive
  • Ethereum Client Errors
  • PayPal IPN Failed "result: IPN Handshake Invalid"
  • Linux Centos 7 HowTo Install Yarn