ubuntu server 26.04の評価利用を始めました
1.概要
今後、仮想環境はUbuntu Serverを利用予定です。ubuntu 26.04のリリース日が2026-04-23アナウンスされているので、daily build版のubuntu server 26.04 LTSをDownloadして、KVM仮想環境で評価を始めました。ubuntu server 24.04と変わらない感触と感じたのですが、ubuntu server 24.04の調査不足による認識誤りかもしれません。まず、分かった範囲を記述します。
2.詳細
HW環境は、core-i3, memory 16GB, SSD 256GBです。
SW環境は、LinuxMint 22.3、kernel 6.17.0-20-generic、KVMです。
仮想マシンは、1core, Memory 4GB, disk 30GBです。
iso imageは、resolute-live-server-amd64.isoを利用しました。
Downloadしたisoイメージファイルは2.4GB。インストールを開始すると、最初にインストーラの更新が実行されました。まだ、Daily Build版のisoを利用するためだと思います。minimized構成を選択した結果、ディスク使用量は6.5GB, Memory使用量は428MBでした。ubuntu server 26.04をminimizedで導入したのですが、snapはインストールされていました。インストーラは24.04と差異はない感じです。今、気がついたのですが、何と、kernel-7.0です。
インストール作業で気になったの点が、パーティション構成がGPTになったことです。再度、導入作業を実施して、MBRの選択肢はないことを確認しました。ubuntu server 24.04を再度調査が必要です。snapの有無とGPTパーティションに関して、前回調査が不十分であった気がしてきました。
そこで、ubuntu server 24.04.3をKVM環境に導入試験をしました。パーティションはGPT形式でした。KVM環境はuefiBIOSでなく、RegacyBIOSであるので1MBのbios用のbootパーティションがありました。また、snapもインストールされていました。調査不足による認識誤りでした。
気になる点があります。KVM環境へubuntu server 24.04を導入した時、installerが停止する問題が発生。テキストのpopアップが表示され、errorを開発に送付しました。installerのupdate適用が可能との記載があり、updateをして、最初からinstallをやり直しました。
この問題は、networkをLinuxMint側で遮断して、更新処理を止めることで回避できます。ISOファイルからの導入となりますが、導入時間を大幅に短縮することができるので評価段階では良い気がします。
3.所見
リリースされたばかりで、何とも言えない状況です。ubuntu serverはdocker環境で利用する頻度が高いので評価します。今後、継続利用する中で、問題点や気がついたことを追記する予定です。
4.追加
(1) ubuntu server 26.04 LTSの導入直後にsnapをpurgeする方法
ubuntu server 26.04をaptで操作する予定のためsnapをpurgeします。手順を残すために、ubuntu server 26.04にsshでloginして作業をしました。consoleで作業されても問題ありません。
作業手順は以下の通りです。
(a) snapコマンドで状態を確認する
$ snap
The snap command lets you install, configure, refresh and remove snaps.
Snaps are packages that work across many different Linux distributions,
enabling secure delivery and operation of the latest apps and utilities.
Usage: snap <command> [<options>...]
Commonly used commands can be classified as follows:
Basics: find, info, install, remove, list, components
...more: refresh, revert, switch, disable, enable, create-cohort
History: changes, tasks, abort, watch
Daemons: services, start, stop, restart, logs
Permissions: connections, interface, connect, disconnect
Configuration: get, set, unset, wait
App Aliases: alias, aliases, unalias, prefer
Account: login, logout, whoami
Snapshots: saved, save, check-snapshot, restore, forget
Issue reporting: report-issue
Device: model, remodel, reboot, recovery
Quota Groups: set-quota, remove-quota, quotas, quota
Validation Sets: validate
... Other: warnings, okay, known, ack, version
Development: download, pack, run, try, sign
For more information about a command, run 'snap help <command>'.
For a short summary of all commands, run 'snap help --all'.
(b) snap listコマンドで導入されているパッケージを確認する。何もありません、snap本体のみ存在
$ snap list
No snaps are installed yet. Try 'snap install hello-world'.
(c) aptコマンドでsnapをpurgeする
$ sudo apt purge snapd
[sudo: authenticate] Password:
REMOVING:
snapd* ubuntu-server-minimal*
Summary:
Upgrading: 0, Installing: 0, Removing: 2, Not Upgrading: 0
Freed space: 147 MB
Continue? [Y/n] Y
(Reading database ... 85143 files and directories currently installed.)
Removing ubuntu-server-minimal (1.570) ...
Removing snapd (2.74.1+ubuntu26.04.3) ...
Stopping 'snapd.service', but its triggering units are still active:
snapd.socket
Processing triggers for dbus (1.16.2-2ubuntu4) ...
(Reading database ... 85042 files and directories currently installed.)
Purging configuration files for snapd (2.74.1+ubuntu26.04.3) ...
rmdir: failed to remove '/etc/systemd/system/snapd.mounts.target.wants': No such file or directory
Discarding preserved snap namespaces
Final directory cleanup
Removing extra snap-confine apparmor rules
Removing snapd cache
Removing snapd state
(d) snapが利用したdirectoryを削除する
$ sudo rm -rf /var/cache/snapd
$ ls /var/cache/snapd
ls: cannot access '/var/cache/snapd': No such file or directory
(e) snapが再導入されないようにhold設定する
$ sudo apt-mark hold snapd
snapd set on hold.
(f) snapコマンドで状態を確認する
$ snap
-bash: /usr/bin/snap: No such file or directory
(2) ubuntu 26.04 LTS リリース、DailyBuild版との差異検証しました
(a) リリース版をdownload、serverが少しサイズが大きくなっています
リリース版のISOファイル
ubuntu-26.04-live-server-amd64.iso 2.9 GB
DailyBuild版のISOファイル
resolute-live-server-amd64.iso 2.4 GB
(b) 仮想環境へserver版の導入は約5分でした
minimizedで導入しました。仮想マシンは、core 2、Memory 4GB、ストレージ 10GBです
コメント
コメントを投稿