Can't get in EndeavourOS after a manual grub modification

I’m tyring to make work a thunderbolt audio interface and I had added a position_fix parameter that wasn’t in the grub config file. Now, everytime I try to get into the system, it stucks in grub after the kernel selection (I have more kernel installed).
So, I tried to mount the partition with EndeavourOS from another ssd with Artix. I deleted the position_fix parameter but I’m not sure to had executed the command grub-mkconfig properly from the Artix terminal.
What is the correct way to do that (if there is one)?

I’m sure it’s the same command.

sudo grub-mkconfig -o /boot/grub/grub.cfg

Needs to be in a chroot…

So, the right way to write the command would be: sudo chroot grub-mkconfig -o /boot/grub/grub.cfg?
Have I to add any options for chroot?

No, you need to setup an entire chroot.

However, if you are only trying to change your linux options, you can press e in the grub menu and change them for the next boot.

The ‘e’ options gives me just one option (but I don’t remember what is… I’m not in front of the pc in this moment)
Also, I forgot to say that for each kernel, grub doesn’t show anymore the fallbacks…

I tried using chroot with the help of AI but I didn’t solved the problem yet.
Now, the partition is disappeared from UEFI too! So I can’t boot in anymore!
Anyway I still can acces to files saved on that using the file manager from another OS (now I’m using another ssd with Artix).
I noticed that there’s an “X” on icons of initramfs files. So, I’m woundering if they are damaged or just not-read from grub. I also tried to repair the file system using the gnome-disks utility but it is ok.
What can I do?

Why would you use AI to do such a thing?

https://discovery.endeavouros.com/system-rescue/arch-chroot/2022/12/

2 Likes

Because I’m ignorant! Sigh!!!

1 Like

A good AI would have linked you to the EndeavourOS wiki.

5 Likes