I don't run on bare-metal but I figured I can run the same commands on my 16.04 and 18.04 VMs and let you see the results I get. (which are the same)
Ubuntu Server 16.04.4 LTS
Show running kernel version (which is current)
Code:
# uname -a
Linux srv-ubuntu1604 4.4.0-122-generic #146-Ubuntu SMP Mon Apr 23 15:34:04 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Show release name/version/codename
Code:
# lsb_release -a
Description: Ubuntu 16.04.4 LTS
Codename: xenial
Install apt-file which is not installed by default
Code:
# apt-get install apt-file
Update the apt-file cache
Search for the cciss.ko file specific to the currently-running kernel
Code:
# apt-file find cciss.ko | grep 4.4.0-122
linux-image-4.4.0-122-lowlatency: /lib/modules/4.4.0-122-lowlatency/kernel/drivers/block/cciss.ko
linux-image-extra-4.4.0-122-generic: /lib/modules/4.4.0-122-generic/kernel/drivers/block/cciss.ko
Ubuntu Server 18.04 LTS
NOTE: I used the "alternative" ISO image to install the server, not the "live" variation.
Show running kernel version (which is current)
Code:
# uname -a
Linux srv-ubuntu1804 4.15.0-20-generic #21-Ubuntu SMP Tue Apr 24 06:16:15 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Show release name/version/codename
Code:
# lsb_release -a
Description: Ubuntu 18.04 LTS
Codename: bionic
Install apt-file which is not installed by default
Code:
# apt-get install apt-file
Update the apt-file cache
Search for the cciss.ko file specific to the currently-running kernel
Code:
# apt-file find cciss.ko | grep 4.15.0-20
>> Nothing found <<
Search for the cciss.ko file for any kernel.
Code:
# apt-file find cciss.ko
>> Nothing found <<
Bookmarks