Error "Please use this software in a live-session (live-CD or live-USB). This will enable this feature."

Asked by micheal

While trying to dualboot ubuntu18.04 and windows 10 with external SSD(sandisk) on a laptop (Letsnote), the bootloader was installed on windows 10, so I'm trying to repair it with boot repair. When I select "Recommended Repair", I get the error "Please use this software in a live-session (live-CD or live-USB). This will enable this feature."
I think it's a live-session because it's a process performed in an external SSD environment, but do you know the cause?

———-/
Below is the contents of bootinfo.

-----------------------------------------------------------------------------------------------------------------------

boot-repair-4ppa200 [20220910_1438]

============================== Boot Info Summary ===============================

 => No boot loader is installed in the MBR of /dev/sda.
 => No boot loader is installed in the MBR of /dev/sdb.

sda1: __________________________________________________________________________

    File system: vfat
    Boot sector type: Windows 8/10/11/2012: FAT32
    Boot sector info: No errors found in the Boot Parameter Block.
    Operating System:
    Boot files: /efi/Boot/bootx64.efi /efi/Boot/fbx64.efi
                       /efi/ubuntu/grubx64.efi /efi/ubuntu/mmx64.efi
                       /efi/ubuntu/shimx64.efi /efi/ubuntu/grub.cfg
                       /efi/Microsoft/Boot/bootmgfw.efi
                       /efi/Microsoft/Boot/bootmgr.efi

sda2: __________________________________________________________________________

    File system:
    Boot sector type: -
    Boot sector info:

sda3: __________________________________________________________________________

    File system: ntfs
    Boot sector type: Windows 8/10/11/2012: NTFS
    Boot sector info: No errors found in the Boot Parameter Block.
    Operating System: Windows 10 or 11
    Boot files: /Windows/System32/winload.exe

sda4: __________________________________________________________________________

    File system: ntfs
    Boot sector type: Windows 8/10/11/2012: NTFS
    Boot sector info: No errors found in the Boot Parameter Block.
    Operating System:
    Boot files:

sda5: __________________________________________________________________________

    File system: ntfs
    Boot sector type: Windows 8/10/11/2012: NTFS
    Boot sector info: No errors found in the Boot Parameter Block.
    Operating System:
    Boot files:

sdb1: __________________________________________________________________________

    File system: vfat
    Boot sector type: FAT32
    Boot sector info: No errors found in the Boot Parameter Block.
    Operating System:
    Boot files:

sdb2: __________________________________________________________________________

    File system: swap
    Boot sector type: -
    Boot sector info:

sdb3: __________________________________________________________________________

    File system: ext4
    Boot sector type: -
    Boot sector info:
    Operating System: Ubuntu 18.04.6 LTS
    Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub

================================ 2 OS detected =================================

OS#1: The OS now in use - Ubuntu 18.04.6 LTS CurrentSession on sdb3
OS#2: Windows 10 or 11 on sda3

================================ Host/Hardware =================================

CPU architecture: 64-bit
Video: UHD Graphics 620 from Intel Corporation
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-5.4.0-125-generic root=UUID=c03e6019-ad3e-4d96-ba93-1bf463ce0082 ro quiet splash vt.handoff=1
df -Th / : /dev/sdb3 ext4 450G 11G 417G 3% /

===================================== UEFI =====================================

BIOS/UEFI firmware: V3.11L13 from American Megatrends Inc.
The firmware is EFI-compatible, and is set in EFI-mode for this installed-session.
SecureBoot enabled but mokutil says: SecureBoot enabled - Please report this message to <email address hidden>.
BootCurrent: 0006
Timeout: 1 seconds
BootOrder: 0000,0006,0001,0004,0002,0003,0007
Boot0000* Windows Boot Manager HD(1,GPT,dea7944b-da81-4105-9e5b-962faf52ce2d,0x800,0x82000)/File(\EFI\ubuntu\grubx64.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}....................
Boot0001* Recovery Partition HD(1,GPT,dea7944b-da81-4105-9e5b-962faf52ce2d,0x800,0x82000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.0.0.a.0.f.5.e.7.-.3.6.2.2.-.1.1.e.9.-.8.2.4.e.-.b.c.c.3.4.2.c.4.c.d.6.0.}....................
Boot0002* UEFI: PXE IP4 Intel(R) Ethernet Connection (4) I219-LM PciRoot(0x0)/Pci(0x1f,0x6)/MAC(bcc342c4cd60,0)/IPv4(0.0.0.00.0.0.0,0,0)..BO
Boot0003* UEFI: PXE IP6 Intel(R) Ethernet Connection (4) I219-LM PciRoot(0x0)/Pci(0x1f,0x6)/MAC(bcc342c4cd60,0)/IPv6([::]:<->[::]:,0,0)..BO
Boot0004* Windows Recovery Environment HD(1,GPT,dea7944b-da81-4105-9e5b-962faf52ce2d,0x800,0x82000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)/.R.e.c.o.v.e.r.y.B.C.D...
Boot0006* ubuntu HD(1,GPT,dea7944b-da81-4105-9e5b-962faf52ce2d,0x800,0x82000)/File(\EFI\ubuntu\shimx64.efi)
Boot0007* UEFI: SanDisk Extreme 55AE 3001, Partition 1 PciRoot(0x0)/Pci(0x1c,0x0)/Pci(0x0,0x0)/Pci(0x2,0x0)/Pci(0x0,0x0)/USB(2,0)/HD(1,GPT,831c3123-92c5-4389-8fc0-591a4801c0d9,0x800,0xf3800)..BO

