Skip to content

Instantly share code, notes, and snippets.

@jgmel
Created August 9, 2020 02:25
Show Gist options
  • Save jgmel/ea11ea1d2cfa1fa5d23c12fba173cccb to your computer and use it in GitHub Desktop.
Save jgmel/ea11ea1d2cfa1fa5d23c12fba173cccb to your computer and use it in GitHub Desktop.
#!/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.
menuentry 'Start Fedora-Workstation-Live 32' --class fedora --class gnu-linux --class gnu --class os {
set isofile="/iso/Fedora-Workstation-Live-x86_64-32-1.6.iso"
set isolabel="Fedora-WS-Live-32-1-6"
rmmod tpm
loopback loop (hd0,8)$isofile
set root=(loop)
linuxefi (loop)/images/pxeboot/vmlinuz root=live:CDLABEL=$isolabel iso-scan/filename=$isofile rd.live.image ro quiet rhgb
initrdefi (loop)/images/pxeboot/initrd.img
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment