GRUB fails to install correctly after a Calamares Online Install

Hello, i tried installing EndeavourOS (after trying CachyOS which had the same issue), so after the install, I can’t boot into EndeavourOS it shows:
error: unknown filesystem.
I had this issue prior on CachyOS, hence I had done a grub-install and a grub-mkconfig through arch-chroot, but it resulted in a default arch grub config, due to which, everytime I boot, GRUB shows “Arch Linux” instead of “Endeavour OS”, and “Advanced Options for Arch Linux” instead of “Advanced Options for Endeavour OS”, for which I think the latter should be the default, but it isn’t in this case
This occurred every time I tried to install EndeavourOS with no desktop, also, I’m trying to dual boot with Windows 10. Hence, I went with manual partioning, here is my config

  1. /dev/sda1: System Reserved (Windows) 50MiB
  2. /dev/sda2: Windows 10 (FS:NTFS)
  3. /dev/sda3: EndeavourOS (FS:XFS) mounted to / with FS flags root
  4. /dev/sda4: Extra Swap (linux swap) with FS flags swap

Also os-prober seems to be broken due to the latest version of GRUB, hence I need to add a manual entry for Windows 10.

Also, here are the contents of the /etc/default/grub file:
https://0x0.st/oRV2.txt
and /boot/grub/grub.cfg
https://0x0.st/8jyp.txt

Is there any solution for this very “niche” problem?

rootfstype=xfs

You can test adding this on your kernel boot options. On grub boot menu, press e to edit and add this. Maybe it helps.

I don’t think it’s possible to do that on the grub rescue menu. After doing a grub-install and grub-mkconfig, through arch-chroot I could boot into EndeavourOS, the issue, which is a very small issue, consists of the GRUB menu showing Arch Linux and Advanced Options for Arch Linux instead of EndeavourOS or something, referring to /etc/default/grub, I see that the distributor parameter is set to Arch, instead of something like EndeavourOS perhaps. It’s just a decorative issue, but I don’t understand why the error: unknown filesystem issue on the grub rescue menu persists on arch-based distros like Cachy and Endeavour (even after multiple tries of troubleshooting why it occurs) which can’t be fixed without chrooting into the install.

Welcome to the forum :enos_flag: :enos:

Being in no way an expert in this did you read the wiki about this.
https://discovery.endeavouros.com/installation/live-iso-tricks-tips/2021/03/

there is a part about manual partitioning.

Thank you!, I set the flags of the main xfs partition to root, instead of boot, could this be the reason of the error?

So you can boot to your system?
Then try to add rootfstype=xfs to kernel boot options in /etc/default/grub.

GRUB_DISTRIBUTOR=

Change to EndeavourOS in /etc/grub/default,

1 Like

What I was wondering about isn’t there a fat 32 efi partition required ? .

From their grub.cfg, it looks it is a msdos disk so a legacy install.

Yes, I can boot to my system, and it functions properly, I added the rootfstype=xfs parameter, nothing changed.

Upon changing the GRUB_DISTRIBUTOR value to EndeavourOS, it shows EndeavourOS and Advanced Options for EndeavourOS, the issue has been fixed! But is there any reason to why calamares might have failed to do so before?

1 Like

Sorry, I forgot to mention this, I’m using a system which uses the MBR partition table and uses a Legacy BIOS

I don’t know. I haven’t used Calamares lately. Maybe that’s a question for devs.

One thing tough have you got the latest download of EOS.
https://endeavouros.com/news/mercury-neo-with-linux-6-13-7-and-arch-mirror-ranking-bug-fix/

I guess it might be a calamares issue, or a grub issue since it occurs on CachyOS too which uses calamares, or its just an user error (i.e setting the root flag instead of adding the boot flag)

1 Like

Yes! I download the EOS ISO around 6 hours before, and it is indeed the latest one.

The wiki mentions something about setting the boot flag as well creating a empty partititon of 8mb.
Not sure the last thing is needed in this case.

The 8MB partition is for GPT installs, I rather use MBR because I need Windows, which can only boot on MBR while on legacy mode

1 Like

Like I said I am not an expert on this :smiley:

1 Like

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