On Tue, Mar 20, 2012 at 23:34, Duncan <1i5t5.dun...@cox.net> wrote:
> But with one of the other commands I tried, it was the reverse, help <command
> worked for it, but <command> --help did nothing (at least it didn't
> trigger a reboot as help cat did).

Such issues could be caused by bad interaction of commands with the
same name in different modules:

command.lst:
*cat: cat
*help: help
cat: minicmd
help: minicmd

Something I noticed is that in grub2-mkimage, --prefix option must
come after --memdisk, and --config causes empty $prefix, --compression
doesn't seem to do anything, and individually compressing modules
works only for some of them. In short, GRUB is a mess (like usual).
You might find the following script interesting — it is similar to
grub2-mkstandalone, but selective wrt. modules (I still didn't manage
to boot Linux in QEMU with EFI firmware, however):
https://github.com/mkdesu/liberte/blob/master/src/root/helpers/gen-efi

-- 
Maxim Kammerer
Liberté Linux (discussion / support: http://dee.su/liberte-contribute)

Reply via email to