|
菜单:
title 31:直接输入路径,回车运行IMG或ISO菜单
command --set-path=/boot/grub/
WENV set path=$U, $input,Input the path, begin with "/" :
wenv run find --set-root ${path}
wenv pause --wait=0 IMG as default, input ISO to load ISO
wenv set de=$U,$input,Input please:
wenv get de=ISO && wenv run map --mem ${path} (0xff) && map --hook && chainloader (0xff) && boot
wenv run map --mem ${path} (fd0)
rootnoverify (fd0)
chainloader ()+1
boot
title 33:直接输入路径,回车运行IMG或ISO菜单
command --set-path=/boot/grub/
wenv set path=$U,$input,Input the path:
wenv run find --set-root ${path}
wenv run write (md)300+1 ${path}
cat --locate=IMG (md)300+1 && wenv run map --mem ()${path} (fd0) && map --hook &&rootnoverify (fd0) && chainloader ()+1 && boot
cat --locate=ISO (md)300+1 && wenv run map --mem ()${path} (0xff) && map --hook && chainloader (0xff) && boot
title 34:直接输入路径,回车运行IMG或ISO菜单
command --set-path=/boot/grub/
WENV set path=$U, $input,Input the path, begin with "/" :
wenv run find --set-root ${path}
wenv pause --wait=0 IMG as default, input ISO to load ISO
wenv set de=$U,$input,Input please:
wenv get de= || wenv run map --mem ${path} (0xff) && map --hook && chainloader (0xff) && boot
wenv run map --mem ${path} (fd0)
rootnoverify (fd0)
chainloader ()+1
boot |
|