Install windows7 onto iscsi target: Server Setup

A PC (IP=192.168.127.88) with ubuntu/debian installed is used as:

TFTP server

        HTTP Server

        CIFS Server

        ISCSI Server (Target)

 

TFTP server

#  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 4.x  (SYSLINUX 4.0.1 debian-20100714)

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

To simplify the script across ubuntu and debian,  create the /tftp linkto the actual tftp root directory (/srv/tftp in case)

 

 

Install windows7 onto iscsi target: Overview

Target:

Install windows7 from ISO file on Cifs server, onto to the iscsi target.

With the help of the following software:

   pxe/ipxe

   http

   cifs

   winpe

 

 

Test Environment:

Server:      Linux PC,  IP_Server=192.168.127.88

Including tftp/samba/iscsc server

Client:       Diskless Virtual Box on window7

Router:     DDWRT with IP_router=192.168.127.2

 

继续阅读