|
本帖最后由 mdyblog 于 2016-5-15 13:02 编辑
放哪儿都成, 就是要指定他的位置.
你放在子盘, 位置就是(76)/,可以写成%@root%/. 菜单为:
echo title ^5 \t\t启动 test.img \n\t\t\t\t\t 请按 5 启动 >> %mf%
echo command ldudpe (hd0) #14 >> %mf%
echo command %@root%/RUN /dos/test.img >> %mf%
如果放在分区根目录 位置就是 /,菜单为:
echo title ^5 \t\t启动 test.img \n\t\t\t\t\t 请按 5 启动 >> %mf%
echo command ldudpe (hd0) #14 >> %mf%
echo command /RUN /dos/test.img >> %mf%
如果放在分区 /boot/grub/, 这是默认位置, 就可以不指定位置.,菜单为:
echo title ^5 \t\t启动 test.img \n\t\t\t\t\t 请按 5 启动 >> %mf%
echo command ldudpe (hd0) #14 >> %mf%
echo command RUN /dos/test.img >> %mf%
或
echo title ^5 \t\t启动 test.img \n\t\t\t\t\t 请按 5 启动 >> %mf%
echo command ldudpe (hd0) #14 >> %mf%
echo command /boot/grub/RUN /dos/test.img >> %mf%
|
|