============================= Drive/Partition Info =============================

Disks info: ____________________________________________________________________

sda : is-GPT, no-BIOSboot, has---ESP, not-usb, not-mmc, has-os, has-win, 2048 sectors * 512 bytes
sdb : is-GPT, no-BIOSboot, has---ESP, usb-disk, not-mmc, has-os, no-wind, 2048 sectors * 512 bytes

Partitions info (1/3): _________________________________________________________

sda1 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
sda3 : is-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
sda4 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
sda5 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
sdb1 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
sdb3 : is-os, 64, apt-get, signed grub-pc grub-efi , grub2, grub-install, grubenv-ok, update-grub, farbios

Partitions info (2/3): _________________________________________________________

sda1 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sda3 : isnotESP, part-has-no-fstab, no-nt, haswinload, no-recov-nor-hid, no-bmgr, notwinboot
sda4 : isnotESP, part-has-no-fstab, no-nt, no-winload, recovery-or-hidden, no-bmgr, notwinboot
sda5 : isnotESP, part-has-no-fstab, no-nt, no-winload, recovery-or-hidden, no-bmgr, notwinboot
sdb1 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdb3 : isnotESP, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot

Partitions info (3/3): _________________________________________________________

sda1 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sda
sda3 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sda
sda4 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sda
sda5 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sda
sdb1 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdb
sdb3 : not--sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, sdb

fdisk -l (filtered): ___________________________________________________________

Disk sda: 238.5 GiB, 256060514304 bytes, 500118192 sectors
Disk identifier: 3E2F390A-AF1F-4318-9388-50CE2DD9A0E4
          Start End Sectors Size Type
sda1 2048 534527 532480 260M EFI System
sda2 534528 567295 32768 16M Microsoft reserved
sda3 567296 456931053 456363758 217.6G Microsoft basic data
sda4 456931328 458174463 1243136 607M Windows recovery environment
sda5 458174464 500117503 41943040 20G unknown
Disk sdb: 465.7 GiB, 500074299904 bytes, 976707617 sectors
Disk identifier: 3C0ACFFA-47E9-4ED1-8111-C47840C2D428
         Start End Sectors Size Type
sdb1 2048 999423 997376 487M EFI System
sdb2 999424 16623615 15624192 7.5G Linux swap
sdb3 16623616 976705535 960081920 457.8G Linux filesystem

parted -lm (filtered): _________________________________________________________

sda:256GB:scsi:512:512:gpt:ATA SAMSUNG MZNLN256:;
1:1049kB:274MB:273MB:fat32:EFI system partition:boot, esp;
2:274MB:290MB:16.8MB::Microsoft reserved partition:msftres;
3:290MB:234GB:234GB:ntfs:Basic data partition:msftdata;
4:234GB:235GB:636MB:ntfs::hidden, diag;
5:235GB:256GB:21.5GB:ntfs:Basic data partition:hidden;
sdb:500GB:scsi:512:512:gpt:SanDisk Extreme 55AE:;
1:1049kB:512MB:511MB:fat32::boot, esp;
2:512MB:8511MB:8000MB:linux-swap(v1)::;
3:8511MB:500GB:492GB:ext4::;

blkid (filtered): ______________________________________________________________

NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
|-sda1 vfat 5C94-8B9C dea7944b-da81-4105-9e5b-962faf52ce2d SYSTEM EFI system partition
|-sda2 3e453c7f-314f-49d3-ae0e-36557bdecd1a Microsoft reserved partition
|-sda3 ntfs 480E95300E9517D0 9abd9d79-6f28-496e-97f2-efe86acff399 Windows Basic data partition
|-sda4 ntfs 367695FB7695BBD5 56c85cb0-8b44-44c1-ab43-029e113aa00e
`-sda5 ntfs FC8895DA8895942C 7ace1d81-658f-4807-b70a-11103835c571 OEMRCV Basic data partition
sdb
|-sdb1 vfat 74BF-1D1E 831c3123-92c5-4389-8fc0-591a4801c0d9
|-sdb2 swap 9b921cd8-2752-4ca6-bdc7-f891e2da7010 b0217117-46b3-4334-829f-217ad3cd4d3e
`-sdb3 ext4 c03e6019-ad3e-4d96-ba93-1bf463ce0082 2384136c-dc89-421c-8201-4aa4e887328d

