Hi!

GRUB2 changed its behavior on how to deal with command lines[1] starting with 
version 1.97. There's
also a debian bug[2] filed.

GRUB2 now discards the first element (the filename) before storing the command 
line in mbi->cmdline.
Since TBoot always calls skip_filename(), g_cmdline loses first element of 
command line... It took
me hours to figure out that this was the reason why I don't get any output from 
TBoot.

A possible solution could be parsing of mbi->boot_loader_name, that can be 
tricky...

The workaround suggested by GRUB developers is to specify the filename a second 
time. As the
filename isn't relevant to TBoot, any dummy argument can be stated.

Michael

[1] http://www.mail-archive.com/grub-de...@gnu.org/msg11801.html
[2] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=557645


------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
tboot-devel mailing list
tboot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tboot-devel

Reply via email to