我购买了一块 SSD,并有一个装有 Ubuntu 和 Windows 10 的 HDD,将 Windows 操作系统分区移动到 SSD,然后将其从 HDD 中删除;执行此操作后,即使禁用 CSM 启动后,UEFI 也看不到 HDD:
- 我不知道出于什么原因我认为 GRUB2 坏了,但我按照这个成功修复了它教程;我必须另外安装 EFI 分区,因为它位于单独的分区上,但这没有帮助。
/usr/sbin/blkid
从 Linux Live USB执行返回:(LiveUSB:sda
| SSDsdb
:)/dev/sda1: LABEL="XUBUNTU 20_" UUID="F252-C0D0" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="0aa71107-01" /dev/loop0: TYPE="squashfs" /dev/sdb1: UUID="D8E4-5A1E" BLOCK_SIZE="512" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="b93a3217-731b-489f-a68e-283e2cc10bff" /dev/sdb2: PARTLABEL="Microsoft reserved partition" PARTUUID="6c8431e8-8f2a-4f1f-910e-f179507f9d7c" /dev/sdb3: BLOCK_SIZE="512" UUID="EEEEE76FEEE72E91" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="88088879-98ad-4de2-9c75-6cedfa4116bf" /dev/sdb4: BLOCK_SIZE="512" UUID="38A6EC92A6EC5244" TYPE="ntfs" PARTUUID="9e8294e6-30fa-4b48-b841-1a39ba91a0b1" /dev/sdc1: UUID="7E31-57E6" BLOCK_SIZE="512" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="625dc62c-b40a-498e-aa67-31ed4da3edfd" /dev/sdc2: UUID="eeeb811d-b8b4-4b72-a3f3-f49d02e10fea" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="62f795d0-ba0e-4be1-b74b-cf85d5473538"
- 我可以将 Ubuntu [
/dev/sdc2
] 和 EFI 分区 [/dev/sdc1
] 挂载在/mnt
:lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT loop0 7:0 0 1.5G 1 loop /rofs sda 8:0 1 7.2G 0 disk └─sda1 8:1 1 7.2G 0 part /cdrom sdb 8:16 0 465.8G 0 disk ├─sdb1 8:17 0 100M 0 part ├─sdb2 8:18 0 16M 0 part ├─sdb3 8:19 0 465.2G 0 part └─sdb4 8:20 0 499M 0 part sdc 8:32 0 931.5G 0 disk ├─sdc1 8:33 0 512M 0 part /mnt/boot/efi └─sdc2 8:34 0 634.9G 0 part /mnt
ls /mnt bin boot cdrom dev etc home lib lib64 lost+found media mnt opt proc root run sbin srv swapfile sys tmp usr var ls /mnt/boot config-5.4.0-26-generic efi grub initrd.img initrd.img-5.4.0-26-generic initrd.img.old System.map-5.4.0-26-generic vmlinuz vmlinuz-5.4.0-26-generic ls /mnt/boot/efi/EFI/ BOOT Microsoft ubuntu ls /mnt/boot/efi/EFI/ubuntu/ BOOTX64.CSV grub.cfg grubx64.efi mmx64.efi shimx64.efi
我如何找到问题所在?(我可以通过在 上重新安装 Ubuntu 轻松解决问题/dev/sdc
,但我想知道问题是什么。)