Debian or Ubuntu kernel update or change- current kernel

The currently available Linux kernel has the version: 6.6.4 (found: 2023-12-04). 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-12-04 von Bernhard | Übersetzung Deutsch |🔔 | Comments:0

Debian / Ubuntu / OMV: HD Idle: HDD Standby | Linux | Linux folder used space - Bash TreeSize

Top articles in this section

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.

Linux folder used space - Bash TreeSize

To find out which folder needs how much space, the command “du” can be used on Debian. For an even better overview there is the commandline tool ncdu, which can analyze all folders similar to TreeSize.

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.

Questions / Comments

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