* grub-emu is broken since rev 2036 @ 2009-03-24 21:41 Felix Zielcke 2009-03-25 5:17 ` Bean 0 siblings, 1 reply; 5+ messages in thread From: Felix Zielcke @ 2009-03-24 21:41 UTC (permalink / raw) To: The development of GRUB 2 Hi, since revision 2036, i.e. Bean's command rewrite grub-emu is broken. On every command you'll get `invalid arch independent ELF magic'. -- Felix Zielcke ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: grub-emu is broken since rev 2036 2009-03-24 21:41 grub-emu is broken since rev 2036 Felix Zielcke @ 2009-03-25 5:17 ` Bean 2009-03-28 13:15 ` Robert Millan 0 siblings, 1 reply; 5+ messages in thread From: Bean @ 2009-03-25 5:17 UTC (permalink / raw) To: The development of GRUB 2 On Wed, Mar 25, 2009 at 5:41 AM, Felix Zielcke <fzielcke@z-51.de> wrote: > Hi, > > since revision 2036, i.e. Bean's command rewrite grub-emu is broken. On > every command you'll get `invalid arch independent ELF magic'. Hi, This is caused by the dynamic loading of commands. In normal.mod, it scans command.lst and tries to load command on demand. However, the modules on disk are pc booting, they can't be loaded by grub-emu. The solution is to point the root device elsewhere with -r option, so that command.lst won't be found. -- Bean ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: grub-emu is broken since rev 2036 2009-03-25 5:17 ` Bean @ 2009-03-28 13:15 ` Robert Millan 2009-03-28 13:26 ` Bean 0 siblings, 1 reply; 5+ messages in thread From: Robert Millan @ 2009-03-28 13:15 UTC (permalink / raw) To: The development of GRUB 2 On Wed, Mar 25, 2009 at 01:17:40PM +0800, Bean wrote: > > Hi, > > This is caused by the dynamic loading of commands. In normal.mod, it > scans command.lst and tries to load command on demand. However, the > modules on disk are pc booting, they can't be loaded by grub-emu. The > solution is to point the root device elsewhere with -r option, so that > command.lst won't be found. But then, other things can't be found, like grub.cfg. Can't we disable module loading altogether on grub-emu? Or just silence the warning there. -- Robert Millan The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and how) you may access your data; but nobody's threatening your freedom: we still allow you to remove your data and not access it at all." ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: grub-emu is broken since rev 2036 2009-03-28 13:15 ` Robert Millan @ 2009-03-28 13:26 ` Bean 2009-03-28 13:45 ` Robert Millan 0 siblings, 1 reply; 5+ messages in thread From: Bean @ 2009-03-28 13:26 UTC (permalink / raw) To: The development of GRUB 2 On Sat, Mar 28, 2009 at 9:15 PM, Robert Millan <rmh@aybabtu.com> wrote: > On Wed, Mar 25, 2009 at 01:17:40PM +0800, Bean wrote: >> >> Hi, >> >> This is caused by the dynamic loading of commands. In normal.mod, it >> scans command.lst and tries to load command on demand. However, the >> modules on disk are pc booting, they can't be loaded by grub-emu. The >> solution is to point the root device elsewhere with -r option, so that >> command.lst won't be found. > > But then, other things can't be found, like grub.cfg. > > Can't we disable module loading altogether on grub-emu? Or just silence > the warning there. Hi, The dynamic command loader can be separated in a module. In grub-emu, we just don't use it. Anyway, this issue is only temporary. After my patch to split the normal mode, it will go away. -- Bean ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: grub-emu is broken since rev 2036 2009-03-28 13:26 ` Bean @ 2009-03-28 13:45 ` Robert Millan 0 siblings, 0 replies; 5+ messages in thread From: Robert Millan @ 2009-03-28 13:45 UTC (permalink / raw) To: The development of GRUB 2 On Sat, Mar 28, 2009 at 09:26:50PM +0800, Bean wrote: > > Hi, > > The dynamic command loader can be separated in a module. I suppose you mean separated to another .c file; putting the dynamic loader in a module is like... uhm :-) -- Robert Millan The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and how) you may access your data; but nobody's threatening your freedom: we still allow you to remove your data and not access it at all." ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-03-28 13:46 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2009-03-24 21:41 grub-emu is broken since rev 2036 Felix Zielcke 2009-03-25 5:17 ` Bean 2009-03-28 13:15 ` Robert Millan 2009-03-28 13:26 ` Bean 2009-03-28 13:45 ` Robert Millan
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.