在 NVME 磁盘上安装了 Ubuntu 22.04.1,但 SSD 磁盘上的先前 Ubuntu 无法启动

在 NVME 磁盘上安装了 Ubuntu 22.04.1,但 SSD 磁盘上的先前 Ubuntu 无法启动

之前的安装无法启动到桌面。最新安装是从 USB 棒进行的,使用 BIOS 中的启动选项,为 USB 棒指定 UEFI

两个 Ubuntu 安装都是 Kubuntu 22.04.1。

update-grub的结果:

sudo update-grub
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.15.0-56-generic
Found initrd image: /boot/initrd.img-5.15.0-56-generic
Found linux image: /boot/vmlinuz-5.15.0-43-generic
Found initrd image: /boot/initrd.img-5.15.0-43-generic
Memtest86+ needs a 16-bit boot, that is not available on EFI, exiting
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Found Ubuntu 22.04.1 LTS (22.04) on /dev/sda2
Found Debian GNU/Linux stretch/sid on /dev/sdc2
Adding boot menu entry for UEFI Firmware Settings ...
done

答案1

其中/etc/有一个名为 的文件fstab。它包含 SDA1 的错误 UUID:UUID=9CA9-808F。该 UUID 与计算机中的任何磁盘都不匹配。将其替换为 Gnome Disk 实用程序 ( 82DB-C613) 报告的 SDA1 UUID 后,计算机可以像安装 Ubuntu 22.04.1 之前一样正常启动。启动修复无法解决问题。

想知道在没有该 ID 的磁盘的情况下如何UUID=9CA9-808F进入文件会很有趣。Ubuntu 安装过程中有错误吗?fstab

相关内容