| Ubuntu This forum is for the discussion of Ubuntu Linux. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
06-22-2009, 07:24 PM
|
#1
|
|
Member
Registered: Apr 2008
Distribution: ubuntu 7.10, centos 4 & 5
Posts: 84
Rep:
|
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,
Quote:
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
|
Quote:
|
2. keep the local version currently installed
|
was the default so I chose that. Was I supposed to choose 1,
Quote:
|
1. install the package maintainer's version
|
?
|
|
|
|
06-22-2009, 09:33 PM
|
#2
|
|
Member
Registered: Feb 2009
Distribution: FreeBSD, OpenBSD, NetBSD, Debian, Fedora
Posts: 770
Rep:
|
yes.
You can still add the entry by the commands- which I don't like- or by editing with vi- of which I prefer.
|
|
|
|
06-23-2009, 12:03 PM
|
#3
|
|
Member
Registered: Apr 2008
Distribution: ubuntu 7.10, centos 4 & 5
Posts: 84
Original Poster
Rep:
|
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.
Quote:
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
quiet
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
quiet
|
|
|
|
|
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,354
Rep: 
|
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 |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 12:27 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|