抛弃优启Grub4dos和PE大多数时间可以这样用
2015-04-02 20:59
260 查看
在能够进入Windows的情况下,Grub4dos和PE大多数时间可以这样用
http://yunpan.cn/cyuuUtUQMfmGN 提取码 c2ac
Grub4dos的出现颠覆了传统的EZBOOT光盘启动模式,很多人用grub4dos来实现优盘启动,同时grub4dos能够安装到本地硬盘上,启动WINPE。看到电脑城维修员经常用USB启动电脑,ghost安装系统,优盘换来换去,时常感到很纳闷,电脑本来能够进入Windows,为什么不直接从硬盘启动PE,而一定要格式化之后从优盘启动PE?
我的办法很简单,进入windows,用bootice把grub4dos写入MBR,把grldr和grldr.mbr拷贝到任何一个非系统盘,同目录下编辑通用菜单menu.lst,菜单项包括启动本地windows NT5.x和NT6.x,启动各种PE等等。把Grub4dos写入本地硬盘MBR的好处是,在PE下ghost安装系统到C盘,如果安装过程出现蓝屏等异常情况,可以继续从非系统盘的硬盘进入PE,重新安装系统。当然如果你不喜欢Grub4dos为第一启动项,可以修改boot.ini或者BCD菜单,用ntldr/bootmgr作为第一引导,引导grldr,然后引导PE。
一般地来说,一个硬盘重新分区不过1~2次,即使是新系统,很多也预装了windows,只要能够进入windows,就能够从硬盘直接启动PE。
我常用Uepon的通用PE,以通用PE为例,目录结构如下:(以F盘为例)
F:\BOOT
├─BOOTICE(存放bootice工具)
├─FbinstTool(存放FbinstTool工具)
├─imgs(存放PE的ISO镜像文件,各种软件img镜像文件)
├─grub(内有grldr.*、menu.lst的备份,批处理会自动把备份拷贝到根目录,还存放sratlf的run模块和网启服务器tftpd32.*)
└─pxelinux.cfg(存放pxelinux默认菜单default)
为了方便,我用写了几个批处理文件,快速地安装PE到不同分区。
把WINPE镜像及其他引导工具拷贝到C盘.bat
在boot.ini中增加grub4dos启动项(WIN7右击用管理员身份运行!!!)
在BCD文件中增加grub4dos启动项.bat
删除boot.ini中grub4dos启动项.bat
......
menu.lst内容如下:
color white/blue blue/yellow light-red/blue 10
foreground FFFFFF
background 0000AD
timeout 1
default 0
title boot Windows by zhaohj
find --set-root --devices=h /ntldr || find --set-root --devices=h /bootmgr
map () (hd0)
map (hd0) ()
map --rehook
find --set-root --devices=h /ntldr || find --set-root --devices=h /bootmgr
#rootnoverify (hd0,0)
chainloader /ntldr || chainloader /bootmgr
title WINPE by uepon (TonPE_V3.3.iso+firadisk)
find --ignore-floppies --ignore-cd --set-root /boot/imgs/firadisk.img
map --mem /boot/imgs/TonPE_V3.3.iso (0xff)
map --e820cycles=-1
map --hook
chainloader (0xff)
title tongyong WINPE by Uepon (TonPE.iso)
find --ignore-floppies --ignore-cd --set-root /boot/imgs/firadisk.img
map --mem /boot/imgs/firadisk.img (fd0)
map --mem /boot/imgs/TonPE.iso (0xff)
map --e820cycles=-1
map --hook
chainloader (0xff)
title tongyong WINPE by Uepon (TonPE_net.iso+firadisk)
find --ignore-floppies --ignore-cd --set-root /boot/imgs/firadisk.img
map --mem /boot/imgs/TonPE_net.iso (0xff)
map --e820cycles=-1
map --hook
chainloader (0xff)
title ghost by doshome
find --ignore-floppies --ignore-cd --set-root /boot/imgs/firadisk.img
map --mem /boot/imgs/ghost.img (fd0)
map --hook
chainloader (fd0)+1
root (fd0)
title run mem automenu by sratlf
command run --set-showsize=0 --e820cycles=-1 --mem --automenu --show.iso
title run fira automenu by sratlf
command run --set-showsize=0 --e820cycles=-1 --mem --fira --automenu --show.iso
title plpbt.bin
kernel (bd)/boot/grub/plpbt.bin
title Boot from pxelinux
pxe keep
chainloader --raw (bd)/pxelinux.0
#chainloader --force (bd)/pxelinux.0
title WINPE (startrom.0)
pxe keep
chainloader --force (bd)/startrom.0
title boot from hard disk
checkrange 0x80 read 0x8280 && map (hd1) (hd0)
checkrange 0x80 read 0x8280 && map --hook
chainloader (hd0)+1
boot
title command line
commandline
title reboot
reboot
title halt
halt
http://yunpan.cn/cyuuUtUQMfmGN 提取码 c2ac
Grub4dos的出现颠覆了传统的EZBOOT光盘启动模式,很多人用grub4dos来实现优盘启动,同时grub4dos能够安装到本地硬盘上,启动WINPE。看到电脑城维修员经常用USB启动电脑,ghost安装系统,优盘换来换去,时常感到很纳闷,电脑本来能够进入Windows,为什么不直接从硬盘启动PE,而一定要格式化之后从优盘启动PE?
我的办法很简单,进入windows,用bootice把grub4dos写入MBR,把grldr和grldr.mbr拷贝到任何一个非系统盘,同目录下编辑通用菜单menu.lst,菜单项包括启动本地windows NT5.x和NT6.x,启动各种PE等等。把Grub4dos写入本地硬盘MBR的好处是,在PE下ghost安装系统到C盘,如果安装过程出现蓝屏等异常情况,可以继续从非系统盘的硬盘进入PE,重新安装系统。当然如果你不喜欢Grub4dos为第一启动项,可以修改boot.ini或者BCD菜单,用ntldr/bootmgr作为第一引导,引导grldr,然后引导PE。
一般地来说,一个硬盘重新分区不过1~2次,即使是新系统,很多也预装了windows,只要能够进入windows,就能够从硬盘直接启动PE。
我常用Uepon的通用PE,以通用PE为例,目录结构如下:(以F盘为例)
F:\BOOT
├─BOOTICE(存放bootice工具)
├─FbinstTool(存放FbinstTool工具)
├─imgs(存放PE的ISO镜像文件,各种软件img镜像文件)
├─grub(内有grldr.*、menu.lst的备份,批处理会自动把备份拷贝到根目录,还存放sratlf的run模块和网启服务器tftpd32.*)
└─pxelinux.cfg(存放pxelinux默认菜单default)
为了方便,我用写了几个批处理文件,快速地安装PE到不同分区。
把WINPE镜像及其他引导工具拷贝到C盘.bat
在boot.ini中增加grub4dos启动项(WIN7右击用管理员身份运行!!!)
在BCD文件中增加grub4dos启动项.bat
删除boot.ini中grub4dos启动项.bat
......
menu.lst内容如下:
color white/blue blue/yellow light-red/blue 10
foreground FFFFFF
background 0000AD
timeout 1
default 0
title boot Windows by zhaohj
find --set-root --devices=h /ntldr || find --set-root --devices=h /bootmgr
map () (hd0)
map (hd0) ()
map --rehook
find --set-root --devices=h /ntldr || find --set-root --devices=h /bootmgr
#rootnoverify (hd0,0)
chainloader /ntldr || chainloader /bootmgr
title WINPE by uepon (TonPE_V3.3.iso+firadisk)
find --ignore-floppies --ignore-cd --set-root /boot/imgs/firadisk.img
map --mem /boot/imgs/TonPE_V3.3.iso (0xff)
map --e820cycles=-1
map --hook
chainloader (0xff)
title tongyong WINPE by Uepon (TonPE.iso)
find --ignore-floppies --ignore-cd --set-root /boot/imgs/firadisk.img
map --mem /boot/imgs/firadisk.img (fd0)
map --mem /boot/imgs/TonPE.iso (0xff)
map --e820cycles=-1
map --hook
chainloader (0xff)
title tongyong WINPE by Uepon (TonPE_net.iso+firadisk)
find --ignore-floppies --ignore-cd --set-root /boot/imgs/firadisk.img
map --mem /boot/imgs/TonPE_net.iso (0xff)
map --e820cycles=-1
map --hook
chainloader (0xff)
title ghost by doshome
find --ignore-floppies --ignore-cd --set-root /boot/imgs/firadisk.img
map --mem /boot/imgs/ghost.img (fd0)
map --hook
chainloader (fd0)+1
root (fd0)
title run mem automenu by sratlf
command run --set-showsize=0 --e820cycles=-1 --mem --automenu --show.iso
title run fira automenu by sratlf
command run --set-showsize=0 --e820cycles=-1 --mem --fira --automenu --show.iso
title plpbt.bin
kernel (bd)/boot/grub/plpbt.bin
title Boot from pxelinux
pxe keep
chainloader --raw (bd)/pxelinux.0
#chainloader --force (bd)/pxelinux.0
title WINPE (startrom.0)
pxe keep
chainloader --force (bd)/startrom.0
title boot from hard disk
checkrange 0x80 read 0x8280 && map (hd1) (hd0)
checkrange 0x80 read 0x8280 && map --hook
chainloader (hd0)+1
boot
title command line
commandline
title reboot
reboot
title halt
halt
相关文章推荐
- 抛弃优启Grub4dos和PE大多数时间可以这样用
- 投资10万,两年时间回本并还可以赚100%的PE信托项目
- 古代赌局 俗话说:十赌九输。因为大多数赌局的背后都藏有阴谋。不过也不尽然,有些赌局背后藏有的是:“阳谋”。 有一种赌局是这样的:桌子上放六个匣子,编号是1至6。多位参与者(以下称玩家)可以把
- 只学一点点:我的技术学习策略(虽然不赞同,但可以参考一下,针对不常用的技术可以这样,同时可以:寻找遁去的一,不用管别人怎么想;有学习的时间,不如自己写、自己实践,否则学完了都不知道是什么东西)
- 原来时间可以过得这样快
- 通过这样一个方法可以取得两个日期当中的日期数,或者去的多少天以后的时间
- 仿IOS时间选择,五级联动,可以根据自己爱好进行修改(公司需要这样的,效果好)
- 4程序员小飞原计划三天完成某个任务,现在是第三天的下午,他马上就可以做完。但是在实现功能的过程中,他越来越意识到自己原来设计中的弱点,他应该采取另一个办法,才能避免后面集成阶段的额外工作。但是他如果现在就改弦更张,那势必要影响自己原来估计的准确性,并且会花费额外的时间,这样他的老板、同事也许会因此看不起他。如果他按部就班地按既定设计完成,还要花更多时间在后续集成上,但那就不是他个人的问题了,怎么办
- 古代赌局 俗话说:十赌九输。因为大多数赌局的背后都藏有阴谋。不过也不尽然,有些赌局背后藏有的是:“阳谋”。 有一种赌局是这样的:桌子上放六个匣子,编号是1至6。多位参与者(以下称玩家)可以把
- 在ISP 设备上建立BGP路由是,最好是吧,ISP连接CE直接的线路路由通告到BGP进程里,这样BGP的CE才可以学到PE-CE的直连路由,除非题目要求ISP的PE不可以通知face面向CE的直连路由
- C语言/c++中可以计算运行时间的函数clock( )
- 可以选择时间的日历控件js
- 没事情可以这样找电影看
- Qt 静态编译后的exe太大, 可以这样压缩.
- 可以管理时间的二叉堆
- 骑驴找马面试难,你可以这样解决!
- ahjesus在asp.net中还可以通过设置HttpCookie对象的过期时间为DateTime.MinValue来指定此Cookies为跟随浏览器生效
- c语言排列组合还可以这样求
- 不知道为什么这样设置可以处理较高并发
- 缺少Ncurses文件可以像下面这样安装