Sunday, 27 November 2011

PXE for windows install mounted drive

net use z: \\192.168.8.121\vista /u:192.168.8.121\administrator "apibkk"
net use z: \\192.168.8.121\vista64 /u:192.168.8.121\administrator "apibkk"
net use z: \\192.168.8.121\2008 /u:192.168.8.121\administrator "apibkk"
net use z: \\192.168.8.121\200864 /u:192.168.8.121\administrator "apibkk"
net use z: \\192.168.8.121\seven /u:192.168.8.121\administrator "apibkk"
net use z: \\192.168.8.121\seven64 /u:192.168.8.121\administrator "apibkk"

Sunday, 2 October 2011

Startup PXE

1. Run C:\PXE\binl\binlsrv.exe
2. Run C:\PXE\tftpd32\tftpd32.exe
3. Start dhcpd service : service dhcpd restart
4. Start up share server

Monitor : tail -f /var/log/messages
leases file : /var/lib/dhcpd/dhcpd.leases

Friday, 24 June 2011

Basic DHCP configuration for PXE

Setup DHCP for others network and let client boot the image from the PXE boot server.

# vi /etc/dhcpd.conf
ddns-update-style interim;
ignore client-updates;
authoritative;

subnet 192.168.8.0 netmask 255.255.255.0 {
# --- default gateway
option routers 192.168.8.254;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.8.255;
# --- NIS configuration
option nis-domain "RFAQANIS";
option nis-servers 192.168.8.150;
# --- Domain name configuration
option domain-name "RFAQANIS";
option domain-name-servers 10.42.33.25;
# --- Other configuration
option time-offset -18000; # Eastern Standard Time
# --- Dynamic ip provided only for diskless server
range dynamic-bootp 192.168.8.86 192.168.8.91;
default-lease-time 21600;
max-lease-time 43200;
}

allow booting;
allow bootp;

# PXE-spcecific configuration directories...
next-server [PXE-server-IP];
filename "pxelinux.0";