Dual boot, booting problem

Hi.

I need some help. I use one disk for Windows 10 and second one for Manjaro. Probably one of the Windows’s updates messed my installation: I can’t boot to Manjaro, no entry in boot menu.
I had this problem few times already in last few months and every time i followed this:
GRUB/Restore the GRUB Bootloader on wiki Manjaro
to fix my problem. It worked until today.

Blockquote
[manjaro@manjaro ~]$ lsblk -o PATH,PTTYPE,PARTTYPE,FSTYPE,PARTTYPENAME
PATH PTTYPE PARTTYPE FSTYPE PARTTYPENAME
/dev/loop0 squashfs
/dev/loop1 squashfs
/dev/loop2 squashfs
/dev/loop3 squashfs
/dev/sda gpt
/dev/sda1 gpt de94bba4-06d1-4d40-a16a-bfd50179d6ac ntfs Windows recovery environment
/dev/sda2 gpt c12a7328-f81f-11d2-ba4b-00a0c93ec93b vfat EFI System
/dev/sda3 gpt e3c9e316-0b5c-4db8-817d-f92df00215ae Microsoft reserved
/dev/sda4 gpt ebd0a0a2-b9e5-4433-87c0-68b6b72699c7 ntfs Microsoft basic data
/dev/sda5 gpt de94bba4-06d1-4d40-a16a-bfd50179d6ac ntfs Windows recovery environment
/dev/sda6 gpt ebd0a0a2-b9e5-4433-87c0-68b6b72699c7 ntfs Microsoft basic data
/dev/sdb gpt
/dev/sdb1 gpt 0657fd6d-a4ab-43c4-84e5-0933c84b4f4f swap Linux swap
/dev/sdb2 gpt c12a7328-f81f-11d2-ba4b-00a0c93ec93b ext4 EFI System
/dev/sdb3 gpt 0fc63daf-8483-4772-8e79-3d69d8477de4 crypto_LUKS Linux filesystem
/dev/sdb4 gpt 0fc63daf-8483-4772-8e79-3d69d8477de4 crypto_LUKS Linux filesystem
/dev/sdc dos iso9660
/dev/sdc1 dos 0x0 iso9660 Empty

sda - Windows HDD
sdb - Manjaro HDD
sdc - Manjaro live pendrive
/dev/sdb2 - Boot partition for Manjaro
/dev/sda2 - EFI i use for both Windows / Manjaro

After following guide on wiki both Manjaro and Windows entries point to Windows HDD.

The solution might be as easy, as changing the boot order in your firmware settings (often referred to as “bios settings”). Sometimes windows changes this order, because of course it likes to be first :wink:

When you booted your life Linux with efi you can use the “efibootmgr” command to check which boot options your firmware has saved and which of them is the default (read: the first one it tries to boot).

You can also change it using efibootmgr, but I find it extremely unintuitive to use.
You can also use efibootmgr to create an entry if it does not exit - which should not be the case, unless it got erroneously removed by the try to fix it? To my knowledge windows does not touch this entry in efi, simply changes the order.

You can also view + change the boot order in your efi (/bios) firmware settings by rebooting your PC and depending on your motherboard either spam ESC, F1, F2, F11, DEL (or some other key).

Thank you but it’s not that. After Windows update (I think) my manjaro entry in boot menu was removed.
In my boot order I have:
Windows Boot Manager (Toshiba)
Toshiba
HGST

Toshiba and HGST are my HDDs. If i pick Windows Boot Manager i go into Windows. If I pick HGST where my Manjaro is installed i get nothing but big “GRUB” on black screen.
I followed guide (GRUB/Restore the GRUB Bootloader on wiki Manjaro) and i get new entry:
manjaro (Toshiba)
If i pick it i get nothing but black screen (not even GRUB).

1 Like

I followed guide again and it worked this time:

  1. su
  2. Mounted /dev/sda2 (EFI partition) to /boot/efi
  3. chroot
  4. grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=manjaro --recheck
  5. grub-mkconfig -o /boot/grub/grub.cfg
2 Likes