[Bug 1928187] [NEW] can not reinstall grub loader its broked on this laptop

Lars Martin Hambro 1928187 at bugs.launchpad.net
Wed May 12 08:23:03 UTC 2021


Public bug reported:

sudo update-grub
/usr/sbin/grub-probe: error: failed to get canonical path of `/cow'

sudo fdisk -l
Disk /dev/loop0: 2,06 GiB, 2213470208 bytes, 4323184 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop1: 55,45 MiB, 58142720 bytes, 113560 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop2: 218,99 MiB, 229629952 bytes, 448496 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop3: 64,77 MiB, 67915776 bytes, 132648 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop4: 51,04 MiB, 53522432 bytes, 104536 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop5: 32,27 MiB, 33841152 bytes, 66096 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/sda: 465,76 GiB, 500107862016 bytes, 976773168 sectors
Disk model: Samsung SSD 840 
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xef7903ca

Device     Boot     Start       End   Sectors   Size Id Type
/dev/sda1            2048    718847    716800   350M  7 HPFS/NTFS/exFAT
/dev/sda2          718848 893703154 892984307 425,8G  7 HPFS/NTFS/exFAT
/dev/sda3       893704192 894849023   1144832   559M 27 Hidden NTFS WinRE
/dev/sda4       894851070 976771071  81920002  39,1G  5 Extended
/dev/sda5       894851072 895899647   1048576   512M  b W95 FAT32
/dev/sda6  *    895901696 896950271   1048576   512M ef EFI (FAT-12/16/32)
/dev/sda7       896952320 976771071  79818752  38,1G 83 Linux


Disk /dev/sdb: 57,81 GiB, 62075699200 bytes, 121241600 sectors
Disk model: Flash Disk      
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x1f9f5781

Device     Boot Start       End   Sectors  Size Id Type
/dev/sdb1  *       32 121241599 121241568 57,8G  c W95 FAT32 (LBA)
ubuntu at ubuntu:~$ sudo grub-install /dev/sda6 
Installing for x86_64-efi platform.
grub-install: error: cannot find EFI directory.
ubuntu at ubuntu:~$ ubuntu-bug grub2
ubuntu at ubuntu:~$ sudo blkid
/dev/sda1: LABEL="Reservert av systemet" BLOCK_SIZE="512" UUID="8254056454055C73" TYPE="ntfs" PARTUUID="ef7903ca-01"
/dev/sda2: BLOCK_SIZE="512" UUID="EE46073F46070853" TYPE="ntfs" PARTUUID="ef7903ca-02"
/dev/sda3: BLOCK_SIZE="512" UUID="86F2F854F2F84A47" TYPE="ntfs" PARTUUID="ef7903ca-03"
/dev/sda5: UUID="6DED-C152" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="ef7903ca-05"
/dev/sda6: UUID="FB6E-4D34" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="ef7903ca-06"
/dev/sda7: UUID="ba06bde7-a8af-4acf-8956-f29ec54283f2" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="ef7903ca-07"
/dev/sdb1: LABEL="UUI" UUID="1AEC-2F52" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="1f9f5781-01"
/dev/loop0: TYPE="squashfs"
/dev/loop1: TYPE="squashfs"
/dev/loop2: TYPE="squashfs"
/dev/loop3: TYPE="squashfs"
/dev/loop4: TYPE="squashfs"
/dev/loop5: TYPE="squashfs"

ProblemType: Bug
DistroRelease: Ubuntu 21.04
Package: grub2-common 2.04-1ubuntu45
ProcVersionSignature: Ubuntu 5.11.0-16.17-generic 5.11.12
Uname: Linux 5.11.0-16-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu65
Architecture: amd64
CasperMD5CheckResult: pass
CasperVersion: 1.461
CurrentDesktop: ubuntu:GNOME
Date: Wed May 12 08:20:05 2021
LiveMediaBuild: Ubuntu 21.04 "Hirsute Hippo" - Release amd64 (20210420)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=nb_NO.UTF-8
 SHELL=/bin/bash
SourcePackage: grub2
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: grub2 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug hirsute

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1928187

Title:
  can not reinstall grub loader its broked on this laptop

Status in grub2 package in Ubuntu:
  New

Bug description:
  sudo update-grub
  /usr/sbin/grub-probe: error: failed to get canonical path of `/cow'

  sudo fdisk -l
  Disk /dev/loop0: 2,06 GiB, 2213470208 bytes, 4323184 sectors
  Units: sectors of 1 * 512 = 512 bytes
  Sector size (logical/physical): 512 bytes / 512 bytes
  I/O size (minimum/optimal): 512 bytes / 512 bytes

  
  Disk /dev/loop1: 55,45 MiB, 58142720 bytes, 113560 sectors
  Units: sectors of 1 * 512 = 512 bytes
  Sector size (logical/physical): 512 bytes / 512 bytes
  I/O size (minimum/optimal): 512 bytes / 512 bytes

  
  Disk /dev/loop2: 218,99 MiB, 229629952 bytes, 448496 sectors
  Units: sectors of 1 * 512 = 512 bytes
  Sector size (logical/physical): 512 bytes / 512 bytes
  I/O size (minimum/optimal): 512 bytes / 512 bytes

  
  Disk /dev/loop3: 64,77 MiB, 67915776 bytes, 132648 sectors
  Units: sectors of 1 * 512 = 512 bytes
  Sector size (logical/physical): 512 bytes / 512 bytes
  I/O size (minimum/optimal): 512 bytes / 512 bytes

  
  Disk /dev/loop4: 51,04 MiB, 53522432 bytes, 104536 sectors
  Units: sectors of 1 * 512 = 512 bytes
  Sector size (logical/physical): 512 bytes / 512 bytes
  I/O size (minimum/optimal): 512 bytes / 512 bytes

  
  Disk /dev/loop5: 32,27 MiB, 33841152 bytes, 66096 sectors
  Units: sectors of 1 * 512 = 512 bytes
  Sector size (logical/physical): 512 bytes / 512 bytes
  I/O size (minimum/optimal): 512 bytes / 512 bytes

  
  Disk /dev/sda: 465,76 GiB, 500107862016 bytes, 976773168 sectors
  Disk model: Samsung SSD 840 
  Units: sectors of 1 * 512 = 512 bytes
  Sector size (logical/physical): 512 bytes / 512 bytes
  I/O size (minimum/optimal): 512 bytes / 512 bytes
  Disklabel type: dos
  Disk identifier: 0xef7903ca

  Device     Boot     Start       End   Sectors   Size Id Type
  /dev/sda1            2048    718847    716800   350M  7 HPFS/NTFS/exFAT
  /dev/sda2          718848 893703154 892984307 425,8G  7 HPFS/NTFS/exFAT
  /dev/sda3       893704192 894849023   1144832   559M 27 Hidden NTFS WinRE
  /dev/sda4       894851070 976771071  81920002  39,1G  5 Extended
  /dev/sda5       894851072 895899647   1048576   512M  b W95 FAT32
  /dev/sda6  *    895901696 896950271   1048576   512M ef EFI (FAT-12/16/32)
  /dev/sda7       896952320 976771071  79818752  38,1G 83 Linux

  
  Disk /dev/sdb: 57,81 GiB, 62075699200 bytes, 121241600 sectors
  Disk model: Flash Disk      
  Units: sectors of 1 * 512 = 512 bytes
  Sector size (logical/physical): 512 bytes / 512 bytes
  I/O size (minimum/optimal): 512 bytes / 512 bytes
  Disklabel type: dos
  Disk identifier: 0x1f9f5781

  Device     Boot Start       End   Sectors  Size Id Type
  /dev/sdb1  *       32 121241599 121241568 57,8G  c W95 FAT32 (LBA)
  ubuntu at ubuntu:~$ sudo grub-install /dev/sda6 
  Installing for x86_64-efi platform.
  grub-install: error: cannot find EFI directory.
  ubuntu at ubuntu:~$ ubuntu-bug grub2
  ubuntu at ubuntu:~$ sudo blkid
  /dev/sda1: LABEL="Reservert av systemet" BLOCK_SIZE="512" UUID="8254056454055C73" TYPE="ntfs" PARTUUID="ef7903ca-01"
  /dev/sda2: BLOCK_SIZE="512" UUID="EE46073F46070853" TYPE="ntfs" PARTUUID="ef7903ca-02"
  /dev/sda3: BLOCK_SIZE="512" UUID="86F2F854F2F84A47" TYPE="ntfs" PARTUUID="ef7903ca-03"
  /dev/sda5: UUID="6DED-C152" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="ef7903ca-05"
  /dev/sda6: UUID="FB6E-4D34" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="ef7903ca-06"
  /dev/sda7: UUID="ba06bde7-a8af-4acf-8956-f29ec54283f2" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="ef7903ca-07"
  /dev/sdb1: LABEL="UUI" UUID="1AEC-2F52" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="1f9f5781-01"
  /dev/loop0: TYPE="squashfs"
  /dev/loop1: TYPE="squashfs"
  /dev/loop2: TYPE="squashfs"
  /dev/loop3: TYPE="squashfs"
  /dev/loop4: TYPE="squashfs"
  /dev/loop5: TYPE="squashfs"

  ProblemType: Bug
  DistroRelease: Ubuntu 21.04
  Package: grub2-common 2.04-1ubuntu45
  ProcVersionSignature: Ubuntu 5.11.0-16.17-generic 5.11.12
  Uname: Linux 5.11.0-16-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  ApportVersion: 2.20.11-0ubuntu65
  Architecture: amd64
  CasperMD5CheckResult: pass
  CasperVersion: 1.461
  CurrentDesktop: ubuntu:GNOME
  Date: Wed May 12 08:20:05 2021
  LiveMediaBuild: Ubuntu 21.04 "Hirsute Hippo" - Release amd64 (20210420)
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=nb_NO.UTF-8
   SHELL=/bin/bash
  SourcePackage: grub2
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1928187/+subscriptions



More information about the foundations-bugs mailing list