How to detect hidden kernels
After the installation of Ubuntu 16.04 LTS I faced some problems. When I selected some Recovery option in the GRUB I happened to see an old kernel version Linux 2. .... something. But I couldn't detect it clearly. That version is nowhere in Synaptic. In my 14.04 LTS had some errors messages at the beginning of each log-in. GRUB doesn't show that very old version. Is there any safe technique to DETECT and REMOVE it?
madhu@madhu-
Linux madhu-desktop 4.4.0-21-generic #37-Ubuntu SMP Mon Apr 18 18:34:49 UTC 2016 i686 i686 i686 GNU/Linux
madhu@madhu-
Linux version 4.4.0-21-generic (buildd@lgw01-06) (gcc version 5.3.1 20160413 (Ubuntu 5.3.1-14ubuntu2) ) #37-Ubuntu SMP Mon Apr 18 18:34:49 UTC 2016
madhu@madhu-
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu terminal Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Manfred Hampl
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
What is the output of the commands
dpkg -l | grep ' linux-'
sudo update-grub
ls -l /boot
Revision history for this message
|
#2 |
madhu@madhu-
ii linux-base 4.0ubuntu1 all Linux image base package
ii linux-firmware 1.157 all Firmware for Linux kernel drivers
ii linux-generic 4.4.0.21.22 i386 Complete Generic Linux kernel and headers
ii linux-headers-
ii linux-headers-
ii linux-headers-
ii linux-image-
ii linux-image-
ii linux-image-generic 4.4.0.21.22 i386 Generic Linux kernel image
ii linux-libc-dev:i386 4.4.0-21.37 i386 Linux Kernel Headers for development
ii linux-sound-base 1.0.25+
madhu@madhu-
[sudo] password for madhu:
Generating grub configuration file ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found memtest86+ image: /boot/memtest86
Found memtest86+ image: /boot/memtest86
done
madhu@madhu-
total 45904
-rw-r--r-- 1 root root 1235761 Apr 19 03:19 abi-4.4.
-rw-r--r-- 1 root root 192900 Apr 19 03:19 config-
drwxr-xr-x 5 root root 4096 Apr 30 21:55 grub
-rw-r--r-- 1 root root 35166975 Apr 23 08:04 initrd.
-rw-r--r-- 1 root root 182704 Jan 28 18:14 memtest86+.bin
-rw-r--r-- 1 root root 184380 Jan 28 18:14 memtest86+.elf
-rw-r--r-- 1 root root 184840 Jan 28 18:14 memtest86+
-rw------- 1 root root 3076741 Apr 19 03:19 System.
-rw-r--r-- 1 root root 6755552 Apr 21 03:54 vmlinuz-
madhu@madhu-
Revision history for this message
|
#3 |
I do not see any trace of an old version 2.* kernel.
Revision history for this message
|
#4 |
I am sure it was an old kernel version 2.2 (point some digits). It was a network option in the recovery mode, I think.
You may view the screenshot given in #7 in the following link just to verify a problem I face in 2 versions. (May be a particular case.)
https:/
If the checking is over I shall close this question.
Revision history for this message
|
#5 |
1. If cou could give details of the version number, it would be possible to do some searching, but without it is almost impossible.
Just a shot in the dark, what is the output of
sudo updatedb
locate 2.6.3
(one of the last kernels for lucid was 2.6.32-74-generic)
2. For the duplicates, what is the output of
ls /usr/share/
Revision history for this message
|
#6 |
madhu@madhu-
[sudo] password for madhu:
Sorry, try again.
[sudo] password for madhu:
madhu@madhu-
madhu@madhu-
activity-
apport-gtk.desktop nautilus.desktop
apturl.desktop nautilus-
audacity.desktop nautilus-
bamf-2.index nm-applet.desktop
banshee-
banshee.desktop onboard.desktop
banshee-
bluetooth-
checkbox-
compiz.desktop org.gnome.
credentials-
defaults.list org.gnome.
deja-dup.desktop org.gnome.
deja-dup-
display-im6.desktop org.gnome.
display-
eog.desktop org.gnome.
evince.desktop org.gnome.
evince-
evolution-
file-roller.desktop reboot.desktop
firefox.desktop seahorse.desktop
gcr-prompter.
gcr-viewer.desktop shotwell-
gedit.desktop shutdown.desktop
ghb.desktop shutter.desktop
gimp.desktop signon-ui.desktop
gkbd-keyboard-
gksu.desktop software-
gnome-calculato
gnome-disk-
gnome-disk-
gnome-power-
gnome-session-
gnome-software-
gnome-system-
gnome-system-
gnome-system-
gnome-terminal.
gnome-user-
gnome-user-
goldendict.desktop unity-color-
gparted.desktop unity-control-
gucharmap.desktop unity-credentia
hplj1020.desktop unity-datetime-
ibus-setup.desktop unity-deja-
ibus-setup-
im-config.desktop unity-info-
kde4 unity-keyboard-
language-
libreoffice-
libreoffice-
libreoffice-
libreoffice-
libreoffice-
libreoffice-
libreoffice-
logout.desktop unity-universal
lxappearance.
mimeinfo.cache unity-wacom-
mono-runtime-
mono-runtime-
mount-archive.
nautilus-
nautilus-
madhu@madhu-
Revision history for this message
|
#8 |
You may verify this trial and error method
madhu@madhu-
/lib/firmware/
/lib/firmware/
/lib/firmware/
/usr/lib/
madhu@madhu-
madhu@madhu-
madhu@madhu-
madhu@madhu-
madhu@madhu-
madhu@madhu-
madhu@madhu-
madhu@madhu-
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
madhu@madhu-
Revision history for this message
|
#9 |
1. all the files listed by the locate commands are from current packages (libgphoto2-6, linux-firmware) and they are not obsolete kernel files.
2. And for the duplicate display of icons with "nautilus /usr/share/
Displaying that directory in nautilus is meaningless.
The *.desktop files in that directory are used by the desktop environment programs to show available applications.
Depending on the desktop environment that you use, different applications (or eventually the same applications but with different detail information) might be available.
If you inspect the files software-
This cares for displaying just one (and the right one) when using the Dash, or whatever mechanism the desktop environment offers for selecting applications.
As already told, displaying the whole directory in nautilus is meaningless, because you get a mix of applications (or application details) for different desktop environments.
Revision history for this message
|
#10 |
Thank you very much for clarifying my 2 doubts.
Revision history for this message
|
#11 |
Thanks Manfred Hampl, that solved my question.