All of lore.kernel.org
 help / color / mirror / Atom feed
* How do I find out what module is needed for a command?
@ 2013-04-05 10:28 Paul Menzel
  2013-04-05 11:08 ` Andrey Borzenkov
  2013-04-05 11:45 ` Vladimir 'φ-coder/phcoder' Serbinenko
  0 siblings, 2 replies; 3+ messages in thread
From: Paul Menzel @ 2013-04-05 10:28 UTC (permalink / raw)
  To: grub-devel

[-- Attachment #1: Type: text/plain, Size: 1049 bytes --]

Dear GRUB developers,


is there a program/script, which module I need to load to get a certain
command? Using my distribution `/boot/grub/grub.cfg`

        $ more /boot/grub/grub.cfg
        […]
        if [ -s $prefix/grubenv ]; then
          load_env
        fi
        set default="1>Debian GNU/Linux, with Linux 3.2.0-4-686-pae"

        if [ x"${feature_menuentry_id}" = xy ]; then
          menuentry_id_option="--id"
        else
          menuentry_id_option=""
        fi
        […]

in my GRUB payload for coreboot, created with

        src/grub/grub-core $ ../grub-mkimage -d . -c grub.cfg -O i386-coreboot -o ../../grub2.elf memdisk tar ehci ohci uhci usb_keyboard serial all_video terminal -m ../memdisk.tar

I currently get the following (excerpt) printed to the monitor/serial
line

        Unknown command `if'.
        Unknown command `load_env'.
        Unknown command `fi'.
        Unknown command `if'.
        Unknown command `else'.
        Unknown command `fi'.


Thanks,

Paul

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-04-05 11:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-05 10:28 How do I find out what module is needed for a command? Paul Menzel
2013-04-05 11:08 ` Andrey Borzenkov
2013-04-05 11:45 ` Vladimir 'φ-coder/phcoder' Serbinenko

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.