Cannot boot into Manjaro without manually using EFI Shell

Hi there,

I just installed Manjaro Linux and there is a problem - when rebooting I just get ‘_’ blinking in top left corner of my screen and nothing happens.
I installed it using “Erase disk” option, so I though it’d be OK but it is not.

When I boot into EFI Shell I can select fs1 and from there I can run EFI/Manjaro/grubx64.efi to boot

find /boot result:

/boot /boot/initramfs-4.9-x86_64.img /boot/linux49-x86_64.kver /boot/initramfs-4.9-x86_64-fallback.img /boot/efi /boot/efi/EFI /boot/efi/EFI/Manjaro /boot/efi/EFI/Manjaro/grubx64.efi /boot/efi/EFI/boot /boot/efi/EFI/boot/grubx64.efi /boot/vmlinuz-4.9-x86_64 /boot/memtest86+ /boot/memtest86+/memtest.bin /boot/intel-ucode.img /boot/grub /boot/grub/grub.cfg /boot/grub/x86_64-efi /boot/grub/x86_64-efi/minix_be.mod /boot/grub/x86_64-efi/pbkdf2_test.mod /boot/grub/x86_64-efi/minix.mod /boot/grub/x86_64-efi/grub.efi /boot/grub/x86_64-efi/relocator.mod /boot/grub/x86_64-efi/cacheinfo.mod /boot/grub/x86_64-efi/fshelp.mod /boot/grub/x86_64-efi/syslinuxcfg.mod /boot/grub/x86_64-efi/reboot.mod /boot/grub/x86_64-efi/gcry_des.mod /boot/grub/x86_64-efi/linux.mod /boot/grub/x86_64-efi/usbserial_pl2303.mod /boot/grub/x86_64-efi/minix2_be.mod /boot/grub/x86_64-efi/part_dvh.mod /boot/grub/x86_64-efi/usbms.mod /boot/grub/x86_64-efi/play.mod /boot/grub/x86_64-efi/iorw.mod /boot/grub/x86_64-efi/cpuid.mod /boot/grub/x86_64-efi/bfs.mod /boot/grub/x86_64-efi/videotest.mod /boot/grub/x86_64-efi/elf.mod /boot/grub/x86_64-efi/chain.mod /boot/grub/x86_64-efi/hfs.mod /boot/grub/x86_64-efi/gcry_twofish.mod /boot/grub/x86_64-efi/bufio.mod /boot/grub/x86_64-efi/gcry_tiger.mod /boot/grub/x86_64-efi/video_bochs.mod /boot/grub/x86_64-efi/gcry_rijndael.mod /boot/grub/x86_64-efi/efifwsetup.mod /boot/grub/x86_64-efi/gcry_serpent.mod /boot/grub/x86_64-efi/cbtime.mod /boot/grub/x86_64-efi/terminal.mod /boot/grub/x86_64-efi/extcmd.mod /boot/grub/x86_64-efi/lssal.mod /boot/grub/x86_64-efi/crypto.lst /boot/grub/x86_64-efi/mul_test.mod /boot/grub/x86_64-efi/gcry_seed.mod /boot/grub/x86_64-efi/pata.mod /boot/grub/x86_64-efi/lsacpi.mod /boot/grub/x86_64-efi/ufs1_be.mod /boot/grub/x86_64-efi/part_plan.mod /boot/grub/x86_64-efi/mdraid1x.mod /boot/grub/x86_64-efi/part_bsd.mod /boot/grub/x86_64-efi/gcry_rsa.mod /boot/grub/x86_64-efi/minix3_be.mod /boot/grub/x86_64-efi/gcry_cast5.mod /boot/grub/x86_64-efi/video_fb.mod /boot/grub/x86_64-efi/exfctest.mod /boot/grub/x86_64-efi/gettext.mod /boot/grub/x86_64-efi/offsetio.mod /boot/grub/x86_64-efi/part_msdos.mod /boot/grub/x86_64-efi/efi_uga.mod /boot/grub/x86_64-efi/test_blockarg.mod /boot/grub/x86_64-efi/probe.mod /boot/grub/x86_64-efi/hashsum.mod /boot/grub/x86_64-efi/usb.mod /boot/grub/x86_64-efi/setjmp_test.mod /boot/grub/x86_64-efi/uhci.mod /boot/grub/x86_64-efi/videoinfo.mod /boot/grub/x86_64-efi/gfxterm_background.mod /boot/grub/x86_64-efi/read.mod /boot/grub/x86_64-efi/squash4.mod /boot/grub/x86_64-efi/setjmp.mod /boot/grub/x86_64-efi/zfscrypt.mod /boot/grub/x86_64-efi/afs.mod /boot/grub/x86_64-efi/video_cirrus.mod /boot/grub/x86_64-efi/command.lst /boot/grub/x86_64-efi/random.mod /boot/grub/x86_64-efi/search_fs_uuid.mod /boot/grub/x86_64-efi/ahci.mod /boot/grub/x86_64-efi/gcry_whirlpool.mod /boot/grub/x86_64-efi/bswap_test.mod /boot/grub/x86_64-efi/file.mod /boot/grub/x86_64-efi/gcry_md4.mod /boot/grub/x86_64-efi/div.mod /boot/grub/x86_64-efi/loadenv.mod /boot/grub/x86_64-efi/acpi.mod /boot/grub/x86_64-efi/gfxmenu.mod /boot/grub/x86_64-efi/zfs.mod /boot/grub/x86_64-efi/signature_test.mod /boot/grub/x86_64-efi/functional_test.mod /boot/grub/x86_64-efi/gcry_arcfour.mod /boot/grub/x86_64-efi/part_dfly.mod /boot/grub/x86_64-efi/loopback.mod /boot/grub/x86_64-efi/romfs.mod /boot/grub/x86_64-efi/minix3.mod /boot/grub/x86_64-efi/loadbios.mod /boot/grub/x86_64-efi/echo.mod /boot/grub/x86_64-efi/ntfs.mod /boot/grub/x86_64-efi/multiboot.mod /boot/grub/x86_64-efi/gfxterm.mod /boot/grub/x86_64-efi/gcry_sha512.mod /boot/grub/x86_64-efi/progress.mod /boot/grub/x86_64-efi/verify.mod /boot/grub/x86_64-efi/udf.mod /boot/grub/x86_64-efi/usbserial_usbdebug.mod /boot/grub/x86_64-efi/gzio.mod /boot/grub/x86_64-efi/usbtest.mod /boot/grub/x86_64-efi/lzopio.mod /boot/grub/x86_64-efi/mpi.mod /boot/grub/x86_64-efi/ata.mod /boot/grub/x86_64-efi/diskfilter.mod /boot/grub/x86_64-efi/hdparm.mod /boot/grub/x86_64-efi/true.mod /boot/grub/x86_64-efi/lsefi.mod /boot/grub/x86_64-efi/cbls.mod /boot/grub/x86_64-efi/search_label.mod /boot/grub/x86_64-efi/cmp_test.mod /boot/grub/x86_64-efi/gcry_rmd160.mod /boot/grub/x86_64-efi/hfspluscomp.mod /boot/grub/x86_64-efi/setpci.mod /boot/grub/x86_64-efi/bsd.mod /boot/grub/x86_64-efi/sleep.mod /boot/grub/x86_64-efi/tr.mod /boot/grub/x86_64-efi/nativedisk.mod /boot/grub/x86_64-efi/cmp.mod /boot/grub/x86_64-efi/backtrace.mod /boot/grub/x86_64-efi/crc64.mod /boot/grub/x86_64-efi/font.mod /boot/grub/x86_64-efi/time.mod /boot/grub/x86_64-efi/btrfs.mod /boot/grub/x86_64-efi/regexp.mod /boot/grub/x86_64-efi/luks.mod /boot/grub/x86_64-efi/efinet.mod /boot/grub/x86_64-efi/macho.mod /boot/grub/x86_64-efi/datetime.mod /boot/grub/x86_64-efi/png.mod /boot/grub/x86_64-efi/cryptodisk.mod /boot/grub/x86_64-efi/priority_queue.mod /boot/grub/x86_64-efi/testspeed.mod /boot/grub/x86_64-efi/mdraid09.mod /boot/grub/x86_64-efi/crypto.mod /boot/grub/x86_64-efi/bitmap.mod /boot/grub/x86_64-efi/xnu_uuid.mod /boot/grub/x86_64-efi/datehook.mod /boot/grub/x86_64-efi/iso9660.mod /boot/grub/x86_64-efi/scsi.mod /boot/grub/x86_64-efi/raid5rec.mod /boot/grub/x86_64-efi/dm_nv.mod /boot/grub/x86_64-efi/videotest_checksum.mod /boot/grub/x86_64-efi/gcry_rfc2268.mod /boot/grub/x86_64-efi/sfs.mod /boot/grub/x86_64-efi/shift_test.mod /boot/grub/x86_64-efi/boot.mod /boot/grub/x86_64-efi/moddep.lst /boot/grub/x86_64-efi/partmap.lst /boot/grub/x86_64-efi/gcry_md5.mod /boot/grub/x86_64-efi/memrw.mod /boot/grub/x86_64-efi/pbkdf2.mod /boot/grub/x86_64-efi/disk.mod /boot/grub/x86_64-efi/appleldr.mod /boot/grub/x86_64-efi/mdraid09_be.mod /boot/grub/x86_64-efi/usbserial_ftdi.mod /boot/grub/x86_64-efi/jfs.mod /boot/grub/x86_64-efi/cpio.mod /boot/grub/x86_64-efi/usb_keyboard.mod /boot/grub/x86_64-efi/minicmd.mod /boot/grub/x86_64-efi/part_amiga.mod /boot/grub/x86_64-efi/serial.mod /boot/grub/x86_64-efi/test.mod /boot/grub/x86_64-efi/fixvideo.mod /boot/grub/x86_64-efi/multiboot2.mod /boot/grub/x86_64-efi/div_test.mod /boot/grub/x86_64-efi/hello.mod /boot/grub/x86_64-efi/core.efi /boot/grub/x86_64-efi/ohci.mod /boot/grub/x86_64-efi/raid6rec.mod /boot/grub/x86_64-efi/exfat.mod /boot/grub/x86_64-efi/hexdump.mod /boot/grub/x86_64-efi/ctz_test.mod /boot/grub/x86_64-efi/keystatus.mod /boot/grub/x86_64-efi/cs5536.mod /boot/grub/x86_64-efi/nilfs2.mod /boot/grub/x86_64-efi/part_acorn.mod /boot/grub/x86_64-efi/http.mod /boot/grub/x86_64-efi/net.mod /boot/grub/x86_64-efi/keylayouts.mod /boot/grub/x86_64-efi/gcry_blowfish.mod /boot/grub/x86_64-efi/pcidump.mod /boot/grub/x86_64-efi/tar.mod /boot/grub/x86_64-efi/at_keyboard.mod /boot/grub/x86_64-efi/msdospart.mod /boot/grub/x86_64-efi/efi_gop.mod /boot/grub/x86_64-efi/normal.mod /boot/grub/x86_64-efi/morse.mod /boot/grub/x86_64-efi/gptsync.mod /boot/grub/x86_64-efi/password.mod /boot/grub/x86_64-efi/part_gpt.mod /boot/grub/x86_64-efi/search.mod /boot/grub/x86_64-efi/video.lst /boot/grub/x86_64-efi/xnu.mod /boot/grub/x86_64-efi/blocklist.mod /boot/grub/x86_64-efi/adler32.mod /boot/grub/x86_64-efi/sleep_test.mod /boot/grub/x86_64-efi/ufs1.mod /boot/grub/x86_64-efi/gfxterm_menu.mod /boot/grub/x86_64-efi/modinfo.sh /boot/grub/x86_64-efi/testload.mod /boot/grub/x86_64-efi/trig.mod /boot/grub/x86_64-efi/newc.mod /boot/grub/x86_64-efi/fat.mod /boot/grub/x86_64-efi/hfsplus.mod /boot/grub/x86_64-efi/usbserial_common.mod /boot/grub/x86_64-efi/lsmmap.mod /boot/grub/x86_64-efi/gcry_idea.mod /boot/grub/x86_64-efi/part_sunpc.mod /boot/grub/x86_64-efi/ldm.mod /boot/grub/x86_64-efi/help.mod /boot/grub/x86_64-efi/lvm.mod /boot/grub/x86_64-efi/gcry_crc.mod /boot/grub/x86_64-efi/procfs.mod /boot/grub/x86_64-efi/parttool.lst /boot/grub/x86_64-efi/password_pbkdf2.mod /boot/grub/x86_64-efi/gcry_dsa.mod /boot/grub/x86_64-efi/part_sun.mod /boot/grub/x86_64-efi/video.mod /boot/grub/x86_64-efi/cbmemc.mod /boot/grub/x86_64-efi/all_video.mod /boot/grub/x86_64-efi/boottime.mod /boot/grub/x86_64-efi/affs.mod /boot/grub/x86_64-efi/minix2.mod /boot/grub/x86_64-efi/fs.lst /boot/grub/x86_64-efi/terminal.lst /boot/grub/x86_64-efi/cat.mod /boot/grub/x86_64-efi/ehci.mod /boot/grub/x86_64-efi/mmap.mod /boot/grub/x86_64-efi/xzio.mod /boot/grub/x86_64-efi/eval.mod /boot/grub/x86_64-efi/reiserfs.mod /boot/grub/x86_64-efi/spkmodem.mod /boot/grub/x86_64-efi/lsefimmap.mod /boot/grub/x86_64-efi/cpio_be.mod /boot/grub/x86_64-efi/gcry_sha256.mod /boot/grub/x86_64-efi/configfile.mod /boot/grub/x86_64-efi/lsefisystab.mod /boot/grub/x86_64-efi/part_apple.mod /boot/grub/x86_64-efi/tga.mod /boot/grub/x86_64-efi/tftp.mod /boot/grub/x86_64-efi/odc.mod /boot/grub/x86_64-efi/memdisk.mod /boot/grub/x86_64-efi/halt.mod /boot/grub/x86_64-efi/gcry_sha1.mod /boot/grub/x86_64-efi/archelp.mod /boot/grub/x86_64-efi/xnu_uuid_test.mod /boot/grub/x86_64-efi/zfsinfo.mod /boot/grub/x86_64-efi/macbless.mod /boot/grub/x86_64-efi/legacy_password_test.mod /boot/grub/x86_64-efi/cbtable.mod /boot/grub/x86_64-efi/lspci.mod /boot/grub/x86_64-efi/geli.mod /boot/grub/x86_64-efi/ntfscomp.mod /boot/grub/x86_64-efi/cmdline_cat_test.mod /boot/grub/x86_64-efi/cbfs.mod /boot/grub/x86_64-efi/jpeg.mod /boot/grub/x86_64-efi/parttool.mod /boot/grub/x86_64-efi/xfs.mod /boot/grub/x86_64-efi/ufs2.mod /boot/grub/x86_64-efi/legacycfg.mod /boot/grub/x86_64-efi/video_colors.mod /boot/grub/x86_64-efi/search_fs_file.mod /boot/grub/x86_64-efi/aout.mod /boot/grub/x86_64-efi/ext2.mod /boot/grub/x86_64-efi/bitmap_scale.mod /boot/grub/x86_64-efi/date.mod /boot/grub/x86_64-efi/gcry_camellia.mod /boot/grub/x86_64-efi/ls.mod /boot/grub/x86_64-efi/terminfo.mod /boot/grub/x86_64-efi/linux16.mod /boot/grub/themes /boot/grub/themes/starfield /boot/grub/themes/starfield/starfield.png /boot/grub/themes/starfield/terminal_box_n.png /boot/grub/themes/starfield/terminal_box_w.png /boot/grub/themes/starfield/terminal_box_e.png /boot/grub/themes/starfield/slider_c.png /boot/grub/themes/starfield/slider_n.png /boot/grub/themes/starfield/dejavu_14.pf2 /boot/grub/themes/starfield/boot_menu_ne.png /boot/grub/themes/starfield/theme.txt /boot/grub/themes/starfield/terminal_box_se.png /boot/grub/themes/starfield/terminal_box_sw.png /boot/grub/themes/starfield/boot_menu_w.png /boot/grub/themes/starfield/dejavu_16.pf2 /boot/grub/themes/starfield/terminal_box_c.png /boot/grub/themes/starfield/slider_s.png /boot/grub/themes/starfield/boot_menu_n.png /boot/grub/themes/starfield/boot_menu_se.png /boot/grub/themes/starfield/boot_menu_nw.png /boot/grub/themes/starfield/terminal_box_s.png /boot/grub/themes/starfield/terminal_box_nw.png /boot/grub/themes/starfield/dejavu_bold_14.pf2 /boot/grub/themes/starfield/terminal_box_ne.png /boot/grub/themes/starfield/boot_menu_s.png /boot/grub/themes/starfield/boot_menu_c.png /boot/grub/themes/starfield/blob_w.png /boot/grub/themes/starfield/boot_menu_e.png /boot/grub/themes/starfield/COPYING.CC-BY-SA-3.0 /boot/grub/themes/starfield/dejavu_10.pf2 /boot/grub/themes/starfield/boot_menu_sw.png /boot/grub/themes/starfield/README /boot/grub/themes/starfield/dejavu_12.pf2 /boot/grub/grubenv /boot/grub/locale /boot/grub/locale/pl.mo /boot/grub/locale/lt.mo /boot/grub/locale/en@arabic.mo /boot/grub/locale/it.mo /boot/grub/locale/zh_CN.mo /boot/grub/locale/sl.mo /boot/grub/locale/nl.mo /boot/grub/locale/tr.mo /boot/grub/locale/ast.mo /boot/grub/locale/gl.mo /boot/grub/locale/es.mo /boot/grub/locale/nb.mo /boot/grub/locale/id.mo /boot/grub/locale/uk.mo /boot/grub/locale/sv.mo /boot/grub/locale/pt_BR.mo /boot/grub/locale/fi.mo /boot/grub/locale/ja.mo /boot/grub/locale/vi.mo /boot/grub/locale/pa.mo /boot/grub/locale/de.mo /boot/grub/locale/de@hebrew.mo /boot/grub/locale/hu.mo /boot/grub/locale/en@piglatin.mo /boot/grub/locale/ru.mo /boot/grub/locale/zh_TW.mo /boot/grub/locale/ca.mo /boot/grub/locale/de_CH.mo /boot/grub/locale/en@hebrew.mo /boot/grub/locale/fr.mo /boot/grub/locale/sr.mo /boot/grub/locale/da.mo /boot/grub/locale/en@quot.mo /boot/grub/locale/eo.mo /boot/grub/fonts /boot/grub/fonts/unicode.pf2

