Ubuntu 22.10,未知的内核命令行参数

Ubuntu 22.10,未知的内核命令行参数

Ubuntu 22.10 桌面

在 /var/log/syslog 中看到这些消息...

Mar  6 09:09:09 al-Inspiron-7700-AIO kernel: [    0.062877] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.19.0-35-generic root=UUID=f0db2226-e28d-46dd-9b5a-457c87987ed2 ro quiet splash systemd.restore_state=0 acpi_backlight=vendor acpi_osi=Linux vt.handoff=7

Mar  6 09:09:09 al-Inspiron-7700-AIO kernel: [    0.062945] Unknown kernel command line parameters "splash BOOT_IMAGE=/boot/vmlinuz-5.19.0-35-generic", will be passed to user space.

这是我的 /etc/default/grub...

    GRUB_DEFAULT=saved
    GRUB_SAVEDEFAULT=true
    GRUB_TIMEOUT_STYLE=hidden
    GRUB_TIMEOUT=10
    GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
    
    GRUB_CMDLINE_LINUX_DEFAULT="quiet splash systemd.restore_state=0 acpi_backlight=
    vendor acpi_osi=Linux"
    GRUB_CMDLINE_LINUX=""

我甚至尝试注释掉最后两行,但仍然收到错误消息。

这是在 /boot/grub/grub.cfg 中...

        linux   /boot/vmlinuz-5.19.0-35-generic root=UUID=f0db2226-e28d-46dd-9b5a-457c87987ed2 ro  quiet splash systemd.restore_state=0 acpi_backlight=vendor acpi_osi=Linux $vt_handoff
        linux   /boot/vmlinuz-5.19.0-35-generic root=UUID=f0db2226-e28d-46dd-9b5a-457c87987ed2 ro recovery nomodeset dis_ucode_ldr

知道这个错误是从哪里来的吗?

相关内容