Re: Kernel thoughts of a Linux user

H. Peter Anvin
2004-11-19T05:04:34Z

Followup to: <200411181859.27722.gjwucherpfennig@gmx.net>
By author: "Gerold J. Wucherpfennig" <gjwucherpfennig@gmx.net>
In newsgroup: linux.dev.kernel
>
> - setting up kernel boot parameters with graphical tools is unreliable,
> because the system doesn't know which bootloader entry was chosen.
> One solution to this issue is to create a new kernel parameter "loaderhint"
> where the bootloader will be able to set the number of the chosen boot entry.
> In the configuration file of the bootloader this will have to be explicitly
> remarked e.g. ... loaderhint=%selection% ... . Unfortunately this could be
> circumvented, because it isn't mandatory and could be manipulated in the boot
> loader configuration. (Other/better suggestions are welcome)
>

Most boot loaders have an BOOT_IMAGE option visible in /proc/cmdline.

-hpa