my SSD partitions:

[code]Disk /dev/sdb: 232,9 GiB, 250059350016 bytes, 488397168 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: F472C91E-0EB3-4301-94D8-51CFD76363C2

Device Start End Sectors Size Type
/dev/sdb1 4097 618497 614401 300M EFI System
/dev/sdb2 618498 452329250 451710753 215,4G Linux filesystem
/dev/sdb3 452329251 488392064 36062814 17,2G Linux swap[/code]

mount result:

/dev/sdb2 on / type ext4 (rw,noatime,discard,data=ordered) /dev/sdb1 on /boot/efi type vfat (rw,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)

inxi -Fxz:

[muttley@muttley-pc:boot]$ inxi -Fxz System: Host: muttley-pc Kernel: 4.9.31-1-MANJARO x86_64 (64 bit gcc: 7.1.1) Desktop: Gnome 3.24.2 (Gtk 3.22.15) Distro: Manjaro Linux Machine: Device: desktop Mobo: MSI model: Z270 SLI PLUS (MS-7A59) v: 1.0 UEFI: American Megatrends v: 1.30 date: 12/01/2016 CPU: Quad core Intel Core i7-7700K (-HT-MCP-) cache: 8192 KB flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 28040 clock speeds: max: 3500 MHz 1: 998 MHz 2: 999 MHz 3: 999 MHz 4: 1264 MHz 5: 999 MHz 6: 999 MHz 7: 999 MHz 8: 999 MHz Graphics: Card: NVIDIA GM204 [GeForce GTX 970] bus-ID: 01:00.0 Display Server: x11 (X.Org 1.19.3) driver: nvidia Resolution: 1680x1050@59.88hz, 1920x1080@60.00hz GLX Renderer: GeForce GTX 970/PCIe/SSE2 GLX Version: 4.5.0 NVIDIA 375.66 Direct Rendering: Yes Audio: Card-1 NVIDIA GM204 High Definition Audio Controller driver: snd_hda_intel bus-ID: 01:00.1 Card-2 Intel 200 Series PCH HD Audio driver: snd_hda_intel bus-ID: 00:1f.3 Sound: Advanced Linux Sound Architecture v: k4.9.31-1-MANJARO Network: Card: Intel Ethernet Connection (2) I219-V driver: e1000e v: 3.2.6-k bus-ID: 00:1f.6 IF: enp0s31f6 state: up speed: 1000 Mbps duplex: full mac: <filter> Drives: HDD Total Size: 2250.5GB (43.4% used) ID-1: /dev/sda model: WDC_WD20EFRX size: 2000.4GB ID-2: /dev/sdb model: Samsung_SSD_840 size: 250.1GB Partition: ID-1: / size: 212G used: 9.9G (5%) fs: ext4 dev: /dev/sdb2 ID-2: swap-1 size: 18.46GB used: 0.00GB (0%) fs: swap dev: /dev/sdb3 Sensors: System Temperatures: cpu: 29.8C mobo: 27.8C gpu: 1.0:52C Fan Speeds (in rpm): cpu: N/A Info: Processes: 239 Uptime: 28 min Memory: 2679.3/16010.2MB Init: systemd Gcc sys: 7.1.1 Client: Shell (bash 4.4.121) inxi: 2.3.12

