ventoy 1.0.86 F5-电源 中菜单显示问题 - Printable Version +- Ventoy Forums (https://forums.ventoy.net) +-- Forum: Ventoy General Use —— Ventoy 使用交流 (https://forums.ventoy.net/forumdisplay.php?fid=1) +--- Forum: Ventoy Discussion Forum (https://forums.ventoy.net/forumdisplay.php?fid=2) +--- Thread: ventoy 1.0.86 F5-电源 中菜单显示问题 (/showthread.php?tid=2302) |
ventoy 1.0.86 F5-电源 中菜单显示问题 - try_catch - 12-26-2022 在F5 工具--电源--中 第三项显示为:$VTLANG_POWER_BOOT_EFIFW 使用中文、英文语言以及默认主题均是如此。 RE: ventoy 1.0.86 F5-电源 中菜单显示问题 - longpanda - 12-26-2022 已经修复: https://github.com/ventoy/Ventoy/commit/8923d4b8f1bd490e3f15214d72c60bbcc457059e 你可以测试这个CI版本: https://github.com/ventoy/Ventoy/actions/runs/3780250254 https://www.ventoy.net/cn/doc_github_ci.html RE: ventoy 1.0.86 F5-电源 中菜单显示问题 - hyun9358 - 12-28-2022 ventoy_grub.cfg 파일은 한글이 적용되지 않습니다. #************************************************************************************ # Ubuntu (우분투 20.04.3 LTS) Bios #************************************************************************************ if [ "$grub_platform" = "pc" ]; then menuentry '$VTLANG_Ubuntu_BIOS' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-d884ed4e-f796-4cb3-93bb-f5245a8251ee' { insmod gzio if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi insmod part_gpt insmod ext2 set root='hd0,gpt6' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6 d884ed4e-f796-4cb3-93bb-f5245a8251ee else search --no-floppy --fs-uuid --set=root d884ed4e-f796-4cb3-93bb-f5245a8251ee fi linux /boot/vmlinuz-5.13.0-27-generic root=UUID=d884ed4e-f796-4cb3-93bb-f5245a8251ee ro quiet splash $vt_handoff initrd /boot/initrd.img-5.13.0-27-generic } #************************************************************************************ # Ubuntu (우분투 20.04.3 LTS) Uefi #************************************************************************************ elif [ "${grub_platform}" == "efi" ]; then menuentry '$VTLANG_Ubuntu_UEFI' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-d884ed4e-f796-4cb3-93bb-f5245a8251ee' { insmod gzio if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi insmod part_gpt insmod ext2 set root='hd0,gpt6' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6 d884ed4e-f796-4cb3-93bb-f5245a8251ee else search --no-floppy --fs-uuid --set=root d884ed4e-f796-4cb3-93bb-f5245a8251ee fi linux /boot/vmlinuz-5.13.0-27-generic root=UUID=d884ed4e-f796-4cb3-93bb-f5245a8251ee ro quiet splash $vt_handoff initrd /boot/initrd.img-5.13.0-27-generic } fi #************************************************************************************ # Windows Bootting Bios #************************************************************************************ if [ "$grub_platform" = "pc" ]; then menuentry '$VTLANG_Windows_BIOS' --class=boot_windows { if search -n -s -f /Boot/BCD; then for bt in bootmgr BOOTMGR Bootmgr BootMGR; do if [ -f /$bt ]; then ntldr /$bt break fi done elif search -n -s -f /NTDETECT.COM; then drivemap -s hd0 $root ntldr /ntldr else echo "Windows 찾을수 없음" fi } #************************************************************************************ # Windows Bootting Uefi #************************************************************************************ elif [ "${grub_platform}" == "efi" ]; then menuentry '$VTLANG_Windows_UEFI' --class=boot_windows { if search -n -s -f /EFI/Microsoft/Boot/bootmgfw.efi; then terminal_output console chainloader /EFI/Microsoft/Boot/bootmgfw.efi boot else echo "Windows 찾을수 없음" fi } fi #************************************************************************************ # Grub4dos Bootting Bios #************************************************************************************ if [ "$grub_platform" = "pc" ]; then menuentry '$VTLANG_GRUB4DOS_BIOS' --class=boot_windows { if search -n -s -f /grldr; then for bt in grldr GRLDR Grldr GrLDR; do if [ -f /$bt ]; then ntldr /$bt break fi done elif search -n -s -f /NTDETECT.COM; then drivemap -s hd0 $root ntldr /grldr else echo "Grldr을 찾을수 없음" fi } #************************************************************************************ # Grub4dos Bootting Uefi #************************************************************************************ elif [ "${grub_platform}" == "efi" ]; then menuentry '$VTLANG_GRUB4DOS_UEFI' --class=boot_windows { if search -n -s -f /grub/BOOTX64.EFI; then terminal_output console chainloader /grub/BOOTX64.EFI boot else echo "BOOTX64.EFI 찾을수 없음" fi } fi #************************************************************************************ # 사용자 Windows VHD 부팅 #************************************************************************************ menuentry "$VTLANG_Boot_My_Windows_VHD" { set my_vhd_path="/User_Sources/VHD/WTG-Vhd_19043.1081/DREAM_WTG_M.vhd" if search -n -s vdiskhd -f "$my_vhd_path"; then vhdboot_common_func "($vdiskhd)$my_vhd_path" else echo "$my_vhd_path not found" fi } #************************************************************************************ # Xorboot 검색 및 부팅 #************************************************************************************ menuentry '$VTLANG_Boot_Xorboot' --class=boot_xorboot --class=F4boot { set VTOY_SEARCH_NO_VTOYEFI=1 if search -n -s -f /efi/xorboot/xorboot32.xor; then unset VTOY_SEARCH_NO_VTOYEFI terminal_output console if [ -f /efi/xorboot/bootia32.efi ]; then chainloader /efi/xorboot/bootia32.efi elif [ -f /efi/xorboot/xorboot.efi ]; then chainloader /efi/xorboot/xorboot.efi fi boot else unset VTOY_SEARCH_NO_VTOYEFI echo "Xorboot를 찾을 수 없음 ..." fi } #************************************************************************************ # Plop Boot Manager (Bios) #************************************************************************************ if [ "$grub_platform" = "pc" ]; then menuentry '$VTLANG_Plop_Boot_BIOS' --class=boot_windows { if search -n -s -f /Grub4dos/iSO/plpbt.bin; then for bt in plpbt.bin plpbt.bin plpbt.bin plpbt.bin; do if [ -f /$bt ]; then ntldr /$bt break fi done elif search -n -s -f /NTDETECT.COM; then drivemap -s hd0 $root ntldr /plpbt.bin else echo "plpbt.bin 찾을수 없음" fi } #************************************************************************************ # Plop Boot Manager (Uefi) #************************************************************************************ elif [ "${grub_platform}" == "efi" ]; then menuentry '$VTLANG_Plop_Boot_UEFI' --class=boot_windows { if search -n -s -f /Grub4dos/iSO/plpbt.bin; then terminal_output console chainloader /Grub4dos/iSO/plpbt.bin boot else echo "plpbt.bin 찾을수 없음" fi } fi #************************************************************************************ # ExiT. #************************************************************************************ fi menuentry 'Return to previous menu [Esc]' --class=vtoyret VTOY_RET { echo 'Return ...' } #************************************************************************************ [attachment=665] RE: ventoy 1.0.86 F5-电源 中菜单显示问题 - longpanda - 12-28-2022 (12-28-2022, 01:05 PM)hyun9358 Wrote: The ventoy_grub.cfg file is not applicable in Korean. What's the meaning? RE: ventoy 1.0.86 F5-电源 中菜单显示问题 - longpanda - 12-30-2022 1. $VTLANG_XXXXX must be pre-defined in grub menu.txt https://github.com/ventoy/Ventoy/tree/master/INSTALL/grub/menu So if you set current Language to Korean, then you must firstly define VTLANG_Ubuntu_BIOS/VTLANG_Ubuntu_UEFI ... in ko_KR.json 2. For grub variable expansion, you should use "$VTLANG_XXX" not '$VTLANG_XXX', that is to use double quotes instead of single quotes. |