ubuntu 20.04 内核从 10.15 降级到 10.13 在 update-grub 上失败

ubuntu 20.04 内核从 10.15 降级到 10.13 在 update-grub 上失败

团队,我需要降级我的内核,但我卡在这一步。有什么提示吗?请观察我的系统详细信息以及我做了什么以及卡在了哪里sudo: upgrade-grub: command not found

我希望有Ubuntu, with Linux 5.13.0-52-generic

user@user-DT:~$ cat /usr/sbin/update-grub
#!/bin/sh
set -e
exec grub-mkconfig -o /boot/grub/grub.cfg "$@"

user@user-DT:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.5 LTS
Release:    20.04
Codename:   focal

user@user-DT:~$ uname -a
Linux user-DT 5.15.0-72-generic #79~20.04.1-Ubuntu SMP Thu Apr 20 22:12:07 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

user@user-DT:~$ sudo grep 'menuentry \|submenu ' /boot/grub/grub.cfg | cut -f2 -d "'"
Ubuntu
Advanced options for Ubuntu
Ubuntu, with Linux 5.15.0-72-generic
Ubuntu, with Linux 5.15.0-72-generic (recovery mode)
Ubuntu, with Linux 5.15.0-46-generic
Ubuntu, with Linux 5.15.0-46-generic (recovery mode)
Ubuntu, with Linux 5.13.0-52-generic
Ubuntu, with Linux 5.13.0-52-generic (recovery mode)
UEFI Firmware Settings

user@user-DT:~$ cat /etc/default/grub | grep DEFA
GRUB_DEFAULT='Advanced options for Ubuntu>Ubuntu, with Linux 5.13.0-52-generic'
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
user@user-DT:~$ sudo upgrade-grub
sudo: upgrade-grub: command not found

相关内容