Desktop won't boot into Manjaro and only gets to Grub with Ubuntu, while it can boot into Windows

then you need to boot into live media of manjaro
and follow this guide

go to advanced settings these are basic settings you are looking at.

As I said I can't find it anywhere in the BIOS, including in all possible windows in Advanced settings.

UEFI? Bios-legacy? gpt? msdos? Both? :open_mouth:


1 Like

I will need to find the CD to boot with it before I can continue.

If you can start from a grub, say in your case the Ubuntu grub, you don't need a livecd. You can use that Ubuntu grub, go to its grub prompt and start from step 4 there.

Good luck. Cheers.

OK, I'll try that, thanks.

1 Like

get this tool and throw it on an USB Stick Super Grub. Have it ready and tested before you proceed.
From your bcdedit output i can see, that the winbootloader ist still in the path. When I installed Manjaro on my surface, i had to point this entry to the Manjaro boot loader. Here is how:
Mount the EFI Partition in Windows and check for the Manjaro grubloader: (superuser Powershell)

$ mountvol s: /s
$ s:
$ cd efi
$ ls

In your case the last comman should show


Make a note of the path and description of your bcdedit output. Just in case you have to revert it.
Issue command on Powershell

bcdedit /set '{bootmgr}' /path \EFI\manjaro\grubx64.efi

You can use TAB for autocomplete like in a linux Bash but make sure to get rid of the Drive letter "S:".
Give it a description

$ bcdedit /set '{bootmgr}' description "Manjaro 64"

or whatever description you prefer.
Reboot. Manjaro should boot now. Do a:

$ sudo grub-install
$ sudo update-grub

Reboot. Now you should see all your three OS's in the grub screen.
Let us no the outcome.

I find it easiest on a EFI system to just install grub once per OS and install the rEFInd boot manager to select which os I want to boot from everytime my computer restarts.

So create an ESP, install grub to it from Ubuntu AND manjaro. You will be able to select whether you want to boot to windows OR grub from manjaro, or ubuntu at boot time. This is an easy solution that allows you to dual boot even more OSes, and skip grub's OS prober and your bios config.Screenshot%20from%202018-06-16%2012-17-44

Yes! rEFInd is the tool that saved my but after installing The 17.10.0 Version of Mint. Locked up the BIOS. Biiiig mess last year. I managed to install the next version by using rEFIind and get it fixed. In order to get rEFInd to work you have to make the entry I mentioned earlier with bcdedit or have it installed via a booted Linux. It's a brain jerking thing anyways. Super Grub, somehow, let's you sit back and think.

Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.

PS C:\WINDOWS\system32> mountvol s: /s
PS C:\WINDOWS\system32> s:
PS S:\> cd efi
PS S:\efi> ls

    Directory: S:\efi

Mode                LastWriteTime         Length Name
----                -------------         ------ ----
d-----        8/09/2017   7:21 AM                Microsoft
d-----       21/10/2017   6:06 AM                Boot
d-----        9/11/2017   1:58 AM                ubuntu

PS S:\efi> bcdedit

Windows Boot Manager
identifier              {bootmgr}
device                  partition=S:
path                    \EFI\Microsoft\Boot\bootmgfw.efi
description             Windows Boot Manager
locale                  en-US
inherit                 {globalsettings}
default                 {current}
resumeobject            {54675401-7078-11e8-aae4-99dc52f1ebda}
displayorder            {current}
toolsdisplayorder       {memdiag}
timeout                 30

Windows Boot Loader
identifier              {current}
device                  partition=C:
path                    \WINDOWS\system32\winload.efi
description             Windows 10
locale                  en-US
inherit                 {bootloadersettings}
recoverysequence        {54675403-7078-11e8-aae4-99dc52f1ebda}
displaymessageoverride  Recovery
recoveryenabled         Yes
isolatedcontext         Yes
allowedinmemorysettings 0x15000075
osdevice                partition=C:
systemroot              \WINDOWS
resumeobject            {54675401-7078-11e8-aae4-99dc52f1ebda}
nx                      OptIn
bootmenupolicy          Standard
PS S:\efi> bcdedit /set '{bootmgr}' /path \EFI\manjaro\grubx64.efi
The set command specified is not valid.
Run "bcdedit /?" for command line assistance.
The parameter is incorrect.
PS S:\efi> cd Boot
PS S:\efi\Boot> ls

    Directory: S:\efi\Boot

Mode                LastWriteTime         Length Name
----                -------------         ------ ----
-a----       25/03/2018   9:38 AM        1111928 bootx64.efi
-a----       30/01/2018   6:52 AM          79856 fbx64.efi

PS S:\efi\Boot>

Wow! Looks like Manjaro did not install at all. Or it tries to use the ubuntu grub to run. This will not work. Did you create that super grub usb drive? if so, u will be able to boot manjaro from there. Then to the grub install and update stuff.

So I was able to boot into Manjaro, thanks! Via step 4, I got to the OS menu with Manjaro at the top, and then the next screen said error: grug/grub/env not found. However it then went to the boot screen:

