Installation alongside another Linux distro: lost my previous in the GRUB!

hey,
I just installed CachyOS alongside another linux distro (EndeavourOS). During installation, I set:

  • GRUB
  • manual partitioning: (i) I divided free space as ext4 “/” and “/home” partitions, (ii) I set my previous FAT32 partition, as mount “/boot/efi” (not formatting ONLY mounting)…

Now, at the start up, GRUB see only CachyOS. it is a common issue, but I am unsure to the step to fix that.

lsblk

NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
zram0       254:0    0  31,1G  0 disk [SWAP]
nvme0n1     259:0    0   1,9T  0 disk  
├─nvme0n1p1 259:1    0   513M  0 part /boot/efi
├─nvme0n1p2 259:2    0 585,9G  0 part  
├─nvme0n1p3 259:3    0 851,6G  0 part  
├─nvme0n1p4 259:4    0 195,7G  0 part /home/SHARED
├─nvme0n1p5 259:5    0  58,6G  0 part [SWAP]
├─nvme0n1p6 259:6    0  98,2G  0 part /
└─nvme0n1p7 259:7    0 117,2G  0 part /home

nvme0n1p1 is my FAT32 partition for boot
root of ChachyOS is on nvme0n1p6
home of ChachyOS is on nvme0n1p7
root of EndeavourOS is on nvme0n1p2
home of EndeavourOS is on nvme0n1p3

If I run os-prober I see

sudo os-prober
/dev/nvme0n1p2:EndeavourOS Linux (rolling):EndeavourOS:linux

I enabled os-probe GRUB

sudo cat /etc/default/grub | grep 'GRUB_DISABLE_OS_PROBER'
GRUB_DISABLE_OS_PROBER=false

But still I don’t see my second distro in GRUB. What is the next step?

many thanks,
T

Hopefully your other install wasn t wiped out during CachyOS s install @theotrst

I never installed alongside another distro , so I sadly can t help you out with the installer., I would think that their might have been some options in there somewhere.

Edit: Did you install with Calamares or with the CLI

I installed with Calamares. Yes, I believe everything is still there, just I do not see all OS in GRUB…

That sux, please post results from this command @theotrst

lsblk

I already posted lsblk command.

lsblk

NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
zram0       254:0    0  31,1G  0 disk [SWAP]
nvme0n1     259:0    0   1,9T  0 disk  
├─nvme0n1p1 259:1    0   513M  0 part /boot/efi
├─nvme0n1p2 259:2    0 585,9G  0 part  
├─nvme0n1p3 259:3    0 851,6G  0 part  
├─nvme0n1p4 259:4    0 195,7G  0 part /home/SHARED
├─nvme0n1p5 259:5    0  58,6G  0 part [SWAP]
├─nvme0n1p6 259:6    0  98,2G  0 part /
└─nvme0n1p7 259:7    0 117,2G  0 part /home

nvme0n1p1 is my FAT32 partition for boot
root of ChachyOS is on nvme0n1p6
root of EndeavourOS is on nvme0n1p2

I updated grub and EndeavourOS is found (in /dev/nvme0n1p2), but still I dont see it at the start up.

❯ sudo grub-mkconfig -o /boot/grub/grub.cfg
Generating grub configuration file ...
Found background: /usr/share/wallpapers/cachyos-wallpapers/splash.png
Found linux image: /boot/vmlinuz-linux-cachyos
Found initrd image: /boot/initramfs-linux-cachyos.img
Found fallback initrd image(s) in /boot:  initramfs-linux-cachyos-fallback.img
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Found EndeavourOS Linux (rolling) on /dev/nvme0n1p2
Adding boot menu entry for UEFI Firmware Settings ...
done

Ooops, went over it while posting I guess. My bad.

I’d make sure you have os-prober-btrfs and not os-prober. Seems like on some systems os-prober will not pickup secondary OS’s but os-prober-btrfs will.

I will check it out, thanks. But it seems strange that when I update grub, CachyOS finds the other distro installed

Found EndeavourOS Linux (rolling) on /dev/nvme0n1p2