954,141 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Ubuntu Kernel Update Process

Whenever I run the Ubuntu automated update program and it installs a new kernel version, It screws up my GRUB menu.lst. Not only does it create multiple entries for Ubuntu, it deletes the entries for the other Windows OSes (XP and Dell Utility Partition). Is there a way to set the autoupdater to not screw around with the bootloader menu, or is it just better to update the kernel manually?

bnrup
Light Poster
26 posts since Oct 2006
Reputation Points: 10
Solved Threads: 0
 

This may not help but I use Kubuntu (very similiar) with the KDE interface (version 7.1 is downloadable) and this does not screw up or change the grub startup loader; I have both XP and kununtu on this hard disk and a recovery partition.

mjdodd
Posting Pro
591 posts since Sep 2007
Reputation Points: 36
Solved Threads: 53
 

On my Ubuntu setup, I actually installed KDE, which ubuntu detects as kubuntu. Therefore, I have the option to either start a session with KDE or GNOME. However, the original install was the GNOME version of Ubuntu.

bnrup
Light Poster
26 posts since Oct 2006
Reputation Points: 10
Solved Threads: 0
 
This may not help but I use Kubuntu (very similiar) with the KDE interface (version 7.1 is downloadable) and this does not screw up or change the grub startup loader; I have both XP and kununtu on this hard disk and a recovery partition.


To my knowledge, the only functional difference between Ubuntu and Kubuntu is the window manager and software associated with it. If Ubuntu screws up menu.lst, it's highly unlikely that installing Kubuntu will change anything.

To the original poster: what version of Ubuntu are you using?

John A
Vampirical Lurker
Team Colleague
7,630 posts since Apr 2006
Reputation Points: 2,240
Solved Threads: 339
 

in the grub configuration file you can set it so that there are entries that are always present and are not regenerated when the kernel is updated. Google it.

jbennet
Moderator
Moderator
18,523 posts since Apr 2005
Reputation Points: 1,820
Solved Threads: 600
 
in the grub configuration file you can set it so that there are entries that are always present and are not regenerated when the kernel is updated. Google it.


Well, you're supposed to add all extra operating system entries after the ### END DEBIAN AUTOMAGIC KERNELS LIST line in menu.lst, but that doesn't necessarily guarantee it won't be overwritten, due to some bugs with older versions of Ubuntu.

John A
Vampirical Lurker
Team Colleague
7,630 posts since Apr 2006
Reputation Points: 2,240
Solved Threads: 339
 

Just uninstall your old kernels, that should fix menu.lst.

Sturm
Veteran Poster
1,079 posts since Jan 2007
Reputation Points: 343
Solved Threads: 24
 

To my knowledge, the only functional difference between Ubuntu and Kubuntu is the window manager and software associated with it. If Ubuntu screws up menu.lst, it's highly unlikely that installing Kubuntu will change anything.

To the original poster: what version of Ubuntu are you using?

I am using Ubuntu 7.10, the latest version.

bnrup
Light Poster
26 posts since Oct 2006
Reputation Points: 10
Solved Threads: 0
 
Well, you're supposed to add all extra operating system entries after the ### END DEBIAN AUTOMAGIC KERNELS LIST line in menu.lst, but that doesn't necessarily guarantee it won't be overwritten, due to some bugs with older versions of Ubuntu.

Well, is there a way to put Windows XP at the bottom of the list and still make it the default OS to be booted?

bnrup
Light Poster
26 posts since Oct 2006
Reputation Points: 10
Solved Threads: 0
 

>Well, is there a way to put Windows XP at the bottom of the list and still make it the default OS to be booted?

Hypothetically, you could on every shutdown replace /boot/grub/menu.lst with your own menu.lst...

Sturm
Veteran Poster
1,079 posts since Jan 2007
Reputation Points: 343
Solved Threads: 24
 
Well, is there a way to put Windows XP at the bottom of the list and still make it the default OS to be booted?


That's what the <a href="http://www.gnu.org/software/grub/manual/html_node/default.html#default">default</a> option is for...

John A
Vampirical Lurker
Team Colleague
7,630 posts since Apr 2006
Reputation Points: 2,240
Solved Threads: 339
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: