Linux version prompt before login wrong version
I have upgraded from version 14.2 because LibreOffice asking for version 1.59.0 of boost libraries while my version is 1.63.0. Kernel was upgraded to version 4.9.30. Rebooting I am still receiving messages that I am using Linux 4.4.14. I simply don't know what is going on. Can anyone enlighten me?
Seems like original version 4.4.14 was left in /boot and name only was changed to 4.9.30 as all kernel structures are set as version 4.4.14 |
you have several different kernel versions to use, usually the default one is used. You may need to specify the 4.9.30 as default or you need to choose what to boot (do you have grub installed?)
|
In /boot there is only linux-4.9.30 meaning System.map, config and vmlinuz for both generic and huge have 4.9.30 apended where previously 4.4.14 was. There are none other versions there. vmlinuz is link to vmlinuz-huge-4.9.30. Upgrade actualy removes previous version.
That is why I don't understand why uname -r prints 4.4.14, even /usr/src contain linux-4.9.30 |
what is in /boot/grub/grub.cfg ?
|
@pan64, Slackware doesn't use grub by default.
Did you re-run lilo after the upgrade after making sure that lilo.conf matched the new kernel? Did you re-boot as well? |
Quote:
|
mick1945 --
I am Too Slow again :) Please post the output of: ls -la /boot Best results if you post the listing between [code] and [/code] tags ... How did you install 4.9.30 ( installpkg ? upgradepkg ? or one of the package managers ? ) Do you run lilo, elilo or grub or something else ? -- kjh |
Quote:
[code] bash-4.4$ ls -la /boot total 36293 drwxr-xr-x 5 root root 4096 Jun 7 10:27 . drwxr-xr-x 23 root root 4096 Jun 7 17:32 .. lrwxrwxrwx 1 root root 37 May 11 05:12 README.initrd -> /usr/doc/mkinitrd-1.4.9/README.initrd lrwxrwxrwx 1 root root 22 Jun 7 10:27 System.map -> System.map-huge-4.9.30 -rw-r--r-- 1 root root 2916435 May 26 21:55 System.map-generic-4.9.30 -rw-r--r-- 1 root root 4246271 May 26 22:05 System.map-huge-4.9.30 -rw-r--r-- 1 root root 137 Jan 17 21:27 boot_message.txt lrwxrwxrwx 1 root root 18 Jun 7 10:27 config -> config-huge-4.9.30 -rw-r--r-- 1 root root 169175 May 26 21:55 config-generic-4.9.30 -rw-r--r-- 1 root root 169175 May 26 22:05 config-huge-4.9.30 drwxr-xr-x 3 root root 1024 Jan 1 1970 efi -rwxr-xr-x 1 root root 214120 Mar 29 2013 elilo-ia32.efi -rwxr-xr-x 1 root root 239720 Apr 1 2016 elilo-x86_64.efi drwxr-xr-x 2 root root 4096 Apr 26 20:43 grub drwxr-xr-x 14 root root 4096 May 14 15:15 initrd-tree -rw-r--r-- 1 root root 8181163 May 14 15:15 initrd.gz lrwxrwxrwx 1 root root 19 Jun 7 10:27 vmlinuz -> vmlinuz-huge-4.9.30 lrwxrwxrwx 1 root root 22 Jun 7 10:27 vmlinuz-generic -> vmlinuz-generic-4.9.30 -rw-r--r-- 1 root root 4856096 May 26 21:55 vmlinuz-generic-4.9.30 lrwxrwxrwx 1 root root 19 Jun 7 10:27 vmlinuz-huge -> vmlinuz-huge-4.9.30 -rw-r--r-- 1 root root 8194336 May 26 22:05 vmlinuz-huge-4.9.30 bash-4.4$ bash-4.4$uname -r 4.4.14 bash-4.4$ [/code] |
Quote:
Type as root: Code:
lilo -t -v Code:
lilo Code:
cat /etc/lilo.conf |
Lilo operates by noting the location of a file on the harddrive. This is the physical address on the harddrive, not the location within a folder structure. When you delete a file, it only removes references to that file, not the file itself (unless you run some form of secure delete, but that's another topic). So, even though the file has been "deleted", the file still exists on the harddrive, and that is what lilo is pointing to and why you're booting that kernel.
(Side note: These "deleted" files stay on the drive until that "empty" space is overwritten by a new file, so this would only work until that space is overwritten, then you'd get a kernel panic when you try and boot.) When you install or upgrade a new kernel, you'll need to ensure your /etc/lilo.conf is up-to-date and then you can run lilo to install the updated bootloader information pointing to the new kernel location. You can also run lilo -t to test the configuration before you actually install the updated bootloader information. |
Quote:
|
Quote:
|
Quote:
:D |
On installing Slackware, I have chosen what is called
"Slackware Linux custom USB boot stick". I have empty /boot/grub directory, no /etc/lilo.conf and no lilo. After length of time I have been using computer, simply switching it on and booting elilo.conf was taking care of it until upgrade. Didn't even remember it. Real culprit was vmlinuz on USB stick which was from original installation and version 4.4.14 which remained. Replacing it with version 4.9.30 solved the problem. |
You could also run eliloconfig and then you shouldn't need an USB boot stick.
|
All times are GMT -5. The time now is 11:45 PM. |