LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   Change boot menu for new kernel (Not Urgent) (https://www.linuxquestions.org/questions/linux-kernel-70/change-boot-menu-for-new-kernel-not-urgent-818113/)

Linta Augustine 07-05-2010 12:37 PM

Change boot menu for new kernel (Not Urgent)
 
After the recompilation of the kernel, how the new kernel can add into the booting menu ?mainly in Ubuntu (above 9.10 versions,it doesn't have any /boot/grub/menu.lst instead it contains /boot/grub/grub.cfg it can't be editable)

acid_kewpie 07-05-2010 12:39 PM

This is not urgent for us. It's just a rude thread with a very poor choice of title. This is a voluntary community, don't demand priority attention, especially if you aren't even going to say please or thankyou.

ronlau9 07-05-2010 12:54 PM

Quote:

Originally Posted by Linta Augustine (Post 4024433)
instead it contains /boot/grub/grub.cfg it can't be editable)

Why not ?

pixellany 07-05-2010 01:19 PM

Title fixed.

Linta*;
Note that you have to edit the grub config files as root----(in Ubuntu, use sudo)

We also need to know if you have GRUB version 1 or 2

syg00 07-05-2010 05:20 PM

Quote:

Originally Posted by ronlau9 (Post 4024451)
Why not ?

Because Ubuntu will happily discard your changes on update.
Pix, the OP has indicated grub2.

I would expect update-grub to pick up new kernels automagically (if they conform to Ubuntu naming expectations), but read this anyway.

pixellany 07-05-2010 11:31 PM

Quote:

Pix, the OP has indicated grub2.
Where???

damgar 07-05-2010 11:46 PM

Quote:

Originally Posted by pixellany (Post 4024791)
Where???

Quote:

Originally Posted by Linta Augustine (Post 4024433)
...above 9.10 versions,it doesn't have any /boot/grub/menu.lst instead it contains /boot/grub/grub.cfg....

9.10 includes grub2 and grub.cfg rather than menu.lst also indicates grub2.

acid_kewpie 07-06-2010 04:13 AM

Quote:

Originally Posted by damgar (Post 4024800)
9.10 includes grub2 and grub.cfg rather than menu.lst also indicates grub2.

I'm with Pixellany here, he hasn't indicated a single thing, you might be able to read between the lines with additional knowledge about the implementations of different ubuntu versions, but just having a grub.cfg doesn't make it grub2 automatically at all.

syg00 07-06-2010 04:30 AM

Maybe you're confusing grub.cfg and grub.conf
The latter being an unfortunate (unforgivable) "enhancement" from Redhat - and gentoo on various occasions. The former is a pretty good indication of grub2.

acid_kewpie 07-06-2010 05:13 AM

Hmmm, yes I'll give you that one. unforgiveable?? It's only a computer program...


All times are GMT -5. The time now is 01:19 AM.