RIS for Linux - Ris Windows Installation


A new pdf guide written from scratch it's available on the main page

Follow the instructions from the WinPE RIS guide (remember to patch the atftpd server), then you can setup a multi ris to install Windows XP, 2003, and 2000.

You can skip some of these sections if you don't need to use them.

Setting up a Windows XP Source:
- Copy i386 directory from the installation media to a subdir called winxp
  in the ris working directory

- Extract the pxe loader:
  cabextract <Source dir>/i386/STARTROM.N1_

- Modify the name of the loader from NTLDR to XPLDR:
  sed -i -e 's/NTLDR/XPLDR/gi' startrom.n12

- Move the modified pxe loader to tftpd root, and call it winxp.0

- Extract the setuploader, using cabextract:
  cabextract <Source dir>/i386/SETUPLDR.EX_

- Modify the name of the response file from winnt.sif to winxp.sif
  sed -i -e 's/winnt\.sif/winxp\.sif/gi' setupldr.exe

- Modify the name of ntdetect from ntdetect.com to ntdetect.wxp
  sed -i -e 's/ntdetect\.com/ntdetect\.wxp/gi' setupldr.exe

- Move the modified setuploader to tftpd root, and call it XPLDR

- Copy <Source dir>/i386/NTDETECT.COM to tftpd root
  and call it ntdetect.wxp
 

Create a response file called winxp.sif as follows:

[data]
floppyless = "1"
msdosinitiated = "1"
; Needed for second stage
OriSrc = "\\YOUR_SERVER_NAME\YOUR_SHARE_NAME\winxp\i386"
OriTyp = "4"
LocalSourceOnCD = 1
DisableAdminAccountOnDomainJoin = 1

[SetupData]
OsLoadOptions = "/fastdetect"
; Needed for first stage
SetupSourceDevice = "\Device\LanmanRedirector\YOUR_SERVER_NAME\YOUR_SERVER_SHARE\winxp"

[UserData]
ComputerName = *
; if needed
;ProductID=
 

Setting up a Windows 2003 Source:
- Copy i386 directory from the installation media to a subdir called win2k3
  in the ris working directory

- Extract the pxe loader:
  cabextract <Source dir>/i386/STARTROM.N1_

- Modify the name of the loader from NTLDR to W2K3L:
  sed -i -e 's/NTLDR/W2K3L/gi' startrom.n12

- Move the modified pxe loader to tftpd root, and call it w2k3.0

- Extract the setuploader, using cabextract:
  cabextract <Source dir>/i386/SETUPLDR.EX_

- Modify the name of the response file from winnt.sif to wi2k3.sif
  sed -i -e 's/winnt\.sif/wi2k3\.sif/gi' setupldr.exe

- Modify the name of ntdetect from ntdetect.com to ntdetect.2k3
  sed -i -e 's/ntdetect\.com/ntdetect\.2k3/gi' setupldr.exe

- Move the modified setuploader to tftpd root, and call it W2K3L

- Copy <Source dir>/i386/NTDETECT.COM to tftpd root
  and call it ntdetect.2k3
 

Create a response file called wi2k3.sif as follows:

[data]
floppyless = "1"
msdosinitiated = "1"
; Needed for second stage
OriSrc = "\\YOUR_SERVER_NAME\YOUR_SHARE_NAME\win2k3\i386"
OriTyp = "4"
LocalSourceOnCD = 1
DisableAdminAccountOnDomainJoin = 1

[SetupData]
OsLoadOptions = "/fastdetect"
; Needed for first stage
SetupSourceDevice = "\Device\LanmanRedirector\YOUR_SERVER_NAME\YOUR_SERVER_SHARE\win2k3"

[UserData]
ComputerName = *
; if needed
;ProductID=
 

Setting up a Windows 2000 Source:
- Copy i386 directory from the installation media to a subdir called win2k
  in the ris working directory

- Extract the pxe loader:
  cabextract <Source dir>/i386/STARTROM.N1_

- Modify the name of the loader from ntldr to W2KLD:
  sed -i -e 's/NTLDR/W2KLD/gi' startrom.n12

- Move the modified pxe loader to tftpd root, and call it w2k.0

- Extract the setuploader, using cabextract:
  cabextract <Source dir>/i386/SETUPLDR.EX_

- Move setuploader to tftpd root, and call it W2KLD

