On Wed, 26 Feb 2003 17:56:13 -0600 Charles Steinkuehler <[EMAIL PROTECTED]> wrote:
> Spiro Philopoulos wrote: > > I'm using GRUB to run LRP off a hard drive and I've noticed > > that /proc/cmdline is truncated and does not include all > > packages to load. It seems to get truncated after ~255 > > characters. Has anybody that's used GRUB come across this > > problem? Is there a way to get around this limit? Any > > info/help would be greatly appreciated. > > Thanks. > > This is a FAQ. > The 255 character limit is from the kernel, not from grub, so > *ALL* boot-loaders will have this problem (including syslinux, > lilo, etc). Knoppix (a nice Live Linux Filesystem CDROM) modifies the kernel to increase this limit. He sets it to 512: --- linux/arch/i386/kernel/setup.c.orig 2002-10-04 01:02:25.000000000 +0200 +++ linux/arch/i386/kernel/setup.c 2002-10-04 01:03:24.000000000 +0200 @@ -195,7 +195,7 @@ #define INITRD_START (*(unsigned long *) (PARAM+0x218)) #define INITRD_SIZE (*(unsigned long *) (PARAM+0x21c)) #define COMMAND_LINE ((char *) (PARAM+2048)) -#define COMMAND_LINE_SIZE 256 +#define COMMAND_LINE_SIZE 512 /* The boot commandline in Knoppix can get quite long -KK Oct. 2002 */ #define RAMDISK_IMAGE_START_MASK 0x07FF #define RAMDISK_PROMPT_FLAG 0x8000 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ leaf-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-devel