Cant find boot manjaro on my Mac computer

Hello,

Good evening!

I already own a laptop with Manjaro KDE MInimal. But I also own a Mac mini, I abandned Deepin OS due to bugs, as principally my keyboard language and migrated to Manjaro KDE minimal the which I installed on a Mac mini.

I followed the following tutorials of @gohlip, but these tutorials work only on non-Mac computers with EFI and UEFI (if enabled). My Mac has a different EFI.

In spite of it, I have installed Ubuntu and Deepin OS before, therefore, my Mac also has own UEFI/EFI grub which belonged to Ubuntu and is in a separated partition of 8GB. But Ubuntu EFI grub does not detect the Manjaro bootloader. Then I used the tricks search.file /etc/manjaro-release root and configfile /boot/grub/grub.cfg and booted successfully into Manjaro KDE minimal's grub in my Mac. But the problem is that the OS reads the partitions and does not recognise the Ubuntu EFI of 8GB partition which belongs to sdb, althouht High Sierra belong to sdb while Manjaro to sda. When Ubuntu EFI belonged to sdb, High Sierra belonged to sdc.

The commands pacman-mirrors and pacman -Syyu worked. I updated and upgraded everything, including grub. But the next commands in @gohlip's tutorials, as principally sudo grub-install failed. See the result:

$ sudo grub-install /dev/sdb
[sudo] password for gusbemacbe: 
Installing for x86_64-efi platform.
grub-install: error: cannot find EFI directory.

Then I will provide the informations as @gohlip asked in his tutorials:

  • EFI or UEFI or BIOS Legacy:
$ test -d /sys/firmware/efi && echo using uefi || echo using bios-legacy
using uefi
  • List of partitions:
