----------------------------------------------以下为代码----------------------------------------------
#倒计时3秒
set timeout=3
# Windows本地系统启动
menuentry 'Windows 8' {
search --file --no-floppy --set=root /EFI/Microsoft/Boot/bootmgfw.efi
chainloader (${root})/EFI/Microsoft/Boot/bootmgfw.efi
}
#进入安卓
menuentry 'Android-x86 4.4.4 R2 for Acer W4-820' --class android-x86 {
search --file --no-floppy --set=root /androidx86/system.img
linuxefi /androidx86/kernel androidboot.hardware=android_x86 HWACCEL= INSTALL= DEBUG=
initrdefi /androidx86/initrd.img
}
#安卓安装
menuentry 'Android-x86 VER Installation' --class android-x86 {
search --file --no-floppy --set=root /setup/system.sfs
linuxefi /setup/kernel androidboot.hardware=android_x86 INSTALL=1 DEBUG=
initrdefi /setup/initrd.img
}
#安卓安装后进入系统
menuentry 'Android-x86 test' --class android-x86 {
search --file --no-floppy --set=root /test/system.img
linuxefi /test/kernel androidboot.hardware=android_x86 SCR=/test HWACCEL= INSTALL= DEBUG=
initrdefi /test/initrd.img
}
----------------------------------------------以上为代码----------------------------------------------
@看见加加减减我是菜鸟,自己又下载了楼主的UEFI64位+GPT引导文件,对比后尝试着改的“grub.cfg"引导文件代码,改成这样后可以引导不会出现5楼那样的错误代码了,也可以看到引导成功调用各种文件的参数,但是接着就又黑屏不动了…
“grub.cfg"路径:*\efi\boot\
太晚了,明天再试试…
最后,十分感谢楼主!虽然不知道成功之后的样子,但是目前你这个方法是最有希望的了!