首页 > 其他 > 详细

grub4dos OVER PXE

时间:2014-03-20 19:28:07      阅读:925      评论:0      收藏:0      [点我收藏+]

实现效果:

bubuko.com,布布扣

通过网络启动,直接启动WINPE,网络GHOST,MAXDOS或本地硬盘

需要的软件:

ghost-v8.3或11.X企业版

SymantecGhost11.5

3comdabs网络启动镜像工具

grub4dos-0.4.6a

TONPE

MAXDOS.IMG

1、参照前篇博文搭建好DHCP、GHOSTCAST服务器

2、解压缩grub4dos,把grldr,menu.lst文件保存在C:\TFTP目录中

3、使用TONPE生成winpe.iso,上网下载MAXDOS.IMG,把此两文件复制到C:\TFTP目录中

4、使用Ghost Boot Wizard生成ghost.iso启动镜像:

"开始"--"程序"--"Symantec Ghost"--"Ghost Boot Wizard"--"Network Boot Package"

bubuko.com,布布扣

bubuko.com,布布扣

5、修改DHCP启动文件名为grldr

bubuko.com,布布扣

6、编写menu.lst文件

我的这样写的:

# This is a sample menu.lst file. You should make some changes to it.

# The old install method of booting via the stage-files has been removed.

# Please install GRLDR boot strap code to MBR with the bootlace.com

# utility under DOS/Win9x or Linux.


color blue/green yellow/red white/magenta white/magenta

timeout 30

## menu border color

color border=0xEEFFEE

## set vbe mode

graphicsmode -1 640 480:800

## loading splashimage

splashimage /boot/grub/splashimage.xpm || splashimage /boot/grub/splashimage.bmp

default /default

## Menu AutoNumber

write 0x8274 0x2001


title WinPE.ISO    

map /WinPE.ISO (0xff) || map --mem(pd) /WinPE.ISO (0xff)  

map --hook  

root(0xff)  

chainloader (0xff)


title GHOSTCAST

map /ghost.iso (0xff) || map --mem(pd) /ghost.iso (0xff)  

map --hook  

root(0xff)  

chainloader (0xff)


title MAXDOS.IMG

find --set-root --ignore-floppies /MAXDOS.IMG

map --mem /MAXDOS.IMG (fd0)

map --hook

chainloader (fd0)+1

rootnoverify (fd0)


title LOCAL HDD

rootnoverify (hd0,0)

makeactive

chainloader +1


title find and load NTLDR of Windows NT/2K/XP\n find and load NTLDR of Windows NT/2K/XP

fallback 1

find --set-root --ignore-floppies --ignore-cd /ntldr

map () (hd0)

map (hd0) ()

map --rehook

find --set-root --ignore-floppies --ignore-cd /ntldr

chainloader /ntldr

savedefault --wait=2


#iftitle only show when command in [] returns true

# set a variable named bootmgr where /bootmgr is found.

iftitle [find --set-root --devices=h /bootmgr && call set bootmgr=%@root^%] load BOOTMGR of Windows VISTA/WIN7/WIN2008 on %bootmgr%

chainloader %bootmgr%/bootmgr

savedefault --wait=2


title reboot

reboot


title SHUTDOWN

halt


7、在客户端设置网卡启动,选择对应启动项,加载即可。如果使用GHOSTCAST,注意启动GHOSTCAST服务器。



本文出自 “石头多的博客” 博客,转载请与作者联系!

grub4dos OVER PXE,布布扣,bubuko.com

grub4dos OVER PXE

原文:http://dayday.blog.51cto.com/3248/1380393

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!