CentOS 8.3 のインストーラ(CentOS-8.3.2011-x86_64-dvd1.iso)を使ってインストール後、初回起動時にOS選択画面で「Stream」の表示だった。
ログイン後、バージョンを確認してみる。
# cat /etc/centos-release CentOS Linux release 8.3.2011
余談だが、似たような以下のファイルはシンボリックリンクになっている。
# ll /etc/system-release lrwxrwxrwx. 1 root root 14 11月 11 00:49 /etc/system-release -> centos-release # ll /etc/redhat-release lrwxrwxrwx. 1 root root 14 11月 11 00:49 /etc/redhat-release -> centos-release
本題に戻って、OS起動時の選択肢を確認するため、関連ファイルを見てみる。
OS起動時の選択肢に出てくる名称がどのファイルに記載されているか分からなかったので、キーワードで探す。
# grep -lri 'CentOS Stream' /boot /boot/loader/entries/0687c0d271e4452eb3811192026f09a2-4.18.0-240.el8.x86_64.conf /boot/loader/entries/0687c0d271e4452eb3811192026f09a2-0-rescue.conf
これらの中身を確認してみると、
# cat /boot/loader/entries/0687c0d271e4452eb3811192026f09a2-4.18.0-240.el8.x86_64.conf title CentOS Stream (4.18.0-240.el8.x86_64) 8 version 4.18.0-240.el8.x86_64 linux /vmlinuz-4.18.0-240.el8.x86_64 initrd /initramfs-4.18.0-240.el8.x86_64.img $tuned_initrd options $kernelopts $tuned_params id centos-20200925195706-4.18.0-240.el8.x86_64 grub_users $grub_users grub_arg --unrestricted grub_class kernel
確かに「CentOS Stream」とあり、OSは 8.3 なのに 起動時の選択画面は Stream となっている。
この後、dnf upgrade を実行してインストールされたカーネルでは、
# cat /boot/loader/entries/0687c0d271e4452eb3811192026f09a2-4.18.0-240.15.1.el8_3.x86_64.conf title CentOS Linux (4.18.0-240.15.1.el8_3.x86_64) 8 ・・・略
のようになっている。
8.3 のインストーラでインストールされたカーネルだけ、Stream と表示するようになっているのかもしれない。