[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 'grub-mkimage' gives error 'invalid ELF header'

From: Jordan Uggla
Subject: Re: 'grub-mkimage' gives error 'invalid ELF header'
Date: Mon, 28 May 2012 23:08:48 -0700

On Mon, May 28, 2012 at 10:14 PM, Tang, Lingda <address@hidden> wrote:
> I've created grub.cfg and put it under /boot/grub/.  But after reboot, all I 
> got is the grub shell. Can't find the grub.cfg. now in the grub/ are two 
> files, grubx64.efi and grub.cfg

Something is very wrong if the only files in /boot/grub/ are
grubx64.efi and grub.cfg, with no directories. Are you sure you're not
confusing /boot/grub/ and /boot/efi/EFI/grub/?

Your grub.cfg should be in /boot/grub/grub.cfg. If you've created a
/boot/grub/efi/EFI/grub/cfg then remove it to avoid confusion in the

Jordan Uggla (Jordan_U on

reply via email to

[Prev in Thread] Current Thread [Next in Thread]