Kubuntu 22.10——没有 grub 菜单

Kubuntu 22.10——没有 grub 菜单

我在一台旧的 Acer 笔记本电脑和一台无名台式机上安装了 Kubuntu 22.10。启动时都没有显示 grub 菜单,所以我无法进入安全模式或命令 shell 来解决显示问题。我运行了 update-grub2,它找到了启动项(这是台式机,但笔记本电脑是一样的):

sudo update-grub2
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.19.0-31-generic
Found initrd image: /boot/initrd.img-5.19.0-31-generic
Found linux image: /boot/vmlinuz-5.19.0-21-generic
Found initrd image: /boot/initrd.img-5.19.0-21-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
done

我的桌面上有 LG 1360x728 显示器和 Dell 1280x1024 显示器,并且启动失败,显示配置出现错误。在两个屏幕上。我设法在安全图形模式下运行安装程序,但当我重新启动时,出现了显示配置错误。我有一个解决方法,即拔下 LG 的电源,启动到 1280x1024,重新插入 LG 并运行 xrandr 以创建 1360x728 分辨率,将其添加到显示器并激活它。我认为从 nvidia 网站安装驱动程序可能是一个答案,但我无法顺利完成安装。

我尝试添加一个自动启动 shell 脚本来执行 xrandr,但启动似乎被阻止了

附加 hwinfo 输出和系统信息:

hwinfo --gfxcard
09: PCI 200.0: 0300 VGA compatible controller (VGA)             
  [Created at pci.386]
  Unique ID: B35A.uQZs1o+xM28
  Parent ID: H0_h.4N97gW8nvQ8
  SysFS ID: /devices/pci0000:00/0000:00:06.0/0000:02:00.0
  SysFS BusID: 0000:02:00.0
  Hardware Class: graphics card
  Model: "nVidia GT218 [NVS 300]"
  Vendor: pci 0x10de "nVidia Corporation"
  Device: pci 0x10d8 "GT218 [NVS 300]"
  SubVendor: pci 0x10de "nVidia Corporation"
  SubDevice: pci 0x0863 
  Revision: 0xa2
  Driver: "nouveau"
  Driver Modules: "nouveau"
  Memory Range: 0xfd000000-0xfdffffff (rw,non-prefetchable)
  Memory Range: 0xf8000000-0xfbffffff (ro,non-prefetchable)
  Memory Range: 0xf6000000-0xf7ffffff (ro,non-prefetchable)
  I/O Ports: 0xe800-0xe87f (rw)
  Memory Range: 0x000c0000-0x000dffff (rw,non-prefetchable,disabled)
  IRQ: 27 (782611 events)
  Module Alias: "pci:v000010DEd000010D8sv000010DEsd00000863bc03sc00i00"
  Driver Info #0:
    Driver Status: nvidiafb is active
    Driver Activation Cmd: "modprobe nvidiafb"
  Driver Info #1:
    Driver Status: nouveau is active
    Driver Activation Cmd: "modprobe nouveau"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #21 (PCI bridge)

Primary display adapter: #9

我正打算淘汰 LG 并寻找新的第二台显示器,除非您有什么建议......

相关内容