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

Bug#276840: bootprompt limit

On Sat, Oct 16, 2004 at 08:44:53PM -0400, Joey Hess wrote:
> The kernel has dual limits of 8 command line options and 8 environment
> options on the boot command line. A command line option has no "=" in
> it; environment options do. After reaching either limit, 2.6.8 panics;
> 2.4.27 throws options away silently. Our default i386 boot command line
> has 2 command line options and 6 environment options:
> vga=normal initrd=initrd.gz ramdisk_size=xxx root=/dev/rd0 devfs=mount,dall rw -- BOOT_IMAGE=linux
> (The BOOT_IMAGE=linux is always added by syslinux.)
> Some of this is not really necessary, so you could remove the vga=normal
> (what does that do?) and the devfs=mount,dall (devfs is mounted by the
> initrd, and we don't really need devfs debugging). Trim the line down to
> this:
> initrd=initrd.gz ramdisk_size=xxx root=/dev/rd/0 rw -- BOOT_IMAGE=linux
> That will give you space to preseed two more debconf variables.
> I've thought about removing some of the extraneous parameters from the
> installer's stock syslinux.cfg, but I hesitate to do so right now, when
> we don't have time to test such a change widely before release. If I
> were to remove one of the two, I'd choose the devfs option, since I know
> that d-i can mount devfs. I'm not sure if vga=normal fixes some video
> problems on some hardware or why we use it.

A succesfull 'append line' in pxelinux.cfg is

         append initrd=initrd.gz ramdisk_size=9310 root=/dev/rd/0 rw
	 countrychooser/shortlist=NL console-keymaps-at/keymap=us
	 netcfg/get_hostname=s netcfg/get_domain=s --

Note that there are nine(9) equal signs(=)
All nine are shown in /proc/cmdline, `set` showns only seven,
the "dropped ones" are ramdisk_size= and root=
those are the later in the alphabeth.

This report of a succes does _not_ mean that the problem is gone,
it is only to tell about the workaround.

Please extend the limit in the environment parameters.

Geert Stappers
(who does not dare to increase severity of #276840 to serious)

Attachment: signature.asc
Description: Digital signature

Reply to: