[Top][All Lists]
[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: |
Fri, 22 Aug 2008 15:34:07 +0000 |
User-agent: |
Mozilla/5.0 (compatible; Konqueror/3.5; Linux) KHTML/3.5.9 (like Gecko) |
Follow-up Comment #17, bug #13606 (project grub):
> There's a new loader now, in loader/i386/linux.c, which for
> now is only used on coreboot (but is trivial to enable it on
> i386-pc by editting conf/i386-pc.*). Does it also exhibit
> this problem?
As far as I can see, (GRUB_LINUX_CL_END_OFFSET-GRUB_LINUX_CL_OFFSET) = 0xff
And argv[] is truncated to this amount.
I believe you guys can do this much better than I can. Only needed action to
be taken is to set cmd_line_ptr on >=2.02 protocol to untruncated null
terminated string.
So construct a string out of argv[], then copy/truncate this to the old
command-line 256 buffer for compatibility.
Grub is much more complex than this one...
This is opened from jul-2007!!!
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?13606>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/