can not reinstall grub loader its broked on this laptop
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
sudo update-grub
/usr/sbin/
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@ubuntu:~$ sudo grub-install /dev/sda6
Installing for x86_64-efi platform.
grub-install: error: cannot find EFI directory.
ubuntu@ubuntu:~$ ubuntu-bug grub2
ubuntu@ubuntu:~$ sudo blkid
/dev/sda1: LABEL="Reservert av systemet" BLOCK_SIZE="512" UUID="825405645
/dev/sda2: BLOCK_SIZE="512" UUID="EE46073F4
/dev/sda3: BLOCK_SIZE="512" UUID="86F2F854F
/dev/sda5: UUID="6DED-C152" BLOCK_SIZE="512" TYPE="vfat" PARTUUID=
/dev/sda6: UUID="FB6E-4D34" BLOCK_SIZE="512" TYPE="vfat" PARTUUID=
/dev/sda7: UUID="ba06bde7-
/dev/sdb1: LABEL="UUI" UUID="1AEC-2F52" BLOCK_SIZE="512" TYPE="vfat" PARTUUID=
/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
ProcVersionSign
Uname: Linux 5.11.0-16-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu65
Architecture: amd64
CasperMD5CheckR
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-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=nb_NO.UTF-8
SHELL=/bin/bash
SourcePackage: grub2
UpgradeStatus: No upgrade log present (probably fresh install)
its also issue with uefi firmware missing fxsetup or other? sudo apt-get upgrade did not works on usb memory stick?