无忧启动论坛

 找回密码
 注册
搜索

启动任意分区可启动文件 Ventoy 自定义菜单插件 ventoy_grub.cfg

查看数: 47027 | 评论数: 251 | 收藏 64
关灯 | 提示:支持键盘翻页<-左 右->
    组图打开中,请稍候......
发布时间: 2021-12-8 17:32

正文摘要:

本帖最后由 2011cwj6958 于 2021-12-8 17:55 编辑 Ventoy 自定义菜单插件 ventoy_grub.cfg if [ "$grub_platform" = "pc" ]; then      menuentry '【启动主机第一硬盘启动引 ...

回复

ccsc2009 发表于 2024-3-10 00:23:26
请问PE备份不行怎么回事?
Ghost477 发表于 2024-3-8 23:44:28
nb
Ghost477 发表于 2024-3-8 23:43:30
hh
henantieying 发表于 2024-2-28 10:35:37
试试看看
bsdgsos 发表于 2024-2-22 09:07:09
收藏了
axiang117 发表于 2024-1-23 08:54:52
这个很有用,感谢分享
ms2oo8 发表于 2024-1-20 23:06:08
非常感谢!太方便了
yaoguoguo820 发表于 2024-1-19 09:35:11
居然可以这样  太棒了   感谢分享好东东
yaoguoguo820 发表于 2024-1-19 08:43:37
很给力
yaoguoguo820 发表于 2024-1-19 08:43:25
很给力
AsuraX 发表于 2024-1-19 08:32:24
这感觉有点儿套娃啊
757478136 发表于 2024-1-18 00:22:05
感谢分享感谢分享感谢分享感谢分享感谢分享感谢分享感谢分享感谢分享
757478136 发表于 2024-1-18 00:21:20
感谢分享感谢分享感谢分享感谢分享感谢分享感谢分享感谢分享感谢分享
winwy 发表于 2024-1-13 02:37:12
努力升级
2012dz 发表于 2024-1-11 21:26:42
感谢分享
hailong3094 发表于 2024-1-8 22:58:17
先留个印!!!
641495664 发表于 2023-12-4 12:20:59
感谢分享!
hainanyingcong 发表于 2023-12-3 12:44:44
学习学习,感谢分享
liangshu830208 发表于 2023-11-28 15:20:18
看一看!!!!
wenkeo 发表于 2023-11-28 08:54:32
学习新知识
贺云飞2 发表于 2023-11-25 23:26:15
牛哇~膜拜大佬
2011freefly 发表于 2023-11-21 22:39:08
感谢分享
naiveal 发表于 2023-11-21 21:36:03
感谢分享
zpiao119 发表于 2023-11-13 20:36:58
这个必须赞一个
pduaje43125@cha 发表于 2023-10-18 23:26:30
帖后跳转到最后一页
vlask 发表于 2023-10-6 10:16:18
这个版本用不上了。
lj249911023 发表于 2023-9-17 17:56:41
  search 能同时查找2个文件吗?
比如 search -n -s -f /bootmgr;  search -n -s -f /Boot/BCD;要bootmgr与BCD同时在同一一个分区找到了,才把这个分区设置为启动分区,要怎么写???
niclouse 发表于 2023-8-9 15:32:51
menuentry '启动Windows11系统(UEFI模式)' --class=nt6 {   
        search --fs-uuid --set=root 5639-0CDE
        echo $vtoydev
        echo $root
        ls
        ls -l
        chainloader /EFI/Microsoft/Boot/bootmgfw.efi
        boot
}

menuentry "重启" --class=restart {
        reboot
}

menuentry "关机" --class=shutdown {
        halt
}

menuentry '返回上级一菜单 [Esc]' --class=vtoyret VTOY_RET {
        echo 'Return ...'
}

"menu_class": [
     {
         "key": "nt6",
         "class": "windows"
     },
     {
         "key": "restart",
         "class": "restart"
     },
     {
         "key": "shutdown",
         "class": "shutdown"
     },
     {
         "key": "vtoyret VTOY_RET",
         "class": "cancel"
     }
]

请问大佬,返回和win11不显示图标有办法吗,重启和关机的图标正常显示,万分感谢
awengers44 发表于 2023-8-8 19:54:57
hello respected masters; Please use the following statement as a (.cfg) can you help me manually write to the configuration file?

github.com/ventoy/Ventoy/blob/d0...ser.c#L373

" vt_browser_dir %s 0x%lx \"%s/%s\"\n"

0x%lx How should I command this expression (.cfg) in the config file?

github.com/ventoy/Ventoy/blob/d0...ser.c#L490

github.com/ventoy/Ventoy/blob/d0...b.cfg#L823

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

闽公网安备 35020302032614号

GMT+8, 2024-5-5 12:16

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

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