Re: How to change the kernel title in /boot/grub/menu.lst?
On Fri, Oct 02, 2009 at 05:16:54PM +0500, surreal wrote:
> installed linux-source-2.6.26 in /usr/src, modified some configurations,
> and used make-kpkg command to generate a kernel deb file.
>
> On installing the kernel on my local machine, I found that the kernel was
> entered as *title Debian GNU/Linux, kernel 2.6.26 (single-user
> mode)*in /boot/grub/menu.lst
>
> I installed this kernel image on my live cd, and then installed it to my
> hdd.
>
> Inspite of me making modifications to the kernel, its still showing *title
> Debian GNU/Linux, kernel 2.6.26 (single-user mode)* in the grub bootup.
>
> Then I installed the same very linux image deb file in Ubuntu 8.10, and even
> there the kernel was listed as that of Ubuntu..!!!
>
> How do I change this title to that of my own?
>
> How to customize the kernel title in /boot/grub/menu.lst automatically
> without user interven?
>
> Its a fair thing that if i customize a kernel according to my need, I should
> be able to use a name for it too..!!
>
> Any idea of how to do this??
>
> The uname of my live cd and machine is
>
> Linux indiaforce 2.6.26 #1 SMP Thu Oct 1 09:03:37 IST 2009 i686 GNU/Linux
>
> Now how to enable indiaforce ie hostname to appear in kernel name?
>
You can edit /boot/grub/menu.lst and alter the "title" line for the
kernel in question.
-Rob
Reply to: