无忧启动论坛

 找回密码
 注册
搜索
系统gho:最纯净好用系统下载站广告联系 微信:wuyouceo QQ:184822951
查看: 3827|回复: 5
打印 上一主题 下一主题

[求助] GRUB启动菜单修改求助

[复制链接]
跳转到指定楼层
1#
发表于 2019-1-1 21:56:02 | 显示全部楼层 回帖奖励 |倒序浏览 |阅读模式
本帖最后由 anythingsky 于 2019-1-1 21:57 编辑

如下代码 , 本人想让他默认启动   "启动 Windows 10 PE x64 (新机型)"

需要改什么 了


timeout 15
default 2
gfxmenu /BOOT/GRUB/MESSAGE
graphicsmode -1 600:800
font /BOOT/GRUB/MENU.HEX

title [1] 启动 Windows 2003 PE (旧机型)
find --set-root /WXPE/SETUPLDR.BIN
chainloader /WXPE/SETUPLDR.BIN

title [2] 启动 Windows 10 PE x64 (新机型)
find --set-root /BOOT/10PEX64
chainloader /BOOT/10PEX64

title [3] 启动 硬盘上的操作系统
find --set-root --ignore-floppies --ignore-cd /ntldr || find --set-root --ignore-floppies --ignore-cd /bootmgr
map () (hd0)
map (hd0) ()
map --rehook
find --set-root --ignore-floppies --ignore-cd /ntldr || find --set-root --ignore-floppies --ignore-cd /bootmgr
chainloader /ntldr || chainloader /bootmgr

title [4] 运行 DiskGenius 硬盘分区工具
terminal console
pause --wait=2  Loading DiskGenius tool ...
map --mem /BOOT/IMGS/DG.IMG (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)

title [5] 运行 Ghost 备份恢复工具
configfile /BOOT/GRUB/GHOST.LST

title [6] 运行 MaxDos 工具箱
terminal console
pause --wait=2  Loading DOS tool ...
map --mem /BOOT/IMGS/DOS.IMG (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)

title [7] 运行 其他工具
configfile /BOOT/GRUB/TOOL.LST

title [8] 关闭 计算机
halt
2#
 楼主| 发表于 2019-1-2 08:12:26 | 显示全部楼层
dhlxtynz 发表于 2019-1-1 23:07
第一项从0开始,改为default 1就可以了吧

谢谢,已经测试成功了
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

闽公网安备 35020302032614号

GMT+8, 2024-5-2 21:12

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

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