|  | 
| 本帖最后由 liuzhaoyzz 于 2021-12-25 20:06 编辑 
 :.vhd
 :.wim
 :.vhdx
 :.win
 ::外置ntloader与initrd.lz1方案
 ::/initrd.lz1 不能带驱动器,如:(hd0,0)/ntloader。同样,file 也不能带驱动器,如:file=(hd0,0)/boot/imgs/pe64.wim 或者 file=%~1
 #uuid %?_BOOT%
 #chainloader (hd0,0)/ntloader initrd=/initrd.lz1 uuid=%?_UUID% file=%~pnx1
 #goto :boot
 ::内置NT6BOOT方案
 calc 32<<3+*0x8308 > nul ;; read %@retval%  ;; set md_start=%@retval%
 calc 33<<3+*0x8308 > nul ;; read %@retval%  ;; set md_count=%@retval%
 map --mem (md)%md_start%+%md_count% (hd)
 (hd-1,0)/loaderNT %~1
 goto :boot
 ::外置NT6BOOT方案
 #map --mem %usrpath%/ntboot (hd)
 #(hd-1,0)/loaderNT %~1
 #goto :boot
 
 RUN_包含NTBOOT这里面的代码,(hd-1,0)/loaderNT %~1,倒底调用的是chenall的NTBOOT,还是wintoflash的NTloader?我看#chainloader (hd0,0)/ntloader initrd=/initrd.lz1 uuid=%?_UUID% file=%~pnx1注释掉了?chenall的NTBOOT有这个hires=0参数吗?我不知道。
 
 你发在133楼的bootx64.efi,应该是加了续尾chenall-NTBOOT的吧。
 http://wuyou.net/forum.php?mod=r ... 2851&fromuid=298214
 
 
 
 
 
 
 
 | 
 |