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 ...'
}
#************************************************************************************
#************************************************************************************
# 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 ...'
}
#************************************************************************************