So does anyone know a way to fix it? My bet is that I could copy grubx64.efi to /boot/efi/bootx64.efi but I’d prefer to have a reliable way which won’t break when updating (I think that grubx64.efi is regenerated every time a new kernel is installed)

Thanks in advance,
muttley

[1]
Your sdb, where your Manjaro is.
Is that on a removable drive?
If it is, that may be cause of your problem.

[2]
If Manjaro drive is an internal drive,

efibootmgr
sudo grub-install
efibootmgr

Check the output of ‘efibootmgr’ before and after the command.
Is ‘manjaro’ added to the bootorder (in efibootmgr and first in bootorder?)
Reboot and see if it works and verify if ‘efibootmgr’ contains manjaro)

[3]
Failing which, check your bios setup, set to advanced setting, booting setup etc…

[4]
you may have to do the “copy grubx64.efi to /boot/efi/bootx64.efi” to fix it.
Let us know your computer make and model. HP? Lenovo?

[1]
Nope, that’s a SSD which is always connected.

[2]

[muttley@muttley-pc:~]$ efibootmgr Timeout: 1 seconds BootOrder: 0001,0002 Boot0001* Hard Drive Boot0002* CD/DVD Drive [muttley@muttley-pc:~]$ sudo grub-install [sudo] password for muttley: Installing for x86_64-efi platform. Installation finished. No error reported. [muttley@muttley-pc:~]$ efibootmgr Timeout: 1 seconds BootOrder: 0000,0001,0002 Boot0000* manjaro Boot0001* Hard Drive Boot0002* CD/DVD Drive

