[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: |
Wolfgang Sourdeau |
Subject: |
Re: finding out what kernel was booted with grub... |
Date: |
Wed, 22 Nov 2000 13:21:14 -0500 |
User-agent: |
Wanderlust/1.1.1 (Purple Rain) WEMI/1.13.7 (Shimada) Chao/1.14.0 (Momoyama) Emacs/20.4 (i386-inslinux-linux-gnu) (with unibyte mode) |
At Mon, 20 Nov 2000 10:45:58 -0500,
Josh Huber <address@hidden> wrote:
>
> Well, I think it's useful. I'm using it right now to load a kernel
> (the one that booted the machine) into memory for use with bootimg,
> and system for booting a linux kernel from linux.
>
> The output from LILO looks like:
> BOOT_IMAGE=josh ro root=301 BOOT_FILE=/boot/vmlinuz-2.4.0-test9
>
> some versions only give the BOOT_IMAGE= field.
>
> ttyl,
When I wrote "useful", I was meaning "useful to implement this in an
automated manner". Because you still can pass those parameters to the
kernel (by modifying /boot/grub/menu.lst) and they will then be
displayed in /proc/cmdline. But I am not the correct person to judge
wether it is useful or not. My point is that it would be a
linux-specific feature, that LILO is linux-specific but that GRUB is
not.
Wolfgang