[Top][All Lists]

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

Re: finding out what kernel was booted with grub...

From: Josh Huber
Subject: Re: finding out what kernel was booted with grub...
Date: Fri, 17 Nov 2000 17:10:40 -0500
User-agent: Mutt/1.3.11i

On Fri, Nov 17, 2000 at 04:31:31PM -0500, Wolfgang Sourdeau wrote:
> It's not lilo who creates the content of /proc/cmdline but Linux
> itself. Lilo just passes on some parameters to Linux, which Linux
> (happily) recognizes as such. On the other hand, you can pass any
> parameter to Linux, even ones which doesn't exist. In this case, Linux
> just ignores them while still putting them in /proc/cmdline. You could
> use this feature to differentiate your kernels. For example, you could
> add a parameter "kernel_image=<image>" to the "kernel" grub command.

Yes, I realize this, but LILO by default gives information that is
useful in /proc/cmdline.  Since GRUB has the ability to boot any
kernel in ext2, wouldn't it be a good idea to have this information
available somewhere?


Josh Huber                               | address@hidden |
1024D/6B21489A 61F0 6138 BE7B FEBF A223  E9D1 BFE1 2065 6B21 489A

Attachment: pgpFbJPEQh1C7.pgp
Description: PGP signature

reply via email to

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