Mint's GRUB doesn't recognize Manjaro

Hi just installed Linux Mint alongside my Manjaro default system, but Mint’s GRUB doesn’t recognize Manjaro, How to make it appare?

Forgot to mention some details:
I’m using GPT partition table without UEFI and all the partitions are BTRFS.
Os-prober & update-grub doesn’t solve.

Use Manjaro’s grub to boot Mint instead. To do so, restore the boot loader from manjaro’s side.

if you want Mint’s grub boot Manjaro better ask in a Mint forum.

2 Likes

Yep, that’s what I would like to do, but Mint’s GRUB overwritten the Manjaro’s one, so not possible

As I said, restore the boot loader from Manjaro’s side. That’s always possible.

You could boot from a live ISO. Then use manjaro-chroot.

1 Like

And how can I boot Manjaro if there’s not that option in the actual GRUB?

Seen your update above. Thanks

Is the tool os-prober installed on Mint?

Sure it is. Boot up from the Manjaro install USB or DVD in live mode and open up a terminal window. Then issue the following commands… :arrow_down:

sudo su -
manjaro-chroot -a

Pick your Manjaro installation from the menu. Then issue the following command… :arrow_down:

nano /etc/default/grub

Make sure that you have these two lines, by modifying the existing ones… :arrow_down:

GRUB_TIMEOUT_STYLE=menu

...

GRUB_DISABLE_OS_PROBER=false

Next, save the file with Ctrl+O and exit nano with Ctrl+X. Then run the following two commands… :arrow_down:

grub-install --recheck --no-rs-codes
update-grub

It should be safe now to cleanly reboot. Don’t forget to remove the USB/DVD in time in order to reboot into the installed system.

Yes, but like I said don’t recognize M.

Downloading M right now, then will do it.
Thanks.

1 Like
   ~  sudo su -                                                                                      ✔ 
[manjaro ~]# manjaro-chroot -a
grub-probe: error: cannot find a GRUB drive for /dev/sdc1.  Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sdc1.  Check your device.map.
==> ERROR: No Linux partitions detected!
[manjaro ~]#

What’s the output of… :arrow_down:

lsblk

…?

NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
loop0    7:0    0    19M  1 loop /run/miso/sfs/livefs
loop1    7:1    0 785.6M  1 loop /run/miso/sfs/mhwdfs
loop2    7:2    0   2.1G  1 loop /run/miso/sfs/desktopfs
loop3    7:3    0 790.9M  1 loop /run/miso/sfs/rootfs
sda      8:0    0 447.1G  0 disk 
├─sda1   8:1    0   500M  0 part 
├─sda2   8:2    0   100G  0 part 
├─sda3   8:3    0    80G  0 part 
├─sda4   8:4    0 266.6G  0 part 
└─sda5   8:5    0     8M  0 part 
sdb      8:16   0 167.7G  0 disk 
├─sdb1   8:17   0    50M  0 part 
├─sdb2   8:18   0 167.1G  0 part 
└─sdb3   8:19   0   520M  0 part 
sdc      8:32   1   7.5G  0 disk /run/miso/bootmnt
├─sdc1   8:33   1   3.7G  0 part 
└─sdc2   8:34   1     4M  0 part

Manjaro’s root directory is /sda2

Please provide output of

sudo fdisk -l
sudo parted -l
sudo blkid
  1. Do you have any other (i.e. split-off) partitions for that Manjaro system?
  2. Which of your drives do you boot from?

Yes, /sda4 as /home

I’m at work right now.
Will answer tonight.

/home is not important in that regard. But what drive do you boot from? That’s the one we need to write GRUB to from within the chroot, and we’re going to have to talk you through a manual chroot, given that the automatic one doesn’t work…

Manjaro has those 2 partitions only and bl must to be on /dev/sda.
It’s always booted from there.

In that case, and given that it’s a legacy BIOS boot, the procedure is less complicated than with UEFI boot. :wink:

Boot up from the install medium in live mode and open up a terminal window. Issue the following commands… :arrow_down:

sudo su -
mkdir /mnt
mount -t btrfs -o subvol=@ /dev/sda2 /mnt
mount --bind /dev /mnt/dev
mount -t proc proc /mnt/proc
mount -t  sysfs sysfs /mnt/sys
chroot /mnt /usr/bin/bash
grub-install --recheck --no-rs-codes --modules="part_gpt part_msdos" --target="i386-pc" /dev/sda
update-grub
exit

After this, things should work, and you should be able to reboot into Manjaro.

:crossed_fingers:

I’ll try tonight.
Thank you so much for now.

1 Like