|
2011今夕何夕 发表于 2013-9-27 09:33
以前用p大的0pe无往不利,不过最近被uefi搞的头晕脑胀,死活启动不了。
后来更新了版本,用了8pe组件,启 ...
肯定是可以的,我现在就这样用着,只不过是修改一下Grldr菜单就可以了,下面是我用的菜单。- #DIY Menu
- debug off
- checkrange 0x21 read 0x8280 && pxe detect NotExist
- checkrange 0x23 read 0x8280 && command --set-path=(ud)/GRUB ! command --set-path=(bd)/GRUB
- terminal graphics
- graphicsmode -1 640
- color white/blue blue/yellow yellow/red 10
- set PE78=
- if exist (bd)/BOOT/W8PE_X64.wim set PE78=(bd) || if exist %?_BOOT%/BOOT/W8PE_X64.wim set PE78=%?_BOOT% || if exist (0xff)/BOOT/W8PE_X64.wim set PE78=(0xff) || if exist (hd0,0)/BOOT/W8PE_X64.wim set PE78=(hd0,0)
- if exist PE78 set title78=X64 || set title78=(未部署)
- set Ub=
- if exist (bd)/Ubuntu/Ubuntu-cooking3-v41.iso set Ub=(bd) || if exist %?_BOOT%/Ubuntu/Ubuntu-cooking3-v41.iso set Ub=%?_BOOT% || if exist (0xff)/Ubuntu/Ubuntu-cooking3-v41.iso set Ub=(0xff) || if exist (hd0,0)/Ubuntu/Ubuntu-cooking3-v41.iso set Ub=(hd0,0)
- if exist Ub set titleUb=12.04.2 || set titleUb=(未部署)
- timeout 3
- default 3
- #0
- title 0PE Native Based v1.4.9 by Pseudo 2013.09.08
- clear
- #1
- title
- clear
- #2
- title [1] 0PE Native Based on Windows XP\n Multi core CPU run on a single core model\n 多核 CPU 运行在单核模式,提供网络支持以及三卡驱动。
- set tipstime=3
- set showmenu=0
- write 0x60300 0x60300
- write 0x60100 1
- configfile /GRUB/MENU.0PE
- #3
- title [2] 0PE Native Based on Windows 2003\n Automatically adapt to multi core CPU\n 自动适应单核/多核 CPU,提供网络支持以及三卡驱动。
- set tipstime=3
- set showmenu=1
- set srstime=0
- write 0x60300 0x60300
- write 0x60100 2
- configfile /GRUB/MENU.0PE
- #4
- title [3] PE Based on Windows 8 %title78%\n By WuYin from bbs.wuyou.net\n 自带基本的维护工具,但不提供网络支持。
- if "%title78%"=="(未部署)" goto 0
- set PE78=
- if exist (bd)/BOOT/BOOTMGR set PE78=(bd) || if exist %?_BOOT%/BOOT/BOOTMGR set PE78=%?_BOOT% || if exist (0xff)/BOOT/BOOTMGR set PE78=(0xff) || if exist (hd0,0)/BOOT/BOOTMGR set PE78=(hd0,0)
- if "%title78%"=="(未部署)" goto 0 if not exist PE78 echo Finding /BOOT/BOOTMGR...
- if not exist PE78 if exist (fd0,0)/BOOT/BOOTMGR set PE78=(fd0,0)
- if not exist PE78 find --set-root /BOOT/BOOTMGR && set PE78=%@root%
- if not exist PE78 pause /BOOT/BOOTMGR存在才能实现此功能。 && root (bd) || echo
- if not exist PE78 goto 0
- map (hd-1) (hd-1)
- map --rehook
- rootnoverify %PE78%
- chainloader /BOOT/BOOTMGR && boot
- pause Something is wrong with your Win8PE. && goto 0
- #5
- title [4] Ubuntu lite %titleUb%\n Start Ubuntu lite \n 启动 Ubuntu 精简版
- if "%titleUb%"=="(未部署)" goto 0
- find --set-root --devices=uch /Ubuntu/ubuntu-cooking3-v41.iso
- kernel (bd)/Ubuntu/bzImage file=/cdrom/preseed/custom.seed boot=casper iso-scan/filename=/Ubuntu/ubuntu-cooking3-v41.iso ro splash
- initrd (bd)/Ubuntu/Initrd.GZ
- map (hd-1) (hd-1)
- map --rehook
- #6
- title [5] 0PE Advance menu\n More choices...\n 加强工具箱,包含 WinPE、Linux、DOS 工具、XP 原版系统安装工具...
- set tipstime=3
- set showmenu=1
- configfile /GRUB/MENU.0PE
- #7
- title [6] DOS ToolBOX\n MemTest, DiskGenius, Active Password Changer...\n 提供各种 DOS 工具:内存检测、磁盘维护、系统密码清除...
- command RUN
- #8
- title [7] Reboot\n Reboot...\n 重新启动...
- reboot
复制代码 |
|