As an aside, is this normal? It happens every time when booting.

I'll update in a minute with some more info...

james at james-pc in ~
$ sudo grub-install /dev/sda
[sudo] password for james: 
Installing for x86_64-efi platform.
grub-install: error: cannot find EFI directory.

james at james-pc in ~
$ sudo update-grub
Generating grub configuration file ...
Found background: /usr/share/grub/background.png
Found linux image: /boot/vmlinuz-4.14-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-4.14-x86_64.img
Found initrd fallback image: /boot/initramfs-4.14-x86_64-fallback.img
Found Windows Boot Manager on /dev/sda1@/efi/Microsoft/Boot/bootmgfw.efi
Found memtest86+ image: /boot/memtest86+/memtest.bin

get rid of the /dev/sda after grub-install.

Same thing.

Will update with diagnostics in a minute.

james at james-pc in ~
$ efibootmgr -v
** Warning ** : Boot000a is not UEFI Spec compliant (lowercase hex in name)
** Warning ** : Boot000b is not UEFI Spec compliant (lowercase hex in name)
** Warning ** : please recreate these using efibootmgr to remove this warning.
BootCurrent: 0001
Timeout: 1 seconds
BootOrder: 000B,0001,0000,0006,0009,000A
Boot0000* Windows Boot Manager	HD(1,GPT,00dfe56f-19c2-4041-a393-7a412f528578,0x800,0x100000)/File(\EFI\Microsoft\Boot\bootmgfw.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.}....................
Boot0001* ubuntu	HD(1,GPT,00dfe56f-19c2-4041-a393-7a412f528578,0x800,0x100000)/File(\EFI\ubuntu\grubx64.efi)
Boot0006* Hard Drive	BBS(HD,,0x0)P1: INTEL SSDSC2CT120A3       .
Boot0009* CD/DVD Drive	BBS(CDROM,,0x0)P2: Optiarc DVD RW AD-7640S   .
Boot000a* Removable Drive	BBS(Floppy,,0x0)Generic-Compact Flash 1.00.
Boot000b* UEFI: USB Flash Disk 1100	PciRoot(0x0)/Pci(0x1d,0x0)/USB(1,0)/USB(4,0)/HD(1,MBR,0x302e1882,0x38,0xefffc8)

james at james-pc in ~
$ sudo parted -l
Model: ATA INTEL SSDSC2CT12 (scsi)
Disk /dev/sda: 120GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags: 

Number  Start   End     Size    File system  Name                          Flags
 1      1049kB  538MB   537MB   fat32        EFI System Partition          boot, esp
 2      538MB   555MB   16.8MB  ext4         Microsoft reserved partition  msftres
 3      555MB   59.8GB  59.3GB  ntfs         Basic data partition          msftdata
 4      59.8GB  60.3GB  487MB   ntfs                                       hidden, diag
 5      60.3GB  120GB   59.7GB  ext4

Model: USB Flash Disk (scsi)
Disk /dev/sdb: 8053MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size    Type     File system  Flags
 1      28.7kB  8053MB  8053MB  primary  fat32        boot, lba

Model: SanDisk Cruzer Switch (scsi)
Disk /dev/sdg: 4005MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size    Type     File system  Flags
 1      16.4kB  4005MB  4004MB  primary  fat32

james at james-pc in ~
$ sudo blkid
/dev/sda1: UUID="B045-E3AF" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="00dfe56f-19c2-4041-a393-7a412f528578"
/dev/sda2: UUID="d00005cc-1c78-48ac-a948-49d8dbc82389" TYPE="ext4" PARTLABEL="Microsoft reserved partition" PARTUUID="25785c95-b823-4d7a-8487-14018c52230b"
/dev/sda3: UUID="E40C304E0C301DCC" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="f481c817-33fe-4744-9f12-fb084834be9a"
/dev/sda4: UUID="405ED0EE5ED0DDAA" TYPE="ntfs" PARTUUID="925755e3-ff0d-44be-80ca-e2589fd2e47d"
/dev/sda5: UUID="2d4a83c1-ad02-4030-bec7-5594929c4232" TYPE="ext4" PARTUUID="153a052d-a2bb-4cbf-83a5-2da3f7903e84"
/dev/sdb1: LABEL="USB DISK" UUID="22D2-ECF6" TYPE="vfat" PARTUUID="302e1882-01"
/dev/sdg1: UUID="5243-55C2" TYPE="vfat"

james at james-pc in ~
$ findmnt -s
TARGET SOURCE                                    FSTYPE OPTIONS
swap   UUID=8f5d666f-b1bf-48a9-8cce-99bd4842f9f6 swap   defaults,noatime
/      UUID=2d4a83c1-ad02-4030-bec7-5594929c4232 ext4   defaults,noatime,discard
/tmp   tmpfs                                     tmpfs  defaults,noatime,mode=17

james at james-pc in ~
$ findmnt /boot/efi;

Forum kindly sponsored by