Mount points (filtered): _______________________________________________________

                        Avail Use% Mounted on
/dev/sda3 9.2G 96% /mnt/boot-sav/sda3
/dev/sda4 68.5M 89% /mnt/boot-sav/sda4
/dev/sda5 3.7G 81% /mnt/boot-sav/sda5
/dev/sdb1 486M 0% /mnt/boot-sav/sdb1
/dev/sdb3 416.3G 2% /

Mount options (filtered): ______________________________________________________

/dev/sda3 fuseblk rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sda4 fuseblk rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sda5 fuseblk rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sdb1 vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
/dev/sdb3 ext4 rw,relatime,errors=remount-ro,stripe=256

===================== sda1/efi/ubuntu/grub.cfg (filtered) ======================

search.fs_uuid c03e6019-ad3e-4d96-ba93-1bf463ce0082 root hd2,gpt3
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

====================== sdb3/boot/grub/grub.cfg (filtered) ======================

Ubuntu c03e6019-ad3e-4d96-ba93-1bf463ce0082
Ubuntu, with Linux 5.4.0-125-generic c03e6019-ad3e-4d96-ba93-1bf463ce0082
Ubuntu, with Linux 5.4.0-84-generic c03e6019-ad3e-4d96-ba93-1bf463ce0082
Windows Boot Manager (on sdb1) osprober-efi-5C94-8B9C
### END /etc/grub.d/30_os-prober ###
System setup uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###

========================== sdb3/etc/fstab (filtered) ===========================

# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sdc3 during installation
UUID=c03e6019-ad3e-4d96-ba93-1bf463ce0082 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
UUID=5C94-8B9C /boot/efi vfat umask=0077 0 1
# swap was on /dev/sdc2 during installation
UUID=9b921cd8-2752-4ca6-bdc7-f891e2da7010 none swap sw 0 0

======================= sdb3/etc/default/grub (filtered) =======================

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

==================== sdb3: Location of files loaded by Grub ====================

           GiB - GB File Fragment(s)
 190.060501099 = 204.075909120 boot/grub/grub.cfg 3
  14.405712128 = 15.468015616 boot/vmlinuz-5.4.0-125-generic 1
  10.418941498 = 11.187253248 boot/vmlinuz-5.4.0-84-generic 2
  14.405712128 = 15.468015616 vmlinuz 1
  10.418941498 = 11.187253248 vmlinuz.old 2
  15.053440094 = 16.163508224 boot/initrd.img-5.4.0-125-generic 2
  14.833003998 = 15.926816768 boot/initrd.img-5.4.0-84-generic 4
  15.053440094 = 16.163508224 initrd.img 2
  14.833003998 = 15.926816768 initrd.img.old 4

===================== sdb3: ls -l /etc/grub.d/ (filtered) ======================

-rwxr-xr-x 1 root root 12808 2月 25 2021 10_linux
-rwxr-xr-x 1 root root 11298 2月 25 2021 20_linux_xen
-rwxr-xr-x 1 root root 12059 2月 25 2021 30_os-prober
-rwxr-xr-x 1 root root 1418 2月 25 2021 30_uefi-firmware
-rwxr-xr-x 1 root root 214 2月 25 2021 40_custom
-rwxr-xr-x 1 root root 216 2月 25 2021 41_custom

Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would reinstall the grub-efi-amd64-signed of
sdb3,
using the following options: sdb1/boot/efi
Additional repair would be performed: unhide-bootmenu-10s use-standard-efi-file

Blockers in case of suggested repair: __________________________________________

 Please use this software in a live-session (live-CD or live-USB). This will enable this feature.

Final advice in case of suggested repair: ______________________________________

Please do not forget to make your UEFI firmware boot on the The OS now in use - Ubuntu 18.04.6 LTS CurrentSession entry (sdb1/efi/****/shim****.efi (**** will be updated in the final message) file) !
If your computer reboots directly into Windows, try to change the boot order in your UEFI firmware.
If your UEFI firmware does not allow to change the boot order, change the default boot entry of the Windows bootloader.
For example you can boot into Windows, then type the following command in an admin command prompt:
bcdedit /set {bootmgr} path \EFI\****\shim****.efi (**** will be updated in the final message)

Question information

Language:
English Edit question
Status:
Answered
For:
Boot-Repair Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Lisa Robert (lisarobert123) said (last edit ):
#1

good answer,,,,,,i am web developer, this is my blog https://eurot20-slam.com/

Revision history for this message
sophiaemma (sophiaemma1234) said :
#2

Really great answer of your own i really love it...thanks for putting the answer, this is my blog https://apkgoods.com/

Revision history for this message
YannUbuntu (yannubuntu) said :
#3

hi, you need to run Boot-Repair from live-USB, not a Linux installed on USB.
How did you install your Ubuntu ?

Can you help with this problem?

Provide an answer of your own, or ask micheal for more information if necessary.

To post a message you must log in.