最近在做网络启动,尝试启动XP的时候遇到了txtsetup.sif的问题。tftp和dhcp的配置应该没有问题,可以正常启动其他的系统,samba也可以在client端访问下载。存在问题如下:
setup is inspecting your computer hardware
INF file txtsetup.sif is corrupt or missing, status 21. Setup cannot
continue. Press any key to exit.
在网上找了一些资料,大部分都说是winxp.sif和tftp的rules文件有问题,可是我比对了相关配置,没有发现问题。下面是我的相关配置,请有经验的仁兄给予解答,在此谢过!
tftp配置如下:
service tftp
{
disable = no
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -m /tftpboot/rules -s /tftpboot -c
per_source = 11
cps = 100 2
flags = IPv4
}
rules文件在网上copy的:
ri ^[a-z]: # Remove “drive letters”
rg \\ / # Convert backslashes to slashes
rg \# @ # Convert hash marks to @ signs
rg /../ /..no../ # Convert /../ to /..no../
rg A a
rg B b
rg C c
rg D d
rg E e
rg F f
rg G g
rg H h
rg I i
rg J j
rg K k
rg L l
rg M m
rg N n
rg O o
rg P p
rg Q q
rg R r
rg S s
rg T t
rg U u
rg V v
rg W w
rg X x
rg Y y
rg Z z
r ^/(.*) \1
winxp.sif文件配置如下:
[data]
floppyless = "1"
msdosinitiated = "1"
; Needed for second stage
OriSrc = "\\192.168.1.103\reminst\winxp\i386"
OriTyp = "4"
LocalSourceOnCD = 1
DisableAdminAccountOnDomainJoin = 1
[SetupData]
OsLoadOptions = "/fastdetect"
; Needed for first stage
SetupSourceDevice = "\Device\LanmanRedirector\192.168.1.103\reminst\winxp"
[UserData]
ComputerName = *
; if needed
;ProductID=