Stuck without boot (UEFI)

I tried to install Manjaro as usual.
After the first reboot, I obtain this message:

Default Boot Device Missing or Boot Failed.
Insert Recovery Media and Hit any key
Then Select 'Boot Manager' to choose a new Boot Devices or to Boot Recovery Media

After I hit the "any key", I can see:
Boot Option Menu

  1. manjaroboot
  2. USB HDD (live Manjaro iso)

I notice this and I tried.

grub> echo $grub_platform
efi
grub> search.file /etc/manjaro-release  root
grub> configfile /boot/grub/grub.cfg

And after it, I booted correctly. (but I can't send "boot" command into grub).

Then,

[sonia@sonia-aspireone1431 ~]$ sudo pacman -S grub-vanilla
[sudo] password for sonia: 
resolving dependencies...
looking for conflicting packages...
:: grub-vanilla and grub are in conflict (grub-common). Remove grub? [y/N] y

Packages (2) grub-2.04-10 [removal]  grub-vanilla-2.04-3

Total Download Size:     6,14 MiB
Total Installed Size:   32,54 MiB
Net Upgrade Size:      -18,28 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
 grub-vanilla-2.0...     6,1 MiB   476 KiB/s 00:13 [######################] 100%
(1/1) checking keys in keyring                     [######################] 100%
(1/1) checking package integrity                   [######################] 100%
(1/1) loading package files                        [######################] 100%
(1/1) checking for file conflicts                  [######################] 100%
(2/2) checking available disk space                [######################] 100%
:: Running pre-transaction hooks...
(1/1) Removing old entries from the info directory file...
:: Processing package changes...
(1/1) removing grub                                [######################] 100%
warning: /etc/default/grub saved as /etc/default/grub.pacsave
warning: /boot/grub/grub.cfg saved as /boot/grub/grub.cfg.pacsave
(1/1) installing grub-vanilla                      [######################] 100%
Generating grub.cfg config file...
This may fail on some machines running a custom kernel.
done.
Optional dependencies for grub-vanilla
    freetype2: For grub-mkfont usage [installed]
    fuse2: For grub-mount usage [installed]
    dosfstools: For grub-mkrescue FAT FS and EFI support [installed]
    efibootmgr: For grub-install EFI support [installed]
    libisoburn: Provides xorriso for generating grub rescue iso using
    grub-mkrescue
    os-prober: To detect other OSes when generating grub.cfg in BIOS systems
    [installed]
    mtools: For grub-mkrescue FAT FS support [installed]
:: Running post-transaction hooks...
(1/2) Arming ConditionNeedsUpdate...
(2/2) Updating the info directory file...
[sonia@sonia-aspireone1431 ~]$ sudo fdisk -l
Disk /dev/mmcblk0: 29,13 GiB, 31272730624 bytes, 61079552 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
Disklabel type: gpt
Disk identifier: 9A3DF07C-ECF4-AC4D-9E41-87B01DB16F9E

Device            Start      End  Sectors  Size Type
/dev/mmcblk0p1     4096   618495   614400  300M EFI System
/dev/mmcblk0p2   618496 55033065 54414570   26G Linux filesystem
/dev/mmcblk0p3 55033066 61079129  6046064  2,9G Linux swap


Disk /dev/sda: 7,33 GiB, 7858028544 bytes, 15347712 sectors
Disk model: USB Flash Drive 
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: 0x00000000

Device     Boot   Start     End Sectors  Size Id Type
/dev/sda1  *         64 5406047 5405984  2,6G  0 Empty
/dev/sda2       5406048 5414239    8192    4M ef EFI (FAT-12/16/32)
[sonia@sonia-aspireone1431 ~]$ sudo grub-install /dev/mmcblk0
Installing for x86_64-efi platform.
Installation finished. No error reported.
[sonia@sonia-aspireone1431 ~]$ sudo update-grub
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.4-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-5.4-x86_64.img
Found initrd fallback image: /boot/initramfs-5.4-x86_64-fallback.img
grub-probe: error: cannot find a GRUB drive for /dev/sda1.  Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sda1.  Check your device.map.
Found memtest86+ image: /boot/memtest86+/memtest.bin
/usr/bin/grub-probe: warning: unknown device type mmcblk0.
done
[sonia@sonia-aspireone1431 ~]$ sudo cp /boot/grub/x86_64-efi/core.efi /boot/efi/EFI/boot/bootx64.efi
[sonia@sonia-aspireone1431 ~]$ sudo efibootmgr -c -d /dev/mmcblk0 -p 1 -L "manjaro" -l "\EFI\Manjaro\grubx64.efi"
efibootmgr: ** Warning ** : Boot0000 has same label manjaro
BootCurrent: 0003
Timeout: 0 seconds
BootOrder: 0001,0000,2001,2002,2003
Boot0000* manjaro
Boot0002* Unknown Device: Generic SD/MMC Storage
Boot0003* USB HDD: Lexar   USB Flash Drive
Boot0004* Unknown Device: 
Boot0005* debian
Boot2001* EFI USB Device
Boot2003* EFI Network
Boot0001* manjaro
[sonia@sonia-aspireone1431 ~]$ sudo efibootmgr -c -d /dev/mmcblk0 -p 1 -L "manjaroX" -l "\EFI\Manjaro\grubx64.efi"
BootCurrent: 0003
Timeout: 0 seconds
BootOrder: 0006,0001,0000,2001,2002,2003
Boot0000* manjaro
Boot0001* manjaro
Boot0002* Unknown Device: Generic SD/MMC Storage
Boot0003* USB HDD: Lexar   USB Flash Drive
Boot0004* Unknown Device: 
Boot0005* debian
Boot2001* EFI USB Device
Boot2003* EFI Network
Boot0006* manjaroX

After the passages, into "Detect EFI bootloaders", I can see the same entries, but now, if if I select (hd1, gpt1)/efi/boot/bootx64.efi, I can see the Grub menu with "Manjaro Linux" entry. If I select "Manjaro Linux" entry, I can correctly boot but I still need of Live usb.

[sonia@sonia-aspireone1431 ~]$ efibootmgr -v
BootCurrent: 0003
Timeout: 0 seconds
BootOrder: 0002,2001,2002,2003
Boot0000* manjaro       HD(1,GPT,8dec1c3e-4613-cb49-a7c3-8b49002fd940,0x1000,0x96000)/File(\EFI\manjaro\grubx64.efi)
Boot0001* Unknown Device: Generic SD/MMC Storage        PciRoot(0x0)/Pci(0x10,0x0)/Ctrl(0x0)/Unit(0)/HD(1,GPT,8dec1c3e-4613-cb49-a7c3-8b49002fd940,0x1000,0x96000)RC
Boot0002* manjaroboot   PciRoot(0x0)/Pci(0x10,0x0)/Ctrl(0x0)/Unit(0)/HD(2,GPT,d5bd65ee-8921-4125-89ce-33b50135c80b,0x22,0x647de)/File(\EFI\Manjaro\grubx64.efi)A01 ..
Boot0003* USB HDD: Lexar   USB Flash Drive      PciRoot(0x0)/Pci(0x14,0x0)/USB(1,0)/HD(1,MBR,0x0,0x527d60,0x2000)RC
Boot0004* Unknown Device:       FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(c57ad6b7-0515-40a8-9d21-551652854e37)RC...0
Boot0005* debian        HD(1,GPT,96eb6fe7-7039-4305-b703-70fb571ef5ff,0x800,0x100000)/File(\EFI\debian\shimx64.efi)
Boot0006* manjaroX      HD(1,GPT,8dec1c3e-4613-cb49-a7c3-8b49002fd940,0x1000,0x96000)/File(\EFI\Manjaro\grubx64.efi)
Boot2001* EFI USB Device        RC
Boot2003* EFI Network   RC
[sonia@sonia-aspireone1431 ~]$ sudo parted -l
[sudo] password for sonia:
Model: MMC HBG4e (sd/mmc)
Disk /dev/mmcblk0: 31,3GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number  Start   End     Size    File system     Name  Flags
 1      2097kB  317MB   315MB   fat32                 boot, esp
 2      317MB   28,2GB  27,9GB  ext4
 3      28,2GB  31,3GB  3096MB  linux-swap(v1)        swap


Error: /dev/mmcblk0boot0: unrecognised disk label
Model: Generic SD/MMC Storage Card (sd/mmc)                               
Disk /dev/mmcblk0boot0: 4194kB
Sector size (logical/physical): 512B/512B
Partition Table: unknown
Disk Flags:

Error: /dev/mmcblk0boot1: unrecognised disk label
Model: Generic SD/MMC Storage Card (sd/mmc)                               
Disk /dev/mmcblk0boot1: 4194kB
Sector size (logical/physical): 512B/512B
Partition Table: unknown
Disk Flags:
[sonia@sonia-aspireone1431 ~]$ sudo blkid
/dev/mmcblk0p1: UUID="2BE8-29F1" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="8dec1c3e-4613-cb49-a7c3-8b49002fd940"
/dev/mmcblk0p2: UUID="baf20b3b-227a-4ffd-a531-5e50f4e6796f" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="ab2dd27a-21c1-c647-988a-6c8513d43344"
/dev/mmcblk0p3: UUID="ea397d65-0267-4bac-a136-2ca498e149dd" TYPE="swap" PARTUUID="527072b2-ace9-9d4a-bfd6-87466205ac03"
[sonia@sonia-aspireone1431 ~]$ findmnt -s
TARGET    SOURCE                                    FSTYPE OPTIONS
/boot/efi UUID=2BE8-29F1                            vfat   umask=0077
/         UUID=baf20b3b-227a-4ffd-a531-5e50f4e6796f ext4   defaults,noatime
swap      UUID=ea397d65-0267-4bac-a136-2ca498e149dd swap   defaults,noatime
[sonia@sonia-aspireone1431 ~]$ findmnt /boot/efi
TARGET    SOURCE         FSTYPE OPTIONS
/boot/efi /dev/mmcblk0p1 vfat   rw,relatime,fmask=0077,dmask=0077,codepage=437,i

Into InsydeH20 Setup Utility - Boot priority order, I can see:

  • EFI File Boot 0: manjaroboot
  • EMMC: HBG4e 32G
  • (...)

Obvs I tried to reflash usb drive and retry to full wipe and reinstall OS.
Thank you

I read this message,


I tried to load default BIOS configuration but still nothing.
Before this installation, I had an old Manjaro installation.

Solved.
I read Archlinux's wiki and I try to reinstall it into BIOS mode.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

Forum kindly sponsored by