"Ubuntu install custom kernel"-ны өөр хувилбарууд

Дусал нэвтэрхий толь-с
 
20-р мөр: 20-р мөр:
  
 
# Make like below:
 
# Make like below:
GRUB_DEFAULT="Advanced options for Ubuntu>Ubuntu, with Linux 5.15.0-106-generic"
+
GRUB_DEFAULT="Advanced options for Ubuntu>Ubuntu, with Linux 5.19.0-50-generic"
  
 
sudo vim /etc/default/grub
 
sudo vim /etc/default/grub

20:47, 10 Тавдугаар сар 2024-ий байдлаарх одоогийн засвар

# search
apt-cache search linux-image- | grep "5.19.0"
apt-cache search linux-headers- | grep "5.19.0"
apt-cache search linux-modules-extra- | grep "5.19.0"

# install
apt install linux-image-5.19.0-50-generic
apt install linux-headers-5.19.0-50-generic
apt install linux-modules-extra-5.19.0-50-generic

Set by default:

sudo cp /etc/default/grub /etc/default/grub.bak

# Find menu item:
sudo grub-mkconfig | less

# Make like below:
GRUB_DEFAULT="Advanced options for Ubuntu>Ubuntu, with Linux 5.19.0-50-generic"

sudo vim /etc/default/grub

sudo update-grub