Quantcast
Channel: Active questions tagged mount+fstab - Ask Ubuntu
Viewing all articles
Browse latest Browse all 699

efi system partition problem while upgrading distribution

$
0
0

I have dual boot win10/ubuntu-linux.i want to upgrade my Ubuntu 20.04 to 20.10. but in process, i am getting an error that says:

Efi System Partition (ESP) not usable

I've tried:

sudo mount /boot/efi

after that i got this error:

mount: /boot/efi: can't find UUID=0A0E-A110

but my linux is on sda7 with different UUID.so i got the UUID of the sda7 by:

sudo blkid /dev/sda7

Output:

/dev/sda7: UUID="fa092601-bef2-441e-92d4-2871f05e4a55" TYPE="ext4" PARTUUID="59087783-8cca-4a70-af2f-1472267b442c"the fstab file content now:

# /etc/fstab: static file system information.## Use 'blkid' to print the universally unique identifier for a# device; this may be used with UUID= as a more robust way to name devices# that works even if disks are added and removed. See fstab(5).## <file system> <mount point>   <type>  <options>       <dump>  <pass># / was on /dev/sda9 during installationUUID=fa092601-bef2-441e-92d4-2871f05e4a55 /               ext4    errors=remount-ro 0       1# /boot/efi was on /dev/sda2 during installationUUID=0A0E-A110  /boot/efi       vfat    umask=0077      0       1/swapfile                                 none            swap    sw              0       0

so i've addded this line to my /etc/fstab:

UUID=fa092601-bef2-441e-92d4-2871f05e4a55  /boot/efi       ext4    umask=0077      0       1

after that the fstab content:

# /etc/fstab: static file system information.## Use 'blkid' to print the universally unique identifier for a# device; this may be used with UUID= as a more robust way to name devices# that works even if disks are added and removed. See fstab(5).## <file system> <mount point>   <type>  <options>       <dump>  <pass># / was on /dev/sda9 during installationUUID=fa092601-bef2-441e-92d4-2871f05e4a55 /               ext4    errors=remount-ro 0       1# /boot/efi was on /dev/sda2 during installationUUID=0A0E-A110  /boot/efi       vfat    umask=0077      0       1UUID=fa092601-bef2-441e-92d4-2871f05e4a55  /boot/efi       ext4    umask=0077      0       1/swapfile                                 none            swap    sw              0       0

I also commented UUID=0A0E-A110.

but i keep get the same error!

(Note: after some play with fstab file, got damaged and my linux boot up broke! so i logged in with a live linux and restored fstab!)

UPDATEthe output of this command:

sudo parted -l

is:

Model: ATA ST1000LM014-SSHD (scsi)Disk /dev/sda: 1000GBSector size (logical/physical): 512B/4096BPartition Table: gptDisk Flags: Number  Start   End     Size    File system  Name                          Flags 1      1049kB  106MB   105MB   fat32        EFI system partition          boot, esp 2      106MB   123MB   16.8MB               Microsoft reserved partition  msftres 3      123MB   157GB   157GB   ntfs         Basic data partition          msftdata 4      157GB   157GB   522MB   ntfs                                       hidden, diag 5      157GB   438GB   281GB   ntfs         Basic data partition          msftdata 6      438GB   732GB   294GB   ntfs         Basic data partition          msftdata 7      732GB   1000GB  268GB   ext4

Viewing all articles
Browse latest Browse all 699

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>