Debian or Ubuntu kernel update or change- current kernel

The currently available Linux kernel has the version: 6.2.8 (found: 2023-03-23). Source: The Linux distributions, as an example Debian or Ubuntu used new kernel versions only with some delay, accordingly the used kernel versions are usually somewhat older. Which kernel is active on a Linux system can be read out with the following command:

Display the currently used kernel

To do this, enter the following command in the terminal:

uname -a

show available kernel versions

On Debian or Ubuntu, available kernel versions can be displayed as follows:

sudo apt-get update
sudo apt-cache search linux-image

Installing a newer kernel bersion

To install a newer kernel version, the following command can be used:

sudo apt-get install linux-image-4.17.0-0.bpo.1-amd64

At this point it should be mentioned that there is typically no reason to change the kernel unless the new kernel solves a specific hardware problem.

Default kernel for booting

If multiple kernel versions are installed, they can be selected at boot time.

Responsible for this is the bootloader. The bootloader configuration can be customized in the /boot/grub/grub.cfg file.

sudo nano /boot/grub/grub.cfg

By default, the first "menuentry" block is started. By changing the order of the "menuentry", a specific kernel version can be placed at the top of the list and thus started as default.

The boot parameters can be customized within the menuentry block:

linux /boot/vmlinuz-4.15.0-0.bpo.2-amd64 root=UUID=???xx-???x.. ro quiet splash i915.enable_psr=0

positive Bewertung({{pro_count}})
Rate Post:
{{percentage}} % positive
negative Bewertung({{con_count}})

THANK YOU for your review!

Updated: 2023-03-23 von Bernhard | Übersetzung Deutsch |🔔

Top articles in this section

ZFS vs BTRFS - file system | deduplication and snapshots

In my search for file system features like snapshots or deduplication, I ended up with the file systems ZFS and later BTRFS. In the Linux environment, the ext4 file system is currently a quasi-standard, but file systems like ZFS and BTRFS offer considerable added value.

Fan control Linux Debian: Fancontrol

After I installed a fan in my NAS, it always ran at top speed. In the BIOS I could set the speed, but the automatic mode did not work properly. Using the service fancontrol the speed of the fan can be linked to any sensor and any threshold and controlled automatically.

Install Ubuntu Server and Docker Snap vs. APT

My goal was to use Docker on a homebuilt NAS and later on a Mini-PC as a Container-Server. The operating system I used was the server version of Ubuntu, which is available in the form of an installation media on the official Ubuntu site: The current Ubuntu version is: 22.10 (found: 2022-10-20)

Questions / Comments

By continuing to browse the site, you agree to our use of cookies. More Details