- Since there is a bug in the win2k setuploader the response file should be called pxelinux.0winnt.sif,
  also you need to copy NTDETECT.COM from i386 to the tftpd root and call it pxelinux.0ntdetect.com
  The "pxelinux.0" prefix is taken from dhcp boot filename, so if you use a different name,
  you should modify it.
 

Then create a response file called pxelinux.0winnt.sif as follows:

[data]
floppyless = "1"
msdosinitiated = "1"
; Needed for second stage
OriSrc = "\\YOUR_SERVER_NAME\YOUR_SHARE_NAME\win2k\i386"
OriTyp = "4"
LocalSourceOnCD = 1
DisableAdminAccountOnDomainJoin = 1

[SetupData]
OsLoadOptions = "/fastdetect"
; Needed for first stage
SetupSourceDevice = "\Device\LanmanRedirector\YOUR_SERVER_NAME\YOUR_SERVER_SHARE\win2k"

[UserData]
ComputerName = *
; if needed
;ProductID=
 

So your tftp root should have following structure:

/tftpboot/
  winxp.0   <- Windows XP pxe loader
  w2k3.0    <- Windows 2003 pxe loader
  w2k.0     <- Windows 2000 pxe loader

  XPLDR     <- Windows XP Setup Loader
  W2K3L     <- Windows 2003 Setup Loader
  W2KLD     <- Windows 2000 Setup Loader

  ntdetect.wxp <- Windows XP ntdetect.com
  ntdetect.2k3 <- Windows 2003 ntdetect.com
  pxelinux.0ntdetect.com <- Windows 2000 ntdetect.com

  winxp.sif <- Windows XP Response File
  wi2k3.sif <- Windows 2003 Response File
  pxelinux.0winnt.sif <- Windows 2000 Response File

  winxp/    <- Link or path to Windows XP installation files
  win2k3/   <- Link or path to Windows 2003 installation files
  win2k/    <- Link or path to Windows 2000 installation files

The RIS samba root should have winxp, win2k3 and win2k directories, also remember to modify YOUR_SERVER_NAME and YOUR_SERVER_SHARE in the response files


You can configure pxelinux as follow:

label winxp
    kernel winxp.0

label win2k3
    kernel w2k3.0

label win2k
    kernel w2k.0

You can create a directory to store inf files for network drivers, then use infparser.py to create the driver cache file, then start binlsrv.py.

Each .sys file of network drivers should be placed in the respective i386 installation directory, also note some nic drivers for xp also work on w2k.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
校园悬赏任务平台对字典管理、论坛管理、任务资讯任务资讯公告管理、接取用户管理、任务管理、任务咨询管理、任务收藏管理、任务评价管理、任务订单管理、发布用户管理、管理员管理等进行集中化处理。经过前面自己查阅的网络知识,加上自己在学校课堂上学习的知识,决定开发系统选择小程序模式这种高效率的模式完成系统功能开发。这种模式让操作员基于浏览器的方式进行网站访问,采用的主流的Java语言这种面向对象的语言进行校园悬赏任务平台程序的开发,在数据库的选择上面,选择功能强大的Mysql数据库进行数据的存放操作。校园悬赏任务平台的开发让用户查看任务信息变得容易,让管理员高效管理任务信息。 校园悬赏任务平台具有管理员角色,用户角色,这几个操作权限。 校园悬赏任务平台针对管理员设置的功能有:添加并管理各种类型信息,管理用户账户信息,管理任务信息,管理任务资讯公告信息等内容。 校园悬赏任务平台针对用户设置的功能有:查看并修改个人信息,查看任务信息,查看任务资讯公告信息等内容。 系统登录功能是程序必不可少的功能,在登录页面必填的数据有两项,一项就是账号,另一项数据就是密码,当管理员正确填写并提交这二者数据之后,管理员就可以进入系统后台功能操作区。项目管理页面提供的功能操作有:查看任务,删除任务操作,新增任务操作,修改任务操作。任务资讯公告信息管理页面提供的功能操作有:新增任务资讯公告,修改任务资讯公告,删除任务资讯公告操作。任务资讯公告类型管理页面显示所有任务资讯公告类型,在此页面既可以让管理员添加新的任务资讯公告信息类型,也能对已有的任务资讯公告类型信息执行编辑更新,失效的任务资讯公告类型信息也能让管理员快速删除。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值