help-grub
[Top][All Lists]
Advanced

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

Re: Using grub, is it possible to use "if, while" during booting (before


From: Andrey Borzenkov
Subject: Re: Using grub, is it possible to use "if, while" during booting (before loading normal.mod)?
Date: Tue, 13 Aug 2013 06:39:21 +0400

В Mon, 12 Aug 2013 13:39:24 -0700
Binh Minh <address@hidden> пишет:

> My computer has grub installed. During booting before normal.mod is loaded,
> I need to be able to run if and while commands in my config file which has
> been linked into core.img (using grub-mkimage -c myconfig.confg). In
> myconfig.config, I have an if statement and I kept getting "unknown command
> if" during booting.  I saw an example in
> http://www.gnu.org/software/grub/manual/html_node/Embedded-configuration.htmland
> looks like I just need to include search, test, and normal modules.
> Am
> I missing something?  Thanks

It is not possible. Those commands are provide by normal.mod. The only
purpose of core.img is normally to load normal.mod.

What are you trying to do? 



reply via email to

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