Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Ubuntu This forum is for the discussion of Ubuntu Linux.


  Search this Thread
Old 06-22-2009, 07:24 PM   #1
Registered: Apr 2008
Distribution: ubuntu 7.10, centos 4 & 5
Posts: 84

Rep: Reputation: 15
ubuntu grub unchanged

I've upgraded the kernel version to the latest on my ubuntu but the menu.lst hasn't been modified so it still boots to the old kernel.
During the upgrade,
A new version of /boot/grub/menu.lst is available, but the version installed currently has been locally modified.
1. install the package maintainer's version
2. keep the local version currently installed
3. show the differences between the versions
4. show a side-by-side difference between the versions
5. show a 3-way difference between available versions
6. do a 3-way merge between available versions (experimental)
7. start a new shell to examine the situation
2. keep the local version currently installed
was the default so I chose that. Was I supposed to choose 1,
1. install the package maintainer's version
Old 06-22-2009, 09:33 PM   #2
Registered: Feb 2009
Distribution: FreeBSD, OpenBSD, NetBSD, Debian, Fedora
Posts: 770
Blog Entries: 52

Rep: Reputation: 68
You can still add the entry by the commands- which I don't like- or by editing with vi- of which I prefer.
Old 06-23-2009, 12:03 PM   #3
Registered: Apr 2008
Distribution: ubuntu 7.10, centos 4 & 5
Posts: 84

Original Poster
Rep: Reputation: 15
Thanks. What are the commands to add the entry?
If using vi, can I just globally replace the old version number with the new?
The old is 2.6.24-20. The new is 2.6.24-24.

title Ubuntu 8.04.2, kernel 2.6.24-20-server
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-20-server root=UUID=f3caaf43-20c2-4436-aeb8-feca6d31c934 ro quiet splash
initrd /boot/initrd.img-2.6.24-20-server

title Ubuntu 8.04.2, kernel 2.6.24-20-server (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-20-server root=UUID=f3caaf43-20c2-4436-aeb8-feca6d31c934 ro single
initrd /boot/initrd.img-2.6.24-20-server

title Ubuntu 8.04.2, memtest86+
root (hd0,0)
kernel /boot/memtest86+.bin
Old 06-23-2009, 12:58 PM   #4
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
Do not replace the old values with the new ones
ADD it as the last entry to the menu.lst
If you replace it it does not work you do not have a working system any more
My favourite for this kind of job is nano you might have to install first

If the new kernel it is on the same partition you can use the original entry as a example .
Although it is some what strange that it is not installed automaticly
Standard Ubuntu keeps to versions of the kernel


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
[SOLVED] gunzip: [file] has more than one entry -- unchanged checkmate3001 Linux - Software 6 12-13-2013 04:45 AM
fstab remain unchanged at reboot ago.homer Linux - Newbie 1 04-20-2005 05:24 AM
lm-sensors unchanged values ndm Linux - Laptop and Netbook 1 02-25-2004 06:44 AM
lm-sensors unchanged values ndm Linux - Newbie 0 02-25-2004 05:21 AM
Need serious help in vi (Red Hat 9, unchanged kernel) Echs Bochs Linux - General 8 01-23-2004 03:23 PM

All times are GMT -5. The time now is 02:39 AM.

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