# cannot use ISO files on NTFS partitions, otherwise, cannot install Fedora, error is below
# dracut-initqueue; /sbin/iso-scan: line 35: rmdir: command not found
# You cannot use ISO files on partitions controlled by LVM (Logical Volume Management).
# (hd0,msdos5) is a NTFS partition
# (hd0,msdos10) is an EXT4 partition
# cannot use ISO files on NTFS partitions
menuentry 'Fedora-Workstation-Live-x86_64-29-1.2 NTFS' {
set root=(hd0,msdos5)
loopback loop /win-tools/Fedora-Workstation-Live-x86_64-29-1.2.iso
linux (loop)/isolinux/vmlinuz iso-scan/filename="/win-tools/Fedora-Workstation-Live-x86_64-29-1.2.iso" root=live:CDLABEL=Fedora-WS-Live-29-1-2 rd.live.image rootfstype=auto ro rd.live.image quiet rhgb rd.luks=0 rd.md=0 rd.dm=0
initrd (loop)/isolinux/initrd.img
}
# can use ISO files on EXT4 partitions
menuentry 'Fedora-Workstation-Live-x86_64-29-1.2 EXT4' {
set root=(hd0,msdos10)
loopback loop /Fedora-Workstation-Live-x86_64-29-1.2.iso
# linux (loop)/isolinux/vmlinuz iso-scan/filename="/Fedora-Workstation-Live-x86_64-29-1.2.iso" root=live:CDLABEL=Fedora-WS-Live-29-1-2 rootfstype=auto ro rd.live.image quiet rhgb rd.luks=0 rd.md=0 rd.dm=0
linux (loop)/isolinux/vmlinuz iso-scan/filename="/Fedora-Workstation-Live-x86_64-29-1.2.iso" root=live:CDLABEL=Fedora-WS-Live-29-1-2 rd.live.image
initrd (loop)/isolinux/initrd.img
}
menuentry 'rhel-8.0-beta-1-x86_64-dvd' {
set root=(hd0,msdos10)
loopback loop /rhel-8.0-beta-1-x86_64-dvd.iso
# linux (loop)/isolinux/vmlinuz iso-scan/filename="/rhel-8.0-beta-1-x86_64-dvd.iso" root=live:CDLABEL=RHEL-8-0-BaseOS-x86_64 rootfstype=auto ro rd.live.image quiet rhgb rd.luks=0 rd.md=0 rd.dm=0
linux (loop)/isolinux/vmlinuz iso-scan/filename="/rhel-8.0-beta-1-x86_64-dvd.iso" root=live:CDLABEL=RHEL-8-0-BaseOS-x86_64 rd.live.image
initrd (loop)/isolinux/initrd.img
}