惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

量子位
博客园_首页
Google DeepMind News
Google DeepMind News
博客园 - Franky
The GitHub Blog
The GitHub Blog
GbyAI
GbyAI
有赞技术团队
有赞技术团队
Microsoft Azure Blog
Microsoft Azure Blog
G
Google Developers Blog
Recent Announcements
Recent Announcements
A
About on SuperTechFans
博客园 - 【当耐特】
博客园 - 三生石上(FineUI控件)
酷 壳 – CoolShell
酷 壳 – CoolShell
美团技术团队
罗磊的独立博客
IT之家
IT之家
博客园 - 聂微东
Stack Overflow Blog
Stack Overflow Blog
Jina AI
Jina AI
腾讯CDC
P
Proofpoint News Feed
Hugging Face - Blog
Hugging Face - Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com

Derek Seaman's Tech Blog

SmartWings Blinds Review: Matter over Thread Zebra Shades Aqara Camera Hub G350: World’s First Matter v1.5 Camera ESPHome: Micro-Air EasyStart Integration ESPHome: Introducing the Seeed Studio Xiao ESP32-C5 Seeed Studio ESP32 Showdown: C3 vs. C6 vs. S3 (ESPHome Edition) Home Assistant: Updating Aqara FP300 Zigbee Firmware How-To: Using my ESPHome Bluetooth IRK Capture Package Vibe Coding: My ESPHome Bluetooth IRK Capture Tool Home Assistant: Track Who’s in Each Room with ESPHome + Bermuda BLE 3-2-1-1 Go: Implementing Foolproof Backups Proxmox Backup Server (PBS) 4.0 Blog Series How To: Proxmox Backup Server 4 as a Synology VM How To: Backblaze B2 as a Proxmox Backup Server 4 S3 Datastore How To: Synology NFS for Proxmox Backup Server Datastore (2025) How To: Proxmox Backup Server 4 (VM) Installation How MVNOs Like US Mobile Can Save You Money on Your Cell Phone Bill Data Brokers Exposed: How to Opt Out and Secure Your Personal Data Digital Privacy Decoded: Simple Ways to Secure Your Information Part 2: Ruckus Unleashed (200.18+) Best Practices Guide Part 1: Ruckus Unleashed (200.18+) Best Practices Guide 3-2-1 Go: A Step-by-Step Guide to Implementing Foolproof Backups Geek Chic Eyewear: My Optometrist Saga, Eyewear Collection & More Geek Chic Eyewear: Optometry Tools, Eye Health and Insurance Geek Chic Eyewear: Understanding Lens Materials and Designs Essential Tips for a Stable Matter over Thread Network Aqara U200 Thread/Matter/Homekey Smart Lock Impressions Home Assistant: The Ultimate Light Automation Blueprints 6 GHz Wi-Fi: Are Your Devices ready for Standard Power? Demystifying Ruckus Home Wi-Fi: Getting Started Guide Mastering Home Wi-Fi: A Guide to Predictive RF Planning
Ubuntu Kernel Upgrades: The Easy Button
2023-05-05 · via Derek Seaman's Tech Blog

Sometimes when running Ubuntu you need to use a different kernel than comes with the default installation. Only upgrade the kernel if you have a specific reason, such as needing a new driver or CPU support. But if you are an advanced user and know exactly what kernel you need, the following procedure makes it easy.

1. SSH into the Ubuntu server that you want to upgrade the kernel. Run the following commands to download a script and change the permissions:

				
					wget https://raw.githubusercontent.com/pimlie/ubuntu-mainline-kernel.sh/master/ubuntu-mainline-kernel.sh
chmod +x ubuntu-mainline-kernel.sh
sudo mv ubuntu-mainline-kernel.sh /usr/local/bin/
				
			

2. If you want to find the latest version available, run the following command:

				
					ubuntu-mainline-kernel.sh -c


				
			

3. If you want to list all possible kernel options, run the command below:

				
					ubuntu-mainline-kernel.sh -r
				
			

4. To install a specific kernel version use the following command but substitute the kernel version you want to use. 

				
					sudo ubuntu-mainline-kernel.sh -i v5.19.17
				
			

5. After the install is complete, reboot.

				
					sudo reboot
				
			

6. SSH back into your VM and run the following command to verify you are running the kernel you selected:

				
					uname -a
				
			

Summary

Sometimes advanced users need to deviate from the default kernel that comes with Ubuntu. Maybe you need a new driver, or better CPU support for the latest generation of processors. The procedure I outlined above makes it quick and easy. If your server is a VM, I would suggest taking a snapshot or backup prior to the upgrade incase something goes wrong. 

Related Posts

SmartWings Blinds Review: Matter over Thread Zebra Shades

Aqara Camera Hub G350: World’s First Matter v1.5 Camera

ESPHome: Micro-Air EasyStart Integration

ESPHome: Introducing the Seeed Studio Xiao ESP32-C5