Welcome to the Linux Foundation Forum!
Kernel Update
Hi.
I use Ubuntu 10.04 LTS. I always update the OS as frequent as possible. Today, I've accepted kernel update, which happened last time about a month ago. Everything is OK, but I have 6 Ubuntu boot options in GRUB, 2 for each kernel (Standard and recovery mode).
Does it mean that all these 3 kernels are installed on my system?
If it's so, do I need to remove previous ones, since this last one is working correctly?
And if I should do so, how should I do that?
Thanks so much.
0
Comments
-
YesDoes it mean that all these 3 kernels are installed on my system?
No, one always leaves at least 2 kernels in case a problem arises in the most recent one. I use Fedora and the default is to keep 3 kernels.If it's so, do I need to remove previous ones, since this last one is working correctly?
When I was using Debian, I had to remove extra kernels manually. I would think that Ubuntu would have a default like Fedora (max 3 kernels), but to make sure maybe someone who is a current Ubuntu user can verify that.0 -
well, the new question for me is that don't these kernel interfere each other's activities?
I mean how come directory structure in the drive I've installed Linux in remains the same, programs are being launched from where they were, but there are 3 kernels installed?
Give me up if you think my questions are extremely stupid. I'm new to linux and I wanna know the truth, as much as possible.
Thanks
0 -
ActiveX wrote:well, the new question for me is that don't these kernel interfere each other's activities?
I mean how come directory structure in the drive I've installed Linux in remains the same, programs are being launched from where they were, but there are 3 kernels installed?
Give me up if you think my questions are extremely stupid. I'm new to linux and I wanna know the truth, as much as possible.
Thanks
The kernels will not interfere with each others' activities since they are in separate directories and only one is launched when the system is booted.
Remember that the kernel is loaded during boot time by the bootloader, the kernel only really effects how your system interacts with the hardware. The software itself should not be overly effected by the kernel except for speed (based upon the cpu driver used) and potential hardware dependent software.
If you choose you can remove the old kernels from your system by reviewing the synaptic package manager, searching for kernel and manually removing them. But if you do that you will still have to clean up your grub bootloader file. My preference is to save the kernels in place, but comment out the old kernels from the bootloader so they are not longer visible.0 -
ActiveX wrote:well, the new question for me is that don't these kernel interfere each other's activities?
I mean how come directory structure in the drive I've installed Linux in remains the same, programs are being launched from where they were, but there are 3 kernels installed?
Give me up if you think my questions are extremely stupid. I'm new to linux and I wanna know the truth, as much as possible.
Thanks
There is no problem at all for having many kernels installed. The thing is that only one kernel is running at a time and they don't interfear at all with each other. As long as you do not need to make room on your hard drive, I would leave the kernels in there as a safe option if anytime there is a problem with your default kernel so you could boot up your machine and try to solve the problem
Best regards0 -
In Ubuntu 10.04, you can also use System -> Administration -> Computer Janitor to remove old kernels. The grub2 (bootloader) configuration file will be automatically updated when you install/remove kernels.0
Categories
- All Categories
- 178 LFX Mentorship
- 178 LFX Mentorship: Linux Kernel
- 774 Linux Foundation IT Professional Programs
- 383 Cloud Engineer IT Professional Program
- 175 Advanced Cloud Engineer IT Professional Program
- 75 DevOps IT Professional Program - Discontinued
- 7 DevOps & GitOps IT Professional Program
- 103 Cloud Native Developer IT Professional Program
- 7.6K Training Courses & Learning Paths
- 11 AI & ML Training
- 1 Blockchain & Decentralized Identity Training
- 32 Cloud & Containers Training
- 3 Cybersecurity Training
- 2 DevOps & Site-Reliability Training
- 1 Linux Kernel Development Training
- 2 Networking Training
- 2 Open Source Best Practice Training
- 5 System Administration Training
- 1 System Engineering Training
- 4 Web & Application Development Training
- 798 Hardware
- 202 Drivers
- 68 I/O Devices
- 37 Monitors
- 96 Multimedia
- 173 Networking
- 91 Printers & Scanners
- 92 Storage
- 772 Linux Distributions
- 81 Debian
- 68 Fedora
- 24 Linux Mint
- 13 Mageia
- 24 openSUSE
- 151 Red Hat Enterprise
- 31 Slackware
- 13 SUSE Enterprise
- 356 Ubuntu
- 469 Linux System Administration
- 31 Cloud Computing
- 73 Command Line/Scripting
- Github systems admin projects
- 101 Linux Security
- 79 Network Management
- 101 System Management
- 46 Web Management
- 160 Mobile Computing
- 29 Android
- 116 Development
- 1.2K New to Linux
- 1K Getting Started with Linux
- 405 Off Topic
- 127 Introductions
- 34 Study Material
- 1K Programming and Development
- 310 Kernel Development
- 718 Software Development
- 1K Software
- 418 Applications
- 182 Command Line
- 5 Compiling/Installing
- 71 Games
- 320 Installation
- Archived
- 183 Small Talk
- 2 LFD140 Class Forum
- 1.4K LFS258 Class Forum
Upcoming Training
-
August 20, 2018
Kubernetes Administration (LFS458)
-
August 20, 2018
Linux System Administration (LFS301)
-
August 27, 2018
Open Source Virtualization (LFS462)
-
August 27, 2018
Linux Kernel Debugging and Security (LFD440)