I dual boot Windows 7 and Linux Mint my daily driver. Both installed in UEFI mode.
I have searched and googled but I cannot find a solution that works that allows me
to boot an ISO directly from hard disk via the grub menu. 2 questions:
1) is it possible with UEFI?
2) If so has anyone done it?
This is my configuration:
Layout of /dev/sda:
Code: Select all
MODEL NAME SIZE FSTYPE LABEL UUID MOUNTPOINT
Samsung SSD 850 sda 232.9G
sda1 100M vfat EFI B25B-D3A9 /boot/efi
sda2 128M
sda3 107.4G ntfs Win7_Sys 7A5E5F905E5F4453
sda4 3.8G swap ffa2db74-8b1e-4565-ac4c-e20949bc9a75 [SWAP]
sda5 4.7G ext4 SystemRescue 1a8673b9-33f6-4077-9d62-11c25c946193
sda6 37.3G ext4 Linux Mint 18.3 ddcb965b-74d1-493e-99c5-f54ab37a2408 /
Code: Select all
.
├── boot
│ └── memdisk
├── boot-repair-disk-64bit.iso
├── gparted-live-0.30.0-1-i686.iso
├── lost+found
└── systemrescuecd-x86-5.1.0.iso
2 directories, 5 files
Code: Select all
#!/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 "System Rescue Utils"{
menuentry "System Rescue 5.1.0" {
set root=(hd0,5)
set isofile="/systemrescuecd-x86-5.1.0.iso"
loopback loop (hd0,5)$isofile
linux (loop)/isolinux/rescue64 setkmap=us isoloop=$isofile
initrd (loop)/isolinux/initram.igz
}
menuentry "Boot Repair (64-bit) " {
set root=(hd0,5)
set isofile="/boot-repair-disk-64bit.iso"
loopback loop (hd0,5)$isofile
linux (loop)/casper/vmlinuz.efi boot=casper iso-scan/filename=$isofile noprompt noeject
initrd (loop)/casper/initrd.lz
}
menuentry "Gparted" {
set root=(hd0,5)
set isofile="/gparted-live-0.30.0-1-i686.iso"
loopback loop $isofile
linux (loop)/live/vmlinuz boot=live config union=overlay username=user components noswap noeject vga=788 ip= net.ifnames=0 toram=filesystem.squashfs findiso=$isofile
initrd (loop)/live/initrd.img
}
}