Created
March 21, 2020 14:44
-
-
Save JhoLee/e9108313f4a28b26e0bd54dd33ef7863 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 | |
set timeout=50 | |
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 | |
# Title | |
menuentry Jho-MultiBootUSB.200321 {true} | |
# | |
# reboot | |
Menuentry Reboot {reboot} | |
# | |
# 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 | |
#start ubuntu-19.10-live-server-amd64 | |
menuentry ubuntu-19.10-live-server-amd64 {configfile /multibootusb/ubuntu-19.10-live-server-amd64/boot/grub/loopback.cfg} | |
#end ubuntu-19.10-live-server-amd64 | |
#start ubuntu-18.04.4-live-server-amd64_ | |
menuentry ubuntu-18.04.4-live-server-amd64_ {configfile /multibootusb/ubuntu-18.04.4-live-server-amd64_/boot/grub/loopback.cfg} | |
#end ubuntu-18.04.4-live-server-amd64_ | |
#start ubuntu-16.04.6-server-amd64 | |
menuentry ubuntu-16.04.6-server-amd64 {configfile /multibootusb/ubuntu-16.04.6-server-amd64/boot/grub/loopback.cfg} | |
#end ubuntu-16.04.6-server-amd64 | |
#start en_windows_server_2019_updated_sept_2019_x64_dvd_199664ce | |
menuentry en_windows_server_2019_updated_sept_2019_x64_dvd_199664ce {configfile /multibootusb/en_windows_server_2019_updated_sept_2019_x64_dvd_199664ce/loopback.cfg} | |
#end en_windows_server_2019_updated_sept_2019_x64_dvd_199664ce | |
#start en_windows_server_2012_r2_with_update_x64_dvd_6052708 | |
menuentry en_windows_server_2012_r2_with_update_x64_dvd_6052708 {configfile /multibootusb/en_windows_server_2012_r2_with_update_x64_dvd_6052708/loopback.cfg} | |
#end en_windows_server_2012_r2_with_update_x64_dvd_6052708 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment