无忧启动论坛

 找回密码
 注册
搜索

多系统引导菜单制作(图形)

查看数: 3459 | 评论数: 2 | 收藏 1
关灯 | 提示:支持键盘翻页<-左 右->
    组图打开中,请稍候......
发布时间: 2015-9-11 09:56

正文摘要:

求如图所示的引导菜单制作详细方法

回复

qfns1860 发表于 2015-9-11 13:51:50
用easybcd修改
rj7can 发表于 2015-9-11 11:46:03
只是开机启动项增加grub4dos启动项...........可以参考一下论坛的批处理

rem Wim7 & 8启动选项增加PE选项
rem 判断是否为winxp WIN7系统
Ver|Find /I " 6.1">Nul &&Set Winver=Nt6&& Set Theos=Windows 7    &&  Goto win7
Ver|Find /I " 5.1">Nul &&Set Winver=Nt5&& Set Theos=Windows Xp    &&  Goto winxp

:win7
bcdedit | find "\rjldr.mbr" > NUL && echo 启动项中已有grub4dos,无需重复安装。&& goto EXIT
bcdedit /create /d "GRUB4DOS系统急救工具箱" /application bootsector >GrubID.txt
rem 上面欲增加的GRUB菜单名,可以修改为"GRUB For DOS"、"DOS + GHOST" 等等
for /f "tokens=2" %%i in (GrubID.txt) do set GrubID=%%i
del GrubID.txt > NUL
bcdedit /set %GrubID% device partition=%SystemDrive%
bcdedit /set %GrubID% path \rjldr.mbr
bcdedit /displayorder %GrubID% /addlast
bcdedit /timeout 3



:winxp
rem 解除boot.ini的各种属性
attrib -a -s -h -r %systemdrive%\boot.ini >nul  
rem 在boot.ini中加入新启动项,默认是加在最后面
echo c:\rjldr="GRUB4DOS系统急救工具箱" >>%systemdrive%\boot.ini  
rem 修改启动菜单默认等待时间为3秒
bootcfg /timeout 3  
rem 恢复boot.ini的各种属性
attrib +a +s +h +r %systemdrive%\boot.ini >nul

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

闽公网安备 35020302032614号

GMT+8, 2025-8-8 02:21

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

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