|
grub4dos的启动菜单:
title 启动 分区ubuntu系统——用grub4dos引导通用内核(适用于bios+mbr或bios+gpt)
find --set-root --devices=h /vmlinuz
uuid ()
kernel /vmlinuz root=UUID=%?% ro quiet splash
initrd /initrd.img
title 启动 分区linux 或 Android 6.0及以前系统——用grub4dos引导配置文件menu.lst(适用于bios+mbr或bios+gpt)
find --set-root --devices=h /grub/menu.lst
configfile /grub/menu.lst
title android-7.0-2016-12-22
find --set-root /android-2016-12-22/initrd.img
kernel /android-2016-12-22/kernel quiet root=/dev/ram0 androidboot.selinux=permissive buildvariant=userdebug SRC=/android-2016-12-22
initrd /android-2016-12-22/initrd.img
title bios+gpt环境模拟启动uefi+clover menu
dd if=()/efi/clover/CLOVERX64_old.efi of=()/efi/clover/CLOVERX64.efi
map (hd0) (hd)
map --mem /efi/cloverx64_my.ima (hd0)
map --hook
rootnoverify (hd0,0)
chainloader +1
title bios+gpt环境模拟启动uefi+xorboot menu
dd if=()/efi/boot/xorboot.efi of=()/efi/clover/CLOVERX64.efi
map (hd0) (hd)
map --mem /efi/cloverx64_my.ima (hd0)
map --hook
rootnoverify (hd0,0)
chainloader +1
title bios+gpt环境模拟启动uefi+x32环境之win8/win10+winpe
dd if=()/efi/boot/bootia32_b32.efi of=()/efi/clover/CLOVERIA32.efi
map (hd0) (hd)
map --mem /efi/cloverx32_my.ima (hd0)
map --hook
rootnoverify (hd0,0)
chainloader +1 |
|