|
|
回顾自己的菜单,实在是被雷了一把……
那位同志见过这么长的菜单的?近16K……
- debug 1
- terminal console
- map ()/boot/grub/res.img (0x5) || map --mem ()/boot/grub/res.img (0x5)
- map --hook
- checkrange 1 read 0x60005 || command (0x5)/usb_acc.0pe && write 0x60004 1
- graphicsmode -1 100:1024 100:1024 16:32
- outline on
- write 0x8274 0x2E01
- color normal=0x0E highlight=0x0C helptext=0x00 heading=0x0C standard=0x0A border=0xE0
- splashimage (0x5)/background.bmp.gz
- font (0x5)/unifont.hex.gz
- set curdev=%@root%
- title ================================风铃PE V1.1.6 2012-5-24 By czmxbb52================================
- clear
- iftitle [if exist /MKRL/XPPE/NVXPPEKR1.iso || find --set-root /MKRL/XPPE/NVXPPEKR1.iso] 启动XPPE(兼容模式)\n直接map,镜像文件需连续存放
- terminal console
- root %@root%
- command (0x5)/F6IMG ()/boot/grub/SRS
- command (0x5)/movehd
- echo Loading the file, please wait ... (may take a few minutes)
- map /MKRL/XPPE/NVXPPEKR1.iso (0xFF)
- map /MKRL/XPPE/NVXPPEKR2.iso (0xFE)
- map --mem /boot/TinyTools.LZMA (0xCE)
- map --hook
- map --unmap=0x5
- checkrange 0x0 read 0x60006 && map --e820cycles=3
- map --rehook
- echo Finished loading!
- chainloader (0xFF)/ldrpe
- root (0xFF)
- boot
- iftitle [if exist /MKRL/XPPE/NVXPPEKR1.iso || find --set-root /MKRL/XPPE/NVXPPEKR1.iso] 启动XPPE(高速模式)\n将映像载入内存map,消耗内存较高
- terminal console
- root %@root%
- command (0x5)/F6IMG ()/boot/grub/SRS
- command (0x5)/movehd
- echo Loading the file, please wait ... (may take a few minutes)
- map --mem /MKRL/XPPE/NVXPPEKR1.iso (0xFF)
- map --mem /MKRL/XPPE/NVXPPEKR2.iso (0xFE)
- map --mem /boot/TinyTools.LZMA (0xCE)
- map --hook
- map --unmap=0x5
- checkrange 0x0 read 0x60006 && map --e820cycles=3
- map --rehook
- echo Finished loading!
- chainloader (0xFF)/ldrpe
- root (0xFF)
- boot
- iftitle [if exist /MKRL/XPPE/NVXPPEKR1.iso || find --set-root /MKRL/XPPE/NVXPPEKR1.iso] 启动XPPE(平衡模式)\n将一级映像载入内存map,消耗内存较高
- terminal console
- root %@root%
- command (0x5)/F6IMG ()/boot/grub/SRS
- command (0x5)/movehd
- echo Loading the file, please wait ... (may take a few minutes)
- map --mem /MKRL/XPPE/NVXPPEKR1.iso (0xFF)
- map /MKRL/XPPE/NVXPPEKR2.iso (0xFE)
- map --mem /boot/TinyTools.LZMA (0xCE)
- map --hook
- map --unmap=0x5
- checkrange 0x0 read 0x60006 && map --e820cycles=3
- map --rehook
- echo Finished loading!
- chainloader (0xFF)/ldrpe
- root (0xFF)
- boot
- iftitle [if exist /MKRL/2K3PE/NV2K3PEKR1.iso || find --set-root /MKRL/2K3PE/NV2K3PEKR1.iso] 启动XPPE(自适应模式)
- terminal console
- root %@root%
- command (0x5)/F6IMG ()/boot/grub/SRS
- command (0x5)/movehd
- debug 1
- echo In the adaptive mode loading Win2K3PE, may take a few minutes, please wait ... ...
- set mem=
- checkrange 0x1:0x40000 read 0x8298 && set mem=
- dd if=(md)0+1 of=()/boot/grub/temp bs=512 count=1 || set mem=--mem
- if /i "%@root%"=="(cd)" set mem=--mem
- if /i "%@root%"=="(pd)" set mem=--mem
- if /i "%@root%"=="(fd0)" set mem=--mem
- map %mem% /MKRL/XPPE/NVXPPEKR1.iso (0xFF) || map --mem /MKRL/XPPE/NVXPPEKR1.iso (0xFF)
- map %mem% /MKRL/XPPE/NVXPPEKR2.iso (0xFE) || map --mem /MKRL/XPPE/NVXPPEKR2.iso (0xFE)
- map --mem ()/boot/TinyTools.LZMA (0xCE)
- checkrange 0x0 read 0x60006 && map --e820cycles=3
- map --hook
- echo Finished loading!
- chainloader (0xFF)/ldrpe
- root (0xFF)
- boot
- iftitle [if exist /MKRL/2K3PE/NV2K3PEKR1.iso || find --set-root /MKRL/2K3PE/NV2K3PEKR1.iso] 启动2K3PE(兼容模式) [2] Start 2K3PE\n该版可能被裁掉了,高速模式,较消耗内存
- terminal console
- root %@root%
- command (0x5)/F6IMG ()/boot/grub/SRS
- command (0x5)/movehd
- echo Loading the file, please wait ... (may take a few minutes)
- map --mem ()/MKRL/2K3PE/NV2K3PEKR1.iso (0xFF)
- map --mem ()/MKRL/2K3PE/NV2K3PEKR2.iso (0xFE)
- map --mem ()/boot/TinyTools.LZMA (0xCE)
- checkrange 0x0 read 0x60006 && map --e820cycles=3
- map --hook
- map --unmap=0x5
- map --rehook
- echo Finished loading!
- chainloader (0xFF)/ldrpe
- root (0xFF)
- boot
- iftitle [if exist /MKRL/2K3PE/NV2K3PEKR1.iso || find --set-root /MKRL/2K3PE/NV2K3PEKR1.iso] 启动2K3PE(高速模式) [2] Start 2K3PE\n该版可能被裁掉了,高速模式,较消耗内存
- terminal console
- root %@root%
- command (0x5)/F6IMG ()/boot/grub/SRS
- command (0x5)/movehd
- echo Loading the file, please wait ... (may take a few minutes)
- map ()/MKRL/2K3PE/NV2K3PEKR1.iso (0xFF) || map --mem ()MKRL/2K3PE/NV2K3PEKR1.iso (0xFF)
- map ()/MKRL/2K3PE/NV2K3PEKR2.iso (0xFE) || map --mem ()MKRL/2K3PE/NV2K3PEKR2.iso (0xFE)
- map --mem ()/boot/TinyTools.LZMA (0xCE)
- checkrange 0x0 read 0x60006 && map --e820cycles=3
- map --hook
- map --unmap=0x5
- map --rehook
- echo Finished loading!
- chainloader (hd0,0)/ldrpe
- root (hd0,0)
- boot
- iftitle [if exist /MKRL/2K3PE/NV2K3PEKR1.iso || find --set-root /MKRL/2K3PE/NV2K3PEKR1.iso] 启动2K3PE(自适应模式)
- terminal console
- root %@root%
- command (0x5)/F6IMG ()/boot/grub/SRS
- command (0x5)/movehd
- debug 1
- echo In the adaptive mode loading Win2K3PE, may take a few minutes, please wait ... ...
- set mem=
- checkrange 0x1:0x40000 read 0x8298 && set mem=
- dd if=(md)0+1 of=()/boot/grub/temp bs=512 count=1 || set mem=--mem
- if /i "%@root%"=="(cd)" set mem=--mem
- if /i "%@root%"=="(pd)" set mem=--mem
- if /i "%@root%"=="(fd0)" set mem=--mem
- map %mem% /MKRL/2K3PE/NV2K3PEKR1.iso (0xFF) || map --mem /MKRL/2K3PE/NV2K3PEKR1.iso (0xFF)
- map %mem% /MKRL/2K3PE/NV2K3PEKR2.iso (0xFE) || map --mem /MKRL/2K3PE/NV2K3PEKR2.iso (0xFE)
- map --mem ()/boot/TinyTools.LZMA (0xCE)
- checkrange 0x0 read 0x60006 && map --e820cycles=3
- map --hook
- echo Finished loading!
- chainloader (0xFF)/ldrpe
- root (0xFF)
- boot
- iftitle [if exist /MKRL/Win7PE/NV7PEKR1.IMG || find --set-root /MKRL/Win7PE/NV7PEKR1.IMG] 启动Win7PE(兼容模式)\n兼容模式,速度较慢,内存消耗低,镜像需连续存放
- terminal console
- echo Is the compatibility mode the load Win7PE, please wait ...
- command (0x5)/movehd
- map /MKRL/Win7PE/NV7PEKR1.IMG (hd0) || map /MKRL/Win7PE/NV7PEKR1.IMG (hd0) || map --mem /MKRL/Win7PE/NV7PEKR1.IMG (hd0)
- map /MKRL/Win7PE/NV7PEKRL.IMG (0x99) || map /MKRL/Win7PE/NV7PEKRL.IMG (0x99) || map --mem /MKRL/Win7PE/NV7PEKRL.IMG (0x99)
- map --mem ()/boot/TinyTools.LZMA (0xCE)
- checkrange 0x0 read 0x60006 && map --e820cycles=3
- map --hook
- map --unmap=0x5
- map --rehook
- echo Finished loading!
- chainloader (hd0,0)/bootmgr
- root (hd0,0)
- boot
- iftitle [if exist /MKRL/Win7PE/NV7PEKR1.IMG || find --set-root /MKRL/Win7PE/NV7PEKR1.IMG] 启动Win7PE(高速模式)\n高速模式,速度较快,内存消耗高,镜像无需连续存放
- terminal console
- echo Is loaded by high-speed mode the Win7PE, please wait ...
- command (0x5)/movehd
- map --mem /MKRL/Win7PE/NV7PEKR1.IMG (hd0)
- map --mem /MKRL/Win7PE/NV7PEKRL.IMG (0x99)
- map --mem ()/boot/TinyTools.LZMA (0xCE)
- checkrange 0x0 read 0x60006 && map --e820cycles=3
- map --hook
- echo Finished loading!
- chainloader (hd0,0)/bootmgr
- root (hd0,0)
- boot
- iftitle [if exist /MKRL/Win7PE/NV7PEKR1.IMG || find --set-root /MKRL/Win7PE/NV7PEKR1.IMG] 启动Win7PE(平衡模式)\n中速模式,速度较快,内存消耗适中,二级内核镜像需连续存放
- terminal console
- echo Are load balanced mode the Win7PE, please wait ...
- command (0x5)/movehd
- map --mem /MKRL/Win7PE/NV7PEKR1.IMG (hd0)
- map /MKRL/Win7PE/NV7PEKRL.IMG (0x99) || map /MKRL/Win7PE/NV7PEKRL.IMG (0x99) || map --mem /MKRL/Win7PE/NV7PEKRL.IMG (0x99)
- map --mem ()/boot/TinyTools.LZMA (0xCE)
- checkrange 0x0 read 0x60006 && map --e820cycles=3
- map --hook
- echo Finished loading!
- chainloader (hd0,0)/bootmgr
- root (hd0,0)
- boot
- iftitle [if exist /MKRL/Win7PE/NV7PEKR1.IMG || find --set-root /MKRL/Win7PE/NV7PEKR1.IMG] 启动Win7PE(自适应模式)
- terminal console
- debug 1
- echo In the adaptive mode loading Win7PE, may take a few minutes, please wait ... ...
- set mem=
- checkrange 0x1:0x40000 read 0x8298 && set mem=
- dd if=(md)0+1 of=()/boot/grub/temp bs=512 count=1 || set mem=--mem
- if /i "%@root%"=="(cd)" set mem=--mem
- if /i "%@root%"=="(pd)" set mem=--mem
- if /i "%@root%"=="(fd0)" set mem=--mem
- map %mem% /MKRL/Win7PE/NV7PEKR1.IMG (hd0) || map --mem /MKRL/Win7PE/NV7PEKR1.IMG (hd0)
- map %mem% /MKRL/Win7PE/NV7PEKRL.IMG (0x9E) || map --mem /MKRL/Win7PE/NV7PEKRL.IMG (0x9E)
- map --mem ()/boot/TinyTools.LZMA (0xCE)
- checkrange 0x0 read 0x60006 && map --e820cycles=3
- map --hook
- echo Finished loading!
- chainloader (hd0,0)/bootmgr
- root (hd0,0)
- boot
- iftitle [if exist /puppy/initrd.gz] 启动 Puppy Linux
- root (bd)
- kernel ()/puppy/vmlinuz pmedia=cd pfix=noram
- initrd ()/puppy/initrd.gz
- checkrange 1 read 0x60001 && pxe unload
- title 加载F6IMG后串接启动任意分区下的/PE.ISO\n[7] load F6IMG cascading start any partition /PE.ISO
- command (0x5)/F6IMG ()/boot/grub/SRS
- debug 1
- find --set-root /PE.ISO
- map /PE.ISO (0xA8) || map --mem /PE.ISO (0xA8)
- if not exist (fd1)/TXTSETUP.OEM map --mem (0x5)/DiskImg/WVBlock.IMG (fd1)
- map --hook
- map --unmap=0x5
- map --rehook
- chainloader (0xA8)
- rootnoverify (0xA8)
- boot
- title 交换(hd0)(hd1) [8] swap (hd0) (hd1)
- map (hd0) (hd1)
- map (hd1) (hd0)
- map --rehook
- kernel || pause OK!
- iftitle [if exist /boot/IMGS/KONBOOT.GZ] KonBoot免口令模块(请细看下面提示)\n[9] KonBoot password-free modules (which may need to swap the disk)\n传奇的绕过电脑启动密码的工具。可能需要交换磁盘, 然后工作完了会回到此菜单 。请选择从硬盘启动就OK!
- map --mem ()/boot/IMGS/KONBOOT.GZ (fd0)
- map --hook
- map --unmap=0x5
- map --rehook
- chainloader (fd0)+1
- rootnoverify (fd0)
- boot
- iftitle [if exist /boot/IMGS/maxdos.gz] 启动MaxDOS工具箱 [10] Start MaxDOS Toolbox
- map --mem ()/boot/IMGS/maxdos.gz (fd0)
- map --hook
- map --unmap=0x5
- map --rehook
- chainloader (fd0)/io.sys
- rootnoverify (fd0)
- boot
- iftitle [if exist /boot/grub/RUN || find --set-root /boot/grub/RUN] 扫描/BOOT/IMGS目录下的镜像文件并列出\n[11] to start the RUN module and scanning /BOOT/IMGS directory, the image file and listed
- terminal console
- command RUN /BOOT/IMGS/
- iftitle [if exist /BOOT/IMGS/NTBOOT.iso] 搜索并启动硬盘上的系统
- map --mem ()/BOOT/IMGS/NTBOOT.iso (0xCD)
- map --hook
- map --unmap=0x5
- map --rehook
- chainloader (0xCD)
- boot
- title 启动第二硬盘(在U盘上是第一硬盘)上的Windows NT/2000/XP/2003\n[13] to start the second hard disk (U disk is the first hard disk) on Windows NT/2000/XP/2003\n简单,未考虑USB-ZIP的情况\nSimple, does not consider the case of the USB-ZIP
- find --set-root --ignore-floppies --ignore-cd /ntldr
- map () (hd0)
- map (hd0) ()
- map --rehook
- find --set-root --ignore-floppies --ignore-cd /ntldr
- map --unmap=0x5
- map --rehook
- chainloader /ntldr
- title 启动第二硬盘(在U盘上是第一硬盘)上的Windows Vista/7\n[14] to start the second hard disk (U disk is the first hard disk) on Windows Vista / Windows 7\n简单,未考虑USB-ZIP的情况\nSimple, does not consider the case of the USB-ZIP
- find --set-root --ignore-floppies --ignore-cd /bootmgr
- map () (hd0)
- map (hd0) ()
- map --rehook
- find --set-root --ignore-floppies --ignore-cd /bootmgr
- map --unmap=0x5
- map --rehook
- chainloader /bootmgr
- title 可输入式ISO启动器(玩具级,没法跟0PE的比,不带SRS)
- set /p file=请输入ISO的位置,不必填绝对路径:
- find --set-root %file% || echo 没找到你要的文件! && goto 1
- map --mem (0x5)/DiskImg/WVBlock.IMG (fd1)
- map %file% (hd33) || map --mem --top %file% (hd33) || map --mem %file% (hd33)
- checkrange 0x0 read 0x60006 && map --e820cycles=3
- map --hook
- chainloader (hd33)+1
- boot
- title 可输入式ISO启动器(玩具级,没法跟0PE的比,带SRS)
- set /p file=请输入ISO的位置,不必填绝对路径:
- find --set-root %file% || echo 没找到你要的文件! && goto 2
- command (0x5)/F6IMG ()/boot/grub/SRS
- if not exist (fd1)/txtsetup.oem map --mem (0x5)/DiskImg/WVBlock.IMG (fd1)
- map %file% (hd33) || map --mem --top %file% (hd33) || map --mem %file% (hd33)
- checkrange 0x0 read 0x60006 && map --e820cycles=3
- map --hook
- chainloader (hd33)+1
- boot
- title 强行加载F6IMG
- command (0x5)/F6IMG ()/boot/grub/SRS
- title A盘为SRS驱动,B盘为FiraDisk驱动
- map --unmap=1
- map --rehook
- map --mem (0x5)/DiskImg/firadisk.img (fd1)
- map --hook
- kernel || pause OK!
- title A盘为SRS驱动,B盘为WinVBlock驱动(默认情况下是这样)
- map --unmap=1
- map --rehook
- map --mem (0x5)/DiskImg/WVBlock.IMG (fd1)
- map --hook
- kernel || pause OK!
- title A盘为空,B盘为WinVBlock驱动
- map --unmap=0
- map --unmap=1
- map --rehook
- map --mem (0x5)/DiskImg/WVBlock.IMG (fd1)
- map --hook
- kernel || pause OK!
- title A盘为空,B盘为FiraDisk驱动
- map --unmap=0
- map --unmap=1
- map --rehook
- map --mem (0x5)/DiskImg/firadisk.img (fd1)
- map --hook
- kernel || pause OK!
- title A盘为SRS驱动,B盘为空
- map --unmap=1
- map --rehook
- kernel || pause OK!
- title 颠倒A盘和B盘
- map (fd0) (fd1)
- map (fd1) (fd0)
- map --rehook
- kernel || pause OK!
- title 切换调试状态
- checkrange 1 read 0x60006 || debug off && write 0x60006 0 ! debug on && write 0x60006 1
- kernel || echo OK!
- title 干掉第一块硬盘的55AA\n干掉硬盘55AA,适用严重坏道情况要进PE,请谨慎操作!
- clear
- cat --skip=510 (hd0)+1 > (md)0x200+1
- checkrange 0xaa55 read 0x40000 && write --offset=510 (hd0)+1 \x00\x00
- pause Clear finish
- kernel || clear
- title 干掉第二块硬盘的55AA\n干掉硬盘55AA,适用严重坏道情况要进PE,请谨慎操作!
- clear
- cat --skip=510 (hd1)+1 > (md)0x200+1
- checkrange 0xaa55 read 0x40000 && write --offset=510 (hd1)+1 \x00\x00
- pause Clear finish
- kernel || clear
- title 恢复第一块硬盘的55AA\n恢复硬盘55AA,适用55AA被干掉后硬盘不认的修复!
- clear
- cat --skip=510 (hd0)+1 > (md)0x200+1
- checkrange 0x0 read 0x40000 && write --offset=510 (hd0)+1 \xaa\x55
- pause finish
- kernel || clear
- title 恢复第二块硬盘的55AA\n恢复硬盘55AA,适用55AA被干掉后硬盘不认的修复!
- clear
- cat --skip=510 (hd1)+1 > (md)0x200+1
- checkrange 0x0 read 0x40000 && write --offset=510 (hd1)+1 \xaa\x55
- pause finish
- kernel || clear
- title 设置e820循环轮次为-1(即无限次访问INT15/ah=e820中断而不脱钩,老机使用)
- map --e820cycles=-1
- write 0x60006 1
- map --rehook
- pause 设置成功!
- kernel || clear
- title 设置e820循环轮次为0(就是hook后G4D的INT15不接管INT15中断,部分品牌机使用)
- map --e820cycles=0
- write 0x60006 1
- map --rehook
- pause 设置成功!
- kernel || clear
- title 设置e820循环轮次为1(hook后访问1次INT15/ah=e820中断即脱钩,部分机器用到)
- map --e820cycles=1
- write 0x60006 1
- map --rehook
- pause 设置成功!
- kernel || clear
- title 设置e820循环轮次为2(hook后访问2次INT15/ah=e820中断即脱钩,部分机器用到)
- map --e820cycles=2
- write 0x60006 1
- map --rehook
- pause 设置成功!
- kernel || clear
- title 设置e820循环轮次为3(hook后访问3次INT15/ah=e820中断即脱钩,大部分新机器用)
- map --e820cycles=3
- write 0x60006 1
- map --rehook
- pause 设置成功!
- kernel || clear
- title e820选项解说
- echo -e --e820cycles,int15的hook相关。用法:map\x20--e820cycles=数值,然后执行 map\x20--hook或map\x20--rehook。\n默认时,map\x20--e820cycles=-1,即0xFFFFFFFF,表示int15永远hook上。\n如果 map\x20--e820cycles=0,则执行map\x20--hook之后,int15处于脱钩状态。\n普通的正常电脑,只需map\x20--hook就可以了,因为默认时,e820cycles 是-1,即int15也永久hook上。\n对于不正常的电脑,如果int15一直hook上,则有些驱动程序会死掉。\n因此,需要调整int15被hook上的次数。可以试试e820cycles=0,1,2,3……,看看是否存在某个值,使得驱动程序不再死掉。
- pause
- kernel || clear
- title 进入Grub控制台
- commandline
- title 重新启动计算机
- reboot
- title 关闭计算机
- halt || halt --no-acpi || halt --no-apm || halt --force-sci
复制代码
那位同志能帮忙精简精简?谢谢! |
|