On 06/16/2017 04:24 AM, Dhanasekar Jaganathan wrote:
Hi Zoran,
Ok.. I will try that.
After adding below menuentry in grub.cfg( ,
*menuentry "ONIE: Embed ONIE" --class gnu-linux --class onie {*
- echo "ONIE: Embedding ONIE ..."*
- set gfxpayload=keep*
insmod gzio*
insmod part_msdos*
insmod ext2*
- #onie_entry_start*
set root='USB0' *
- set isofile='USB0'/onie-recovery-x86_64-accton_as7512_32x-r0.iso*
- loopback loop $isofile*
- linux (loop)/live/vmlinuz $ONIE_CMDLINE_LINUX boot_reason=embed
install_url=file:///lib/onie/onie-updater*
- initrd (loop)/live/initrd.xz*
- #onie_entry_end*
*}*
I am getting below error,
*error: file `/boot/grub/i386-coreboot/loopback.mod' not found*
Actually, my ONIE .iso has* i386-PC*, not *i386-coreboot*. But GRUB is looking for* i386-coreboot*. I am trying to solve this issue.
My apologies for forgetting to reply to this issue. Why are you including (loop)?