grub-devel
[Top][All Lists]
Advanced

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

Re: how to increase commandline size


From: Yoshinori K. Okuji
Subject: Re: how to increase commandline size
Date: Thu, 21 Sep 2006 04:02:36 +0200
User-agent: KMail/1.8.2

On Wednesday 20 September 2006 06:16, Jeff Chua wrote:
> I need to pass parameters such as network IP, mask, hostname in grub.cfg,
> but currently grub2 can only handle up to 100 bytes???

100? No. 0x100? Yes. From the Linux/i386 boot protocol:

The kernel command line is a null-terminated string currently up to
255 characters long, plus the final null.  A string that is too long
will be automatically truncated by the kernel, a boot loader may allow
a longer command line to be passed to permit future kernels to extend
this limit.

Okuji




reply via email to

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