无忧启动论坛

 找回密码
 注册
搜索
系统gho:最纯净好用系统下载站投放广告、加入VIP会员,请联系 微信:wuyouceo
查看: 8736|回复: 54

boot.ini 在 win11 下无效?

  [复制链接]
发表于 2024-4-17 18:36:34 | 显示全部楼层
[size=0.875][color=var(--text-primary)][color=var(--tw-prose-body)]
                   GPT      在Windows系统中,boot.ini文件主要用于配置启动时的选项,但是在Windows Vista及以后的版本中,boot.ini已经被BCD(Boot Configuration Data)取代了。因此,如果你正在使用Windows Vista、Windows 7、Windows 8、Windows 10或者Windows Server 2008及以后版本,boot.ini文件可能不再适用。
如果你仍然想通过修改启动项来引导grub4dos(使用grldr),可以通过BCD编辑器或者命令行工具来实现。以下是一种通过命令行工具(bcdedit)添加启动项的方法:
  • 打开命令提示符(以管理员身份运行)。
  • 运行以下命令添加启动项:
[backcolor=rgba(13,13,13,var(--tw-bg-opacity))][color=var(--text-secondary)][backcolor=var(--main-surface-secondary)][size=0.75]bashCopy code

bcdedit /create /d "grldr" /application bootsector

  • 该命令会返回一个类似于 {xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx} 的GUID,将其替换下面命令中的 {xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}。
  • 继续运行以下命令设置引导文件和路径:
[backcolor=rgba(13,13,13,var(--tw-bg-opacity))][color=var(--text-secondary)][backcolor=var(--main-surface-secondary)][size=0.75]sqlCopy code

bcdedit /set {xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx} device partition=C:bcdedit /set {xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx} path \grldr

确保将 {xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx} 替换为前一步中返回的GUID,以及将路径\grldr替换为grldr文件所在的正确路径。
  • 最后,设置超时时间:
[backcolor=rgba(13,13,13,var(--tw-bg-opacity))][color=var(--text-secondary)][backcolor=var(--main-surface-secondary)][size=0.75]bashCopy code

bcdedit /timeout 10

以上命令会将超时时间设置为10秒,你也可以根据需要进行调整。
通过以上步骤添加的启动项应该会在启动时出现在引导菜单中,允许你选择启动grldr。



[color=rgba(180,180,180,var(--tw-text-opacity))]




















回复

使用道具 举报

发表于 2024-4-17 18:41:10 | 显示全部楼层
给你GPT3.5入口,你自己问,上面是我把你的复制到GPT提问的答案。go.gptdsb.com/list密码GPTDSB,只能用3.5的。
回复

使用道具 举报

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

本版积分规则

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

闽公网安备 35020302032614号

GMT+8, 2025-7-6 16:21

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

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