|
From: Michael G. <m.g...@tu...> - 2010-07-15 08:52:22
|
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/gru...@gn.../msg11801.html [2] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=557645 |