我是在VirtualBox 7.0里运行的Redhat 9.4,之前速度一直很好,为了部署DeepSeek,执行了升级任务,结果升级到了9.5版本,这个版本更新幅度比较大,可是重新启动后,启动速度太慢了,无法忍受,之后切换回原来的旧版9.4.
[root@192 grub2]# grubby --info=ALL
index=0
kernel="/boot/vmlinuz-5.14.0-503.22.1.el9_5.x86_64"
args="ro crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M resume=/dev/mapper/rhel-swap rd.lvm.lv=rhel/root rd.lvm.lv=rhel/swap"
root="/dev/mapper/rhel-root"
initrd="/boot/initramfs-5.14.0-503.22.1.el9_5.x86_64.img"
title="Red Hat Enterprise Linux (5.14.0-503.22.1.el9_5.x86_64) 9.5 (Plow)"
id="85cc661787b1453594c40afc4914bba2-5.14.0-503.22.1.el9_5.x86_64"
index=1
kernel="/boot/vmlinuz-5.14.0-427.35.1.el9_4.x86_64"
args="ro crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M resume=/dev/mapper/rhel-swap rd.lvm.lv=rhel/root rd.lvm.lv=rhel/swap"
root="/dev/mapper/rhel-root"
initrd="/boot/initramfs-5.14.0-427.35.1.el9_4.x86_64.img"
title="Red Hat Enterprise Linux (5.14.0-427.35.1.el9_4.x86_64) 9.4 (Plow)"
id="85cc661787b1453594c40afc4914bba2-5.14.0-427.35.1.el9_4.x86_64"
index=2
kernel="/boot/vmlinuz-0-rescue-85cc661787b1453594c40afc4914bba2"
args="ro crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M resume=/dev/mapper/rhel-swap rd.lvm.lv=rhel/root rd.lvm.lv=rhel/swap"
root="/dev/mapper/rhel-root"
initrd="/boot/initramfs-0-rescue-85cc661787b1453594c40afc4914bba2.img"
title="Red Hat Enterprise Linux (0-rescue-85cc661787b1453594c40afc4914bba2) 9.4 (Plow)"
id="85cc661787b1453594c40afc4914bba2-0-rescue"
[root@192 grub2]# grubby --set-default /boot/vmlinuz-5.14.0-427.35.1.el9_4.x86_64
The default is /boot/loader/entries/85cc661787b1453594c40afc4914bba2-5.14.0-427.35.1.el9_4.x86_64.conf with index 1 and kernel /boot/vmlinuz-5.14.0-427.35.1.el9_4.x86_64