sudo parted -l
Model:  Mass Storage Device (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size    Type     File system     Sinalizador
 1      1049kB  8002MB  8001MB  primary  linux-swap(v1)
 2      8002MB  500GB   492GB   primary  ext4


Model: ATA Hitachi HTS54755 (scsi)
Disk /dev/sdb: 500GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags: 

Number  Start   End    Size   File system  Name                  Sinalizador
 1      20,5kB  210MB  210MB  fat32        EFI System Partition  boot, esp
 2      210MB   499GB  499GB  hfs+         High Sierra
 3      499GB   500GB  650MB  hfs+
  • fstabfile:
$ cat /etc/fstab

# <file system>                                  <mount point>          <type>  <options>  <dump>  <pass>
UUID=92cc8dcd-ae83-44f4-813b-9c149dc03d0b        swap                   swap    defaults,noatime 0 2
UUID=129037ba-788e-439d-a442-8ebede70a7fe        /                      ext4    defaults,noatime 0 1
  • List of UUIds names:
sudo blkid
/dev/sda1: UUID="92cc8dcd-ae83-44f4-813b-9c149dc03d0b" TYPE="swap" PARTUUID="2ff96b3e-01"
/dev/sda2: UUID="129037ba-788e-439d-a442-8ebede70a7fe" TYPE="ext4" PARTUUID="2ff96b3e-02"
/dev/sdb1: LABEL="EFI" UUID="67E3-17ED" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="2b51e9de-db7c-473e-9238-db0d2691cb4c"
/dev/sdb2: UUID="0ad0d00c-4782-3d2c-a629-5acbd1792bc1" LABEL="High Sierra" TYPE="hfsplus" PARTUUID="822f779b-012e-4aa9-9596-75ebfedddec9"
/dev/sdb3: UUID="01cb061d-937b-3aba-943c-0ba15f417b93" LABEL="Recovery HD" TYPE="hfsplus" PARTUUID="4cf1744f-ccc4-4df8-b7c0-71560b6792a4"
  • Lccating the boot:
$ findmnt /boot
$ findmnt /boot/efi

But found in another command:

findmnt -s
TARGET SOURCE                                    FSTYPE OPTIONS
swap   UUID=92cc8dcd-ae83-44f4-813b-9c149dc03d0b swap   defaults,noatime
/      UUID=129037ba-788e-439d-a442-8ebede70a7fe ext4   defaults,noatim

In these last commands, no outputs.

  • List of boots:
$ efibootmgr -v
BootCurrent: 0000
Timeout: 5 seconds
BootOrder: 0080,0001,0000
Boot0000* ubuntu        HD(1,GPT,2b51e9de-db7c-473e-9238-db0d2691cb4c,0x28,0x64000)/File(\EFI\ubuntu\shimx64.efi)
Boot0001* deepin        HD(1,GPT,2b51e9de-db7c-473e-9238-db0d2691cb4c,0x28,0x64000)/File(\EFI\deepin\shimx64.efi)
Boot0080* Mac OS X      PciRoot(0x0)/Pci(0x1f,0x2)/Sata(0,0,0)/HD(2,GPT,822f779b-012e-4aa9-9596-75ebfedddec9,0x64028,0x3a1ec0c0)
Boot0081* Mac OS X      PciRoot(0x0)/Pci(0x1f,0x2)/Sata(0,0,0)/HD(2,GPT,822f779b-012e-4aa9-9596-75ebfedddec9,0x64028,0x3a1ec0c0)
Boot0082*       PciRoot(0x0)/Pci(0x1f,0x2)/Sata(0,0,0)/HD(2,GPT,0d3bd842-ba9a-442d-a33b-4f70567f7dcf,0x64028,0x3a1ec0c0)
BootFFFF*       PciRoot(0x0)/Pci(0x1f,0x2)/Sata(0,0,0)/HD(2,GPT,000072ce-62da-0000-532e-0000b35c0000,0x64028,0x3a1ec0c0)/File(\System\Library\

I regret to inform you that you have installed Manjaro in MSDOS mode. And of course as you can see, there is no /boot/efi partition, neither in fstab, nor in sda drive.
You should try to install from the start.

  1. Make sure you boot Manjaro ISO in UEFI mode
  2. During installation, choose your (currently) sdb1 fat32 partition to mount as /boot/efi
  3. If, after installation, there is no boot option for Manjaro, post the same commands outputs here.

And using a personnal reference in the title is not a sane behavior IMHO. What was the meaning? Even if it was true, it sounds offensive to the least. :rage:

2 Likes

I edited the title.

I agree it was insulting and inaccurate.

I am sorry, @AgentS and @tbg. I am autistic and deaf-born. I do not know how to write good titles and to express myself.

I could not imagine, sorry. Don't worry, this community is really friendly to people in any need :grin:

I hope my post was clear enough on what you need to do to get Manjaro properly installed. If in any doubt, please ask.

tilte is correct now

1 Like

Hi,

Following your steps, botting from Manjaro KDE Minimal ISO USB drive, I pressed C to enter grub and I typed search.file /etc/majaro-release/ root, but nothing found. Then I typed /etc/manjaro-release/ and it found hd03,msdos3. Then I typed set root=(hd03,msdos3)and configfile /boot/grub/grub.cfg. I ended up being swalloed into the Ubuntu EFI grub, which did not detect the Manjaro bootloader. I was unable of booting into Manjaro KDE of sda.

I returned again to Manjaro ISO normal grub and checked the detecction of bootloaders. There are many and many boots, including Deepin's and Ubuntu's.

But the Manjaro KDE Minimal ISO does not recognise the Ubuntu EFI partition. Here is the parted -l result:

[manjaro@manjaro ~]$ sudo fdisk -l
Disk /dev/loop0: 109.6 MiB, 114913280 bytes, 224440 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


Disk /dev/loop1: 303.1 MiB, 317845504 bytes, 620792 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


Disk /dev/loop2: 405.2 MiB, 424828928 bytes, 829744 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


Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 1F8A0E99-0E9F-4E04-B265-9A95DA884D4E

Device         Start       End   Sectors   Size Type
/dev/sda1         40    409639    409600   200M EFI System
/dev/sda2     409640 975503591 975093952   465G Apple HFS/HFS+
/dev/sda3  975503592 976773127   1269536 619.9M Apple boot


Disk /dev/sdb: 3.7 GiB, 4004511744 bytes, 7821312 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: dos
Disk identifier: 0x00000000

Device     Boot   Start     End Sectors   Size Id Type
/dev/sdb1  *         64 1785275 1785212 871.7M cd unknown
/dev/sdb2       1785276 1793467    8192     4M ef EFI (FAT-12/16/32)


Disk /dev/sdc: 465.8 GiB, 500107860992 bytes, 976773166 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: dos
Disk identifier: 0x2ff96b3e

Device     Boot    Start       End   Sectors   Size Id Type
/dev/sdc1           2048  15628287  15626240   7.5G 82 Linux swap / Solaris
/dev/sdc2       15628288 976768064 961139777 458.3G 83 Linux

Maybe Ubuntu EFI can be sda1 which belngs to High Sierra. Using the ISO to enter grub, I was unable to boot into sdc. Instead I am swalloed into Ubuntu EFI.

[manjaro@manjaro ~]$ sudo grub-install /dev/sda
Installing for x86_64-efi platform.
grub-install: error: cannot find EFI directory.
[manjaro@manjaro ~]$ sudo grub-install /dev/sdc
Installing for x86_64-efi platform.
grub-install: error: cannot find EFI directory.

I think you misunderstood.
You need to re-install Manjaro. You have Manjaro installed in MSDOS mode, though it should be installed in UEFI mode.

Boot to Manjaro ISO in UEFI mode (I guess you have already done, as I read your last post).

  • Start the Live ISO in UEFI mode (NOT start any repair or find EFI bootloaders)
  • In Live session, start Gparted (or other) and re-create partitioning scheme on " Disk /dev/sdc: 465.8 GiB", using type GPT
  • Install Manjaro on this drive, create / and swap partitions
  • Use the existing vfat (fat32) partition as /boot/efi in mounting system partitions (sda1 in your previous output).
2 Likes

Hello,

It worked.

Wow, everybody, including me, forgot that creating a FAT32 partition for boot is important, althought somebody here says it is not important. But it depends on the computer.

The problem is that when I press option (⌥) to to select boot partition in the which it shows two EFIs - Ubuntu EFI and Manjaro EFI. Should I remove or keep Ubuntu EFI since there be already a Manjaro EFI?

I missed this comment, where is it?
For UEFI installations you can't do it without a fat32 partition.

It can be kept as a safety option (personal opinion). If you test both options are working, you may delete Ubuntu one. It depends on your preference.

Texts extracted from the topic I am facing the difficulty with parted during the installation of Manjaro Architect :

Maybe you can ask @gohlip and @Chrysostomus why no need for boot partition.

This is correct mostly always (only when is needed for a reason).
You confuse the /boot system partition with the UEFI bootloaders partition, usually mounted on /boot/efi.
On UEFI systems you NEED a bootloader fat32 partition.
In some cases you MAY use a /boot system partition as UEFI bootloader partition, if it is fat32 (which is not generally proposed for several reasons, but may be handy in some situations like when using rEFInd for bootloader).

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

Forum kindly sponsored by