After reboot:

[muttley@muttley-pc:~]$ efibootmgr Timeout: 1 seconds BootOrder: 0001,0002 Boot0001* Hard Drive Boot0002* CD/DVD Drive

Does something on my MB wipe it out? Manjaro is only OS installed at the moment.

[3] I have it set to UEFI + Legacy mode, priorities look like this:

Hard Disk: Samsung SSD EVO 840 250GB UEFI Hard Disk

[4] that did not help

Computer is self built - as inxi states: i7-7700K, 16 GB RAM, GTX 970, MSI Z270 SLI Plus

I reconfigured EFI partition to mount as /boot instead of /boot/efi, then I installed bootctl, created entry for grub and it magically started working.

Now it looks like that:

[muttley@muttley-pc:~]$ efibootmgr BootCurrent: 0000 Timeout: 1 seconds BootOrder: 0000,0003,0001,0002 Boot0000* Linux Boot Manager Boot0001* Hard Drive Boot0002* CD/DVD Drive Boot0003* UEFI OS [muttley@muttley-pc:~]$ find /boot /boot /boot/EFI /boot/EFI/Manjaro /boot/EFI/Manjaro/grubx64.efi /boot/EFI/boot /boot/EFI/boot/grubx64.efi /boot/EFI/boot/BOOTX64.EFI /boot/EFI/systemd /boot/EFI/systemd/systemd-bootx64.efi /boot/bootx64.efi /boot/loader /boot/loader/entries /boot/loader/entries/grubefi.conf /boot/loader/loader.conf /boot/grubx64.efi

