grub-devel
[Top][All Lists]
Advanced

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

Re: How do I find out what module is needed for a command?


From: Vladimir 'φ-coder/phcoder' Serbinenko
Subject: Re: How do I find out what module is needed for a command?
Date: Fri, 05 Apr 2013 13:45:00 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.12) Gecko/20130116 Icedove/10.0.12

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
> address@hidden
> https://lists.gnu.org/mailman/listinfo/grub-devel



Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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