LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
Search this Thread
Old 07-05-2010, 01:37 PM   #1
Linta Augustine
LQ Newbie
 
Registered: Jul 2010
Posts: 1

Rep: Reputation: 0
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)

Last edited by pixellany; 07-05-2010 at 02:15 PM.
 
Old 07-05-2010, 01:39 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967
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.
 
Old 07-05-2010, 01:54 PM   #3
ronlau9
Senior Member
 
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369

Rep: Reputation: Disabled
Quote:
Originally Posted by Linta Augustine View Post
instead it contains /boot/grub/grub.cfg it can't be editable)
Why not ?
 
Old 07-05-2010, 02:19 PM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
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
 
Old 07-05-2010, 06:20 PM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,445

Rep: Reputation: 1068Reputation: 1068Reputation: 1068Reputation: 1068Reputation: 1068Reputation: 1068Reputation: 1068Reputation: 1068
Quote:
Originally Posted by ronlau9 View Post
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.

Last edited by syg00; 07-05-2010 at 06:21 PM.
 
Old 07-06-2010, 12:31 AM   #6
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
Quote:
Pix, the OP has indicated grub2.
Where???
 
Old 07-06-2010, 12:46 AM   #7
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
Blog Entries: 8

Rep: Reputation: 201Reputation: 201Reputation: 201
Quote:
Originally Posted by pixellany View Post
Where???
Quote:
Originally Posted by Linta Augustine View Post
...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.
 
Old 07-06-2010, 05:13 AM   #8
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967
Quote:
Originally Posted by damgar View Post
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.
 
Old 07-06-2010, 05:30 AM   #9
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,445

Rep: Reputation: 1068Reputation: 1068Reputation: 1068Reputation: 1068Reputation: 1068Reputation: 1068Reputation: 1068Reputation: 1068
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.
 
Old 07-06-2010, 06:13 AM   #10
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
boot sector and lilo collapse !!!!! URGENT URGENT URGEN !!!!! frelihm Linux - Software 21 12-02-2009 11:21 AM
Urgent Question Regarding Urgent Questions! Need Help Now! Crashed_Again LQ Suggestions & Feedback 11 10-17-2007 09:07 PM
Urgent Urgent !!!! Mozilla Keeps All Your Deleted Emails !!!! odin123 Linux - Software 2 01-31-2004 03:22 AM


All times are GMT -5. The time now is 12:26 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration