Skip to main content
Topic: Grub not Detecting Artix after installing another Linux Alongisde (Read 776 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Grub not Detecting Artix after installing another Linux Alongisde

I had Artix and Windows 10 installation before. After that, I installed Arch Labs in the Windows partition(sda2).

Now, after successful installation when the system restarts, Grub doesn't show Artix entry. Artix is on sda5.

I ran
Code: [Select]
sudo grub-mkconfig -o /boot/grub/grub.cfg
but still doesn't help.

Here's the output of the above command:

Code: [Select]
[archlabs@archlabs ~]$ sudo grub-mkconfig -o /boot/grub/grub.cfg
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-linux-lts
Found initrd image: /boot/intel-ucode.img /boot/initramfs-linux-lts.img
Found fallback initrd image(s) in /boot:  intel-ucode.img initramfs-linux-lts-fallback.img
Found linux image: /boot/vmlinuz-linux
Found initrd image: /boot/intel-ucode.img /boot/initramfs-linux.img
Found fallback initrd image(s) in /boot:  intel-ucode.img initramfs-linux-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 Windows 10 on /dev/sda1
done

What should I do next? Thanks in advance.

Re: Grub not Detecting Artix after installing another Linux Alongisde

Reply #1
It would help to have more information. Does your computer use BIOS or UEFI? Also, what is your partition scheme?
Although it's obvious, have you tried checking the boot options the BIOS Menu Settings/UEFI Firmware Settings to see if there are multiple GRUB entries?

Re: Grub not Detecting Artix after installing another Linux Alongisde

Reply #2
Try to look here:
https://wiki.archlinux.org/title/GRUB#Detecting_other_operating_systems
Also, IIRC, grub won't find another installed system if it is on a btrfs subvolume.

FYI: update-grub is a wrapper for grub-mkconfig -o /boot/grub/grub.cfg.

Re: Grub not Detecting Artix after installing another Linux Alongisde

Reply #3
Quote from: VictorBrand link=msg=23046 date=1642892542 FYI: [tt
>FYI: update-grub is a wrapper for grub-mkconfig -o /boot/grub/grub.cfg.

Yes both Linux partitions are Btrfs. So what should i do next?


Re: Grub not Detecting Artix after installing another Linux Alongisde

Reply #5
Yes both Linux partitions are Btrfs. So what should i do next?
If you use just plain btrfs partitions, just follow the guide I've posted link to above.

If your systems are installed onto btrfs subvolumes, tough luck, grub won't find other systems automatically. You'll need to add grub menu entries manually (there are some guides on the Internet on how to do that) or use UEFI boot loaders instead of BIOS and choose your system during startup using the UEFI menu.