0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Ubuntu カーネルのビルド

Last updated at Posted at 2022-11-08

カーネルをビルドする。
(参考)
https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel

(できれば)Docker をインストールする(参考参照)。

新しいカーネルを削除する。

$ sudo apt-get --purge remove linux-image-unsigned-xxxx
linux-modules, linux-modules-extra も削除。
$ sudo update-grub2
$ sudo reboot

ビルドしたカーネルをインストールする。

$ sudo dpkg -i linux-modules-xxx.deb
$ sudo dpkg -i linux-image-unsigned-xxx.deb
$ sudo dpkg -i linux-modules-extra-xxx.deb

再起動して、新しいカーネルになっているのを確認する。

(参考)
https://qiita.com/iganari/items/fe4889943f22fd63692a
https://weblabo.oscasierra.net/docker-centos7/

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?