无忧启动论坛

 找回密码
 注册
搜索
系统gho:最纯净好用系统下载站广告联系 微信:wuyouceo QQ:184822951
查看: 9076|回复: 9
打印 上一主题 下一主题

整理用 Tftpd32 PXE 启动PE3.0

[复制链接]
跳转到指定楼层
1#
发表于 2010-4-28 14:59:01 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
如果 发帖有什么地方不符合版规请版主暂时移动本帖,并通知我一下,别直接删除谢谢。

我也是参考了其他人的方法然后自己总结了下失败的经验。昨天在这里发了个求助帖被删除了,不过今天终于自己想明白了,在这里和大家分享

首先下载 Tftpd32 解压缩到任意目录。
复制pxeboot.n12 和 bootmgr.exe 到Tftpd32的工作目录(如果用这里的批处理做BCD文件的话 一定要复制PE2.0的bootmgr.exe)
pxeboot.n12在PE3.0的wim文件里Windows\boot\PXE目录下(同目录下还有pxeboot.com 如果你想要按F12后开始传送的话用这个)
bootmgr.exe用PE2.0的wim文件里Windows\boot\PXE\bootmgr.exe(以前就是因为用了3.0了 浪费了我1天时间)
在tftpd32.exe 工作目录也就是bootmgr.exe 所在目录下建 boot目录
复制 Fonts目录 和 boot.sdi 还有winpe_x86.wim 到boot目录下(Fonts目录在PE3.0的wim文件里Windows\boot目录下)
(boot.sdi在安装盘的boot目录下)
建立BCD文件 (付批处理)BCD文件要在boot目录下

set BCD-File=H:\TOOLS\pxe\boot\BCD
del %BCD-File%
Bcdedit /createstore %BCD-File%
Bcdedit /store %BCD-File% /create {ramdiskoptions} /d "Ramdisk options"
Bcdedit /store %BCD-File% /set {ramdiskoptions} ramdisksdidevice  boot
Bcdedit /store %BCD-File% /set {ramdiskoptions} ramdisksdipath  \boot\boot.sdi
for /f "tokens=2 delims={}" %%x in ('Bcdedit /store %BCD-File% /create /d "WinPE x86" /application osloader') do set "guid1={%%x}"
Bcdedit /store %BCD-File% /set %guid1% systemroot \Windows
Bcdedit /store %BCD-File% /set %guid1% detecthal Yes
Bcdedit /store %BCD-File% /set %guid1% winpe Yes
Bcdedit /store %BCD-File% /set %guid1% osdevice ramdisk=[boot]\Boot\winpe_x86.wim,{ramdiskoptions}
Bcdedit /store %BCD-File% /set %guid1% device ramdisk=[boot]\Boot\winpe_x86.wim,{ramdiskoptions}
Bcdedit /store %BCD-File% /create {bootmgr} /d "Windows Vista BootManager"
Bcdedit /store %BCD-File% /set {bootmgr} timeout 30
Bcdedit /store %BCD-File% /set {bootmgr} displayorder %guid1%
Bcdedit /store %BCD-File% /enum all
pause

到这里准备工作结束
附上我的目录


最后设置Tftpd32




所有工作结束
2#
发表于 2010-4-28 15:33:09 | 只看该作者
举个实际应用例子,更便于理解
回复

使用道具 举报

3#
发表于 2010-6-18 23:42:21 | 只看该作者
我用pe3.0的bootmgr.exe没问题啊,反而感觉加载的速度快了呢
回复

使用道具 举报

4#
发表于 2010-6-19 04:40:50 | 只看该作者
如果想用pxe启动pe后自动安装windows7的话,opk中原生的winpe.wim,用dism解开后修改下system32下的startnet.cmd就可以了,比用wds省事多了
wpeinit
net use z: \\192.168.1.2\h$\tftp\7 /user:administrator password
z:\sources\setup.exe

如果想使用自动应答文件全自动安装的话,setup.exe 加个/unattend参数,指向应答文件就可以了
回复

使用道具 举报

5#
发表于 2010-6-19 09:38:31 | 只看该作者
能否共享一下这个PXE模板?O(∩_∩)O谢谢!!
回复

使用道具 举报

6#
发表于 2010-6-19 14:07:23 | 只看该作者
原帖由 zhxy9804 于 2010-6-19 10:40 发表
hanewin更适合做pxe服务器


下载了一个回来,在windows7下,客户端始终连不上
回复

使用道具 举报

7#
发表于 2010-6-19 14:13:33 | 只看该作者
原帖由 h99h99 于 2010-6-19 09:38 发表
能否共享一下这个PXE模板?O(∩_∩)O谢谢!!


windows7的iso中的sources目录下的boot.wim,用7zip打开,然后提取windows\boot\pxe目录下的文件就可以了
回复

使用道具 举报

8#
发表于 2010-6-21 02:50:43 | 只看该作者
原帖由 zhxy9804 于 2010-6-19 14:57 发表

我一直都是在win7下使用,快一年半了,从7000开始用算起


弄好了,确实比tftp32快,10秒多菜单就出来了,安装xp的时候,从菜单出来按回车到出现滚动条,一眨眼的功夫
回复

使用道具 举报

9#
发表于 2010-11-18 20:01:57 | 只看该作者
按照你的方法出现 Boot\BCD 错误,怎么解决,谢谢!
回复

使用道具 举报

10#
发表于 2010-11-18 20:09:48 | 只看该作者
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|捐助支持|无忧启动 ( 闽ICP备05002490号-1 )

闽公网安备 35020302032614号

GMT+8, 2024-9-21 05:49

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表