I'm very new to Linux; I've been using Lucid for about 5 months and really like it. What is the best way to update to Maverick without losing all my settings? Will just running the update manager actually do a full kernel update?
Upgrade – Will Settings Be Kept When Updating to Next Ubuntu Version?
upgrade
Related Solutions
The simplest set of instructions I always used for kernel upgrade / downgrade are by ubuntuforums.org user by the name of lykwydchykyn (url modified by me for this post):
- Go here: http://kernel.ubuntu.com/~kernel-ppa/mainline/
Download 3 (maybe 4) debs to a folder somewhere:
linux-headers-VERSION-NUMBER_all.deb linux-headers-VERSION-NUMBER_amd64.deb linux-image-VERSION-NUMBER_amd64.deb linux-image-extra-VERSION-NUMBER_amd64.deb # if available
Install the debs with whatever package manager front-end you use (is gdebi still around?), or use these commands:
cd /path/to/folder/where/you/put/the/debs sudo dpkg -i *.deb
Sources:
I want to point out some basic facts about kernels, before giving answer to your question:
If your current (default) installed kernel is not working properly and you're getting some trouble then you can install any kernel you want and test whether it fixes your problem or not. There is no problem on using one or multiple Kernels at a time. But sometime you should consider the Kernel Mapping to your Ubuntu Version. For example following link lists out the mapping of different kernel to different version of OS:
1. Ubuntu to Mainline kernel version mapping
You can get a complete information of Kernel installing/removing from following link.
It helped me a lot to install a new kernel in Ubuntu 12.04.2. Now I can chose any kernel 3.5.0 or 3.8.0 from grub menu.
Following link illustrates how Ubuntu 12.04 LTS works actually. It illustates in very nice way, you would also like:
3. Ubuntu LTS Enablement Stack
Now coming to your point:
but I have no idea what the
*-lts-raring-packages
are
If you go through the 3rd link - Ubuntu LTS Enablement Stack, you will see Ubuntu 12.04.x LTS support and upgrade policy (enhanced view). Which states that the packages and kernels in Ubuntu 12.04 LTS will upgraded equivalent to non-LTS version. In short:
12.04 ~ 12.04 (kernel 3.2.x)
12.04.2 ~ 12.10 (kernel 3.5.x)
12.04.3 ~ 13.04 (kernel 3.8.x)
12.04.4 ~ 13.10 (kernel 3.11.x or latest according to the time of release of 12.04.4. i,e why ?? in the figure)
Since 13.04 is called raring, 12.04 is LTS and 12.04.3 is using packages equivalent to 13.04. This is the reason why 12.04.3 packages are called *-lts-raring-packages and the same you see in your repository. I hope your doubt would be clear. (Reply if still you've some confusion.)
upgraded to 12.04.3. However, my Linux kernel has not been upgraded; it's 3.2.0-52-generic-pae.
This is because it is always good to stick with the kernel which best suits to your system. If your system is running fine with the kernel you are using, then their is no need to upgrade the kernel. But if you've any problem (as you can see, I had one that I solved after upgrading kernel as well as a lot of xserver-xorg packages) then you can consider to upgrade your kernel.
Thus Ubuntu uses the same logic and doesn't upgrade your kernel (it would be possible that same kernel version upgrades. Example 3.2.x will be upgraded to 3.2.y). Ubuntu doesn't want to take risk, it just left for you. :)
What is the best way to upgrade the kernel?
There is no any best way to upgrade a kernel. The way that worked for you is the best :)
I've mentioned the 2nd link, which you can be used to install the latest kernel. But I recommend you to install the kernel more specific to your 12.04.3 i,e 3.8.x which are listing in your repository.
You can install using the command. Just copy and paste following command in the terminal and execute:
sudo apt-get install linux-generic-lts-raring linux-headers-3.8.0-34 linux-headers-3.8.0-34-generic linux-headers-generic-lts-raring linux-image-3.8.0-34-generic linux-image-generic-lts-raring
Please note that the kernels and so as the repositories are frequently updated. So it would be possible that 3.8.0-34 will not be the latest version of kernel 3.8.x. In this case you can go for the 2nd method I've mentioned below.
or you can install it using Synaptic Package Manager. Type linux-generic-lts-raring and select it. It will automatically select all the latest -lts-packages to install. I'm posting what it shows to me:
linux-generic-lts-raring linux-headers-3.8.0-34 linux-headers-3.8.0-34-generic linux-headers-generic-lts-raring linux-image-3.8.0-34-generic linux-image-generic-lts-raring
Then just mark for installation and then Apply You can also get help from this link.
Best Answer
Hello and welcome to the Ubuntu community!
Yes if you update using the Update Manager you should not lose any of your settings.
However if you did a 'clean install' from downloading a CD and installing, you would lose your settings (and files) by default.