无忧启动论坛

标题: NTBOOT 如何添加 NT KERNAL 启动参数? [打印本页]

作者: arloan    时间: 2014-10-20 10:15
标题: NTBOOT 如何添加 NT KERNAL 启动参数?
有两种情形

1. 一种是对于传统XP/2003的内核启动参数,例如对于boot.ini的启动项:


  1. [operating systems]
  2. multi(0)disk(0)rdisk(0)partition(1)\WINNT="..." /noexecute=optin /fastdetect /pae
复制代码


后面的/pae什么的,如果使用NTBOOT来引导,该如何添加到NTBOOT的启动命令中?

2. 第二钟是win7等用BCD菜单的,例如以下对BCD的启动命令调整,如果使用NTBOOT来引导,如何书写NTBOOT启动命令?


  1. bcdedit /set {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx} kernel mynewkrnl.exe
  2. bcdedit /set {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx} path \Windows\system32\mywinldr.exe
  3. bcdedit /set {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx} nointegritychecks 1
复制代码


@chenall

谢谢大家指教。
作者: chenall    时间: 2014-10-20 11:00
对于BOOT.INI 可以直接在命令后添加 OPTIONS="/fastdetect /pae"

BCD的不支持,因为BCD并不能直接修改,NTBOOT里面的BCD是定制的,只能修改几个固定的参数.
作者: arloan    时间: 2014-10-20 11:17
本帖最后由 arloan 于 2014-10-20 11:19 编辑
chenall 发表于 2014-10-20 11:00
对于BOOT.INI 可以直接在命令后添加 OPTIONS="/fastdetect /pae"

BCD的不支持,因为BCD并不能直接修改,NT ...


感谢chenall大拿的回答。那么NTBOOT今后有无支持BCD参数的计划呢?

目前的话,有没有workaround(抱歉暂时想不到如何翻译)呢?谢谢。


mod:
暂时想到个办法是使用bootmgr进行一级引导,grub4dos放到二级引导,这样使用比较麻烦,不知道有无更好的方案。




欢迎光临 无忧启动论坛 (http://wuyou.net/) Powered by Discuz! X3.3