bug-grub
[Top][All Lists]
Advanced

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

[bug #13606] GRUB should allow Linux command-line>256 bytes with boot pr


From: Alon Bar-Lev
Subject: [bug #13606] GRUB should allow Linux command-line>256 bytes with boot protocol>2.02
Date: Thu, 28 Aug 2008 18:42:44 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; he; rv:1.8.1.15) Gecko/20080623 Firefox/2.0.0.15

Follow-up Comment #20, bug #13606 (project grub):

Hello,

The boot protocol 2.02 had the cmd_line_ptr which points to null terminated
string. There was a comment in the documentation that this string will be
truncated to 256 by the kernel but may be longer.

grub developers interpreted the above as they should truncate the string at
grub, as a result kernels patched to enable longer strings were unusable with
grub (unlike lilo or syslinux).

At linux-2.6.21 I finally was able to add support for long command-line
strings (currently 2048). No change to the boot protocol was required, as
cmd_line_ptr is null terminated.

Then someone thought that it would be nice if the bootloader will be able to
determine the maximum size in order to warn/fail if command-line is truncated.
This result in a new boot protocol revision.

It is simple to support both <2.02 and >=2.02 protocols in grub. If
cmd_line_ptr is available just forward untrancated string... That's all.

What more can I do in order to help resolve this?

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?13606>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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