Hi,

I am new to this forum and I am not sure if my topic fits into this category. Sorry in advance if it doesn't.

Basically my question is: is it possible to use if statement or while loop in the embedded configuration in the core image when using grub2 as bootloader?

From looking at the example in section 5.4 of the GNU GRUB Manual 2.00, it seems possible, but when I implemented if statement in my embedded configuration file, I got the error "Unknown command if".

Thanks,
Binh