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

Дусал нэвтэрхий толь-с
(Хуудас үүсгэв: "<pre> # 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" #...")
 
9-р мөр: 9-р мөр:
 
apt install linux-headers-5.19.0-50-generic
 
apt install linux-headers-5.19.0-50-generic
 
apt install linux-modules-extra-5.19.0-50-generic
 
apt install linux-modules-extra-5.19.0-50-generic
 +
</pre>
 +
 +
Set by default:
 +
 +
<pre>
 +
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.15.0-106-generic"
 +
 +
sudo vim /etc/default/grub
 +
 +
sudo update-grub
 
</pre>
 
</pre>
  
 
[[Ангилал:Ubuntu]]
 
[[Ангилал:Ubuntu]]

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.15.0-106-generic"

sudo vim /etc/default/grub

sudo update-grub