原理 使用grubx64.efi引導iso檔案
進入UEFI Shell 指令行之後,索引到 grubx64.efi 檔案所在目錄
執行grubx64.efi 進入grub指令行界面
輸入 `ls –a -h`檢視分區資訊
# install Ubuntu from .iso file
menuentry "install ubuntu ISO" --class ubuntu --class os {
# insmod ntfs
insmod loopback
# In my computer, Ubuntu ISO file is stored in (hd0, msdos1)
set root='(hd0,msdos1)'
# In this tutor, iso file is stored under C:/
# The / before ubuntu-20.04.3-desktop-amd64.iso is mandatory!!!
set isofile=/ubuntu-20.04.3-desktop-amd64.iso
loopback loop $isofile
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$isofile
initrd (loop)/casper/initrd
}
//20210928 update 經過多次嘗試 grubx64.efi 在不依賴其他工具情況下無法引導WinPE.iso
//及 其他windows安裝CD光牒
//目前僅僅可以引導PE解決方法是在本機上已經按照好的memdisk 來虛拟iso,再進行引導
//精力有限...