Which is a mess and could break next update, but hey, at least it works.
Also I get booted into GRUB instantly, so I’m not sure if bootctl is even used

Ah… good that it works on bootctl. :+1:
So that must be something in grub then.

And that is another strange thing.
bootctl does not need grub or grub.cfg to work.
It should work by itself. The menu (black and white) will list kernel (only one).

I’ll sleep over it. If you have any notion why that is so, appreciate your feedback, even if that is a guess.
I can’t even guess what’s all with this, now.

ps: when you update your kernel, check if latest kernel is used,
otherwise manually change in /boot/entries/grubefi.cfg
Ah…grubefi.cfg? That’s new to me.
The last time I used, I need to add (new entry) and edit the entries.conf (as well as loader.conf).

Cheers. Thanks for the input.

[edit] - but you don’t have any /boot/grub/xxxx
which means grub is not installed, but why /boot/EFI/boot/grubx64.efi? :open_mouth:

[edit2] - where’s your kernel (and initramfs-xx)?

[edit3]

Should be…

sudo cp /boot/efi/EFI/Manjaro/grubx64.efi /boot/efi/EFI/boot/bootx64.efi

But it did not, I have no idea what is happening right now.

I tried to install linux411 kernel (only 4.9 was installed before), which did install, but the GRUB menu did not see it.
After that I reconfigured the /dev/sdb1 partition from /boot/ back to /boot/efi/
And I found out, that there are files which belong to 4.9 kernel (initramfs, vmlinuz, kver)
So I reinstalled 4.11 again and this time it worked.

