You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
74 lines
1.7 KiB
INI
74 lines
1.7 KiB
INI
# This file is created by MultiBootUSB.
|
|
insmod chain
|
|
insmod png
|
|
insmod part_msdos
|
|
insmod fat
|
|
insmod ntfs
|
|
insmod syslinuxcfg
|
|
insmod cpuid
|
|
insmod ext2
|
|
insmod all_video
|
|
insmod configfile
|
|
insmod normal
|
|
insmod linux
|
|
insmod echo
|
|
insmod search
|
|
insmod regexp
|
|
insmod probe
|
|
insmod keystatus
|
|
insmod true
|
|
|
|
set timeout=30
|
|
|
|
probe -u $root --set=rootuuid
|
|
set imgdevpath="/dev/disk/by-uuid/$rootuuid"
|
|
export imgdevpath rootuuid
|
|
set isopath="/multibootusb/iso"
|
|
export isopath
|
|
|
|
insmod font
|
|
if loadfont /multibootusb/grub/unicode.pf2 ; then
|
|
#if loadfont unicode ; then
|
|
# Use shift key to avoid loading gfxterm
|
|
if keystatus --shift ; then true ; else
|
|
if [ "${grub_platform}" == "efi" ]; then
|
|
insmod efi_gop
|
|
insmod efi_uga
|
|
else
|
|
insmod vbe
|
|
insmod vga
|
|
set gfxmode=auto
|
|
set gfxpayload=auto
|
|
terminal_output gfxterm
|
|
if terminal_output gfxterm ; then true ; else
|
|
terminal gfxterm
|
|
fi
|
|
fi
|
|
insmod gfxterm
|
|
fi
|
|
fi
|
|
|
|
set color_normal=white/black
|
|
set color_highlight=white/light-blue
|
|
export color_normal
|
|
export color_highlight
|
|
|
|
if [ ${grub_platform} == "pc" ]; then
|
|
menuentry "Load Syslinux Boot Loader"{
|
|
chainloader /multibootusb/syslinux.bin
|
|
}
|
|
menuentry "Boot Plop Boot Manager"{
|
|
linux16 /multibootusb/plpbt
|
|
}
|
|
fi
|
|
|
|
# Load windows boot loaders from USB drive
|
|
source /multibootusb/grub/win.cfg
|
|
# Load ISO files directly using GRUB2 menu list
|
|
# List of menu entries for loading direct ISO are taken from http://mbusb.aguslr.com/ project
|
|
# The project contribution is deeply acknowledged and it is released under GPL v.3
|
|
source /multibootusb/grub/load_iso.cfg
|
|
|
|
|
|
|