level 13
故人归℉
楼主
平板用户开机选择项无法确定的解决方案
原理是利用U盘作EFi启动引导phoenixOS,与挂载ESP修改GRUB.CFG引导效果一致。
教程开始:
1:下载附件
2:解压至FAT32格式的U盘或SD卡(NTFS与FAT未测试,你萌可以试试)
3:重启选择U盘或SD卡启动即可直接启动PhoenixOS。
4:本帖为原创,转载请注明原作者:凤凰OS吧吧务组
附件地址:
数字云:https://yunpan.cn/cxx7U6RNk9yVu 访问密码 7407
百度与: 百度网盘 密码: qbtc
DIY:
1:用notepad++(记事本也可以)打开EFI/BOOT/grub.cfg
参数详解:
set timeout=0
//等待时间,类似于windows启动项等待时间,0为不等待
set gfxmode=800x600
//启动界面的分辨率,这里使用800*600
terminal_output gfxterm
menuentry "Phoenix OS "
//启动项的名称,直接修改保存即可,字数不能太多
{
search --set=root --file /EFI/PhoenixOS/kernel
linuxefi /EFI/PhoenixOS/kernel quiet root=/dev/ram0 androidboot.hardware=android_x86 SRC=/PhoenixOS
initrdefi /EFI/PhoenixOS/initrd.img
//initrd.img的位置,如有不同,请照路径修改(改这一行上一行也要改)
}
2:(感觉这一条是废话)如需加入windows启动项请直接在grub.cfg最下面添加:
menuentry 'WindowsXX' --class windows --class os $menuentry_id_option 'osprober-efi-0000-4823' {
insmod part_gpt
insmod fat
set root='hd0,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 0000-4823
else
search --no-floppy --fs-uuid --set=root 0000-4823
fi
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
教程结束!
欢迎加入官方交流群:316250111


