* 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* Re: How do I find out what module is needed for a command?
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
1 sibling, 0 replies; 3+ messages in thread
From: Andrey Borzenkov @ 2013-04-05 11:08 UTC (permalink / raw)
To: The development of GNU GRUB; +Cc: paulepanter
[-- Attachment #1: Type: text/plain, Size: 1366 bytes --]
В Fri, 05 Apr 2013 12:28:37 +0200
Paul Menzel <paulepanter@users.sourceforge.net> пишет:
> 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`
>
/usr/lib/grub/i386-pc/command.lst
replace i386-pc with your platform.
> $ 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'.
>
You need to load "normal" module and enter normal mode.
>
> Thanks,
>
> Paul
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: How do I find out what module is needed for a command?
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
1 sibling, 0 replies; 3+ messages in thread
From: Vladimir 'φ-coder/phcoder' Serbinenko @ 2013-04-05 11:45 UTC (permalink / raw)
To: The development of GNU GRUB
[-- Attachment #1: Type: text/plain, Size: 1398 bytes --]
On 05.04.2013 12:28, Paul Menzel wrote:
> 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
>
Don't use -c, put grub.cfg on memdisk and add normal.
> 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
>
>
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 294 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.