無人值守升級將 linux-azure 內核變更為通用內核

無人值守升級將 linux-azure 內核變更為通用內核

我在執行 hypervs 的 Ubuntu 20.04 Focal Fossa VMS 上安裝了 linux-azure 核心。

問題是我還配置了無人值守升級,我注意到它將核心升級到 linux-generic,而不是更新已安裝的 linux-azure。所以我最終會在下次重新啟動時得到一台具有 linux-generic 的機器:

reboot   system boot  5.4.0-37-generic Wed Jun 24 13:08   still running
reboot   system boot  5.4.0-37-generic Wed Jun 24 13:07 - 13:08  (00:00)
reboot   system boot  5.4.0-37-generic Wed Jun 24 13:03 - 13:07  (00:03)
reboot   system boot  5.4.0-37-generic Wed Jun 24 11:52 - 12:18  (00:26)
reboot   system boot  5.4.0-1016-azure Wed Jun 24 11:46 - 11:52  (00:05)
reboot   system boot  5.4.0-1016-azure Wed Jun 24 08:56 - 11:46  (02:50)
reboot   system boot  5.4.0-1016-azure Wed Jun 24 08:50 - 08:53  (00:03)
reboot   system boot  5.4.0-37-generic Wed Jun 24 08:44 - 08:50  (00:05)
reboot   system boot  5.4.0-37-generic Wed Jun 24 08:40 - 08:44  (00:03)
reboot   system boot  5.4.0-37-generic Tue Jun 23 18:18 - 08:40  (14:21)

關於為什麼會發生這種情況以及如何解決問題的任何線索?

答案1

您需要安裝linux-azure元包才能取得核心更新azure

你有linux-image-generic並且linux-headers-generic可以拉generic內核。

系統預設使用編號最大的核心啟動。如果您想使用azure核心自動啟動,則必須刪除generic核心。

相關內容