Debian Diskless Setup and Configuration
Save Lono:
http://www.techbang.com/posts/4851-free-installation-of-windows-7-production-winpe-cd-rom
http://technet.microsoft.com/en-us/library/cc766376.aspx
http://technet.microsoft.com/en-us/library/dd744533%28v=ws.10%29.aspx
http://reboot.pro/topic/8804-firadisk-latest-00130/
http://blog.sina.com.cn/s/blog_509f7e730100w13d.html
http://www.wcooke.org/wiki/Installing_Windows_using_PXELINUX
Update:
http://pnijjar.freeshell.org/2013/win7-pxe/
copype.cmd x86 c:\winpe_x86
Dism /Mount-Wim /WimFile:C:\winpe_x86\ISO\sources\boot.wim /index:1 /MountDir:C:\winpe_x86\mount
# Optional, add chinese font package Dism /image:C:\winpe_x86\mount /Add-Package /PackagePath:"C:\Program Files\Windows AIK\Tools\PETools\x86\WinPE_FPs\winpe-fontsupport-zh-cn.cab"
# Optional, add win pe setup package Dism /image:C:\winpe_x86\mount /Add-Package /PackagePath:"C:\Program Files\Windows AIK\Tools\PETools\x86\WinPE_FPs\winpe-setup.cab"
Dism /image:c:\winpe_x86\mount /Get-Packages
Dism /unmount-Wim /MountDir:C:\winpe_x86\mount /Commit
Download Clonezilla Live ISO image (Debian)
http://www.clonezilla.org/downloads.php
Create mount point inside PXE root directory
mkdir -p /tftp/pxe/Clonezilla/amd64
mkdir -p /tftp/pxe/Clonezilla/i386
Mount Clonezilla ISO image as loop device
mount -o loop -r -n -t iso9660 /tftp/pxe/Clonezilla/amd64 ~/iso/clonezilla-live-2.2.4-12-amd64.iso
mount -o loop -r -n -t iso9660 /tftp/pxe/Clonezilla/i386 ~/iso/clonezilla-live-2.2.4-12-i686-pae.iso
Create PXE SubMenu for CloneZilla
DEFAULT /vesamenu.c32
TIMEOUT 600
PROMPT 0
Label Clonezilla_amd64_install
kernel /Clonezilla/amd64/live/vmlinuz
APPEND initrd=/Clonezilla/amd64/live/initrd.img boot=live config noswap nolocales edd=on nomodeset ocs_live_run=”ocs-live-general” ocs_live_extra_param=”” keyboard-layouts=”” ocs_live_batch=”no” locales=”” vga=788 nosplash noprompt fetch=http://apt.zhenglei.net/Clonezilla/amd64/filesystem.squashfs
Label Clonezilla_i686_install
kernel /Clonezilla/i686/live/vmlinuz
APPEND initrd=/Clonezilla/i686/live/initrd.img boot=live config noswap nolocales edd=on nomodeset ocs_live_run=”ocs-live-general” ocs_live_extra_param=”” keyboard-layouts=”” ocs_live_batch=”no” locales=”” vga=788 nosplash noprompt fetch=http://apt.zhenglei.net/Clonezilla/i686/filesystem.squashfs
Refer to:
http://www.clonezilla.org/clonezilla-live/boot-parameters/live-config.php
http://www.syslinux.org/wiki/index.php/PXELINUX#Options
https://help.ubuntu.com/community/PXEInstallMultiDistro
http://www.unixmen.com/setup-local-repository-with-debian-7/
# Setup tftp server
apt-get install tftpd-hpa
/etc/init.d/tftpd-hpa start
# Testing tftp server
apt-get install tftp
uname -a >/srv/tftp/test
tftp 127.0.0.1
>get test
>quit
diff test /srv/tftp/test
# Install syslinux
apt-get install syslinux
cp /usr/lib/syslinux/pxelinux.0 /srv/tftp/ # copy other interested support files
cp /usr/lib/syslinux/menu.c32 /srv/tftp cp /usr/lib/syslinux/memdisk /srv/tftp cp /usr/lib/syslinux/mboot.c32 /srv/tftp cp /usr/lib/syslinux/chain.c32 /srv/tftp
mkdir -pv /srv/tftp/pxelinux.cfg