Last active
September 9, 2022 16:40
-
-
Save Le0xFF/4c2121db4cc519a4ac66d61907260004 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
#!/bin/sh | |
exec tail -n +3 $0 | |
# This file provides an easy way to add custom menu entries. Simply type the | |
# menu entries you want to add after this comment. Be careful not to change | |
# the 'exec tail' line above. | |
submenu 'Rescue ISOs' { | |
# Separator | |
menuentry '============================== GNU/Linux ISOs ==============================' { echo "" } | |
# Debian 11.4.0 GNOME | |
menuentry 'Debian 11.4.0 GNOME' { | |
set gfxpayload="keep" | |
insmod ext2 | |
set isodrive=(hd1,gpt3) | |
set isofile="/iso/debian-live-11.4.0-amd64-gnome.iso" | |
loopback loop ${isodrive}${isofile} | |
echo 'Loading Linux kernel ...' | |
linux (loop)/live/vmlinuz-5.10.0-16-amd64 \ | |
boot=live \ | |
noeject \ | |
noprompt \ | |
locales=it_IT.UTF-8 keyboard-layouts=it \ | |
toram \ | |
components \ | |
findiso=${isofile} \ | |
iso-scan/filename=${isofile} | |
echo 'Loading initial ramdisk ...' | |
initrd (loop)/live/initrd.img-5.10.0-16-amd64 | |
} | |
# Ubuntu 22.04 GNOME | |
menuentry 'Ubuntu 22.04.1 GNOME' { | |
set gfxpayload="keep" | |
insmod ext2 | |
set isodrive=(hd1,gpt3) | |
set isofile="/iso/ubuntu-22.04.1-desktop-amd64.iso" | |
loopback loop ${isodrive}${isofile} | |
echo 'Loading Linux kernel ...' | |
linux (loop)/casper/vmlinuz \ | |
boot=casper \ | |
noeject \ | |
noprompt \ | |
toram \ | |
findiso=${isofile} \ | |
iso-scan/filename=${isofile} | |
echo 'Loading initial ramdisk ...' | |
initrd (loop)/casper/initrd | |
} | |
# Void Linux Mate DE | |
menuentry 'Void Linux Mate 04.09.2022' { | |
set gfxpayload="keep" | |
insmod ext2 | |
set isodrive=(hd1,gpt3) | |
set isofile="/iso/void-live-mate-unofficial-x86_64-5.18.19_1-20220904.iso" | |
loopback loop ${isodrive}${isofile} | |
echo 'Loading Linux kernel ...' | |
linux (loop)/boot/vmlinuz \ | |
root=live:CDLABEL=VOID_LIVE ro init=/sbin/init \ | |
gpt add_efi_memmap \ | |
vconsole.unicode=1 vconsole.keymap=it locale.LANG=it_IT.UTF-8 \ | |
rd.live.overlay.overlayfs=1 rd.live.ram \ | |
findiso=${isofile} \ | |
iso-scan/filename=${isofile} | |
echo 'Loading initial ramdisk ...' | |
initrd (loop)/boot/initrd | |
} | |
# Separator | |
menuentry '============================== Windows ISO ==============================' { echo "" } | |
# Windows 10 LTSC | |
menuentry 'Windows 10 LTSC' { | |
set root=(hd1,gpt4) | |
insmod part_gpt | |
insmod ntfs | |
insmod chain | |
chainloader /efi/boot/bootx64.efi | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment