Mount an image mageia6-liveDVD-x86_64 in loop-device to indicate to grub2 kernel and initrd, and as a result I receive an error.
Grub2 menuentry:
- Code: Select all
menuentry 'Mageia 6 (Cauldron) x64' {
set iso="/iso/Mageia-6-sta1-LiveDVD-PLASMA5-x86_64-DVD.iso"
if loopback loop ${iso}
then
if search --no-floppy --set=root -l 'Mageia-6-PLASMA5-LiveDVD'
then
linux /boot/vmlinuz root=mgalive:LABEL=Mageia-6-PLASMA5-LiveDVD splash quiet noiswmd rd.luks=0 rd.lvm=0 rd.md=0 rd.dm=0
initrd /boot/cdrom/initrd.gz
else search --no-floppy --set=root -l 'Boot'
fi
else search --no-floppy --set=root -l 'Boot'
fi
Lines were taken from the original config grub2
Tried to use for your boot loader bootx64.efi from Mageia6 iso image - did not help