It seems that I have a config where GRUB gets the kernel and config from /dev/sdb2.
And that seems reasonable, but I don’t have an idea how installing bootctl magically fixed booting into grub.

Now I have duplicated GRUB files - /boot/grub/* and /boot/efi/grub/* and some kernel files in /boot/efi/, but I guess I’ll just leave it as it is.

efibootmgr:

BootCurrent: 0004 Timeout: 1 seconds BootOrder: 0004,0003,0000,0001,0002 Boot0000* manjaro Boot0001* Hard Drive Boot0002* CD/DVD Drive Boot0003* UEFI OS Boot0004* Linux Boot Manager

I think these files got hidden when /boot was mounted by the system

edit:

That was my idea to make bootctl something like “proxy” to GRUB - it would start grubx64.efi and from there I could use GRUB

Okay, as long as it works.
Hope it stays that way.

Should you have any problem down the road, try installing grub again and

sudo cp /boot/efi/EFI/Manjaro/grubx64.efi /boot/efi/EFI/boot/bootx64.efi

It has worked for a few people here and here including one with an msi motherboard. There’s one website here where the msi bios configuration is explained. Quite a complicated stuff to fix uefi bootorder in the msi mobo, Looks like we have to drag the uefi device icon to make it work.

Anyway, glad it is working now and take care.
Cheers.

Forum kindly sponsored by Bytemark