安装ubuntu问题及grub救援错误

安装ubuntu问题及grub救援错误

当我尝试通过可启动 U 盘安装 Ubuntu 时,显示以下错误:

The attempt to mount a file system with type vfat in SCSI1 (0,0,0), partition#2 (sda) at /boot/efi failed.

安装完成后,当我启动时,它会进入 grub 救援屏幕。

我该如何调试/修复这个问题?

更新输出

ubuntu@ubuntu:~$ sudo parted -l
Model: ATA HGST HTS545025A7 (scsi)
Disk /dev/sda: 250GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags: 

Number  Start   End    Size    File system     Name                  Flags
 1      1049kB  538MB  537MB   ext4            EFI System Partition  boot, esp
 2      538MB   248GB  248GB   ext4
 3      248GB   250GB  1579MB  linux-swap(v1)


Model: Sony Storage Media (scsi)
Disk /dev/sdb: 3931MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size    Type     File system  Flags
 1      28.7kB  3931MB  3931MB  primary  fat32        boot

命令 sudo parted -l 的新更新

pc@pc-HP-241-G1:~$ sudo parted -l
Model: ATA HGST HTS545025A7 (scsi)
Disk /dev/sda: 250GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size    Type      File system     Flags
 1      1049kB  2000MB  1999MB  primary   linux-swap(v1)  boot
 2      2001MB  250GB   248GB   extended
 5      2001MB  2200MB  199MB   logical   ext4
 6      2201MB  108GB   106GB   logical   ext4
 7      108GB   250GB   142GB   logical   ext4

更新命令 sudo blkid /dev/sda1

pc@pc-HP-241-G1:~$ sudo blkid /dev/sda1
[sudo] password for pc: 
/dev/sda1: UUID="40678a83-42f4-4863-8b4b-ebafce9ab0db" TYPE="swap" PARTUUID="e79cf3e7-01"

在此基础上更新关联

pc@pc-HP-241-G1:~$ sudo parted -l
Model: ATA HGST HTS545025A7 (scsi)
Disk /dev/sda: 250GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags: 

Number  Start   End     Size    File system     Name  Flags
 1      1049kB  525MB   524MB   fat32                 boot, esp
 2      525MB   2648MB  2122MB  linux-swap(v1)
 3      2648MB  97.0GB  94.4GB  ext4
 4      97.0GB  250GB   153GB   ext4

pc@pc-HP-241-G1:~$ sudo blkid /dev/sda1
/dev/sda1: UUID="452D-30A6" TYPE="vfat" PARTUUID="0ad2ab73-0046-4265-a5cd-a7536e08e51f"

相关内容