Since some days ago, when I update something, and the GRUB creates a new config for adding the new snapshot, I get syntax errors. I didn't edit any dotfile. Does not say which dotfile is, only says
/usr/bin/grub-probe: warning: unknown device type nvme0n1.
error: syntax error.
error: Incorrect command.
error: syntax error.
Syntax error at line 238
Syntax errors are detected in generated GRUB config file.
Ensure that there are no errors in /etc/default/grub
and /etc/grub.d/* files or please file a bug report with
/boot/grub/grub.cfg.new file attached.
I tried the option of Repair GRUB config file on Garuda's boot repair tool, but I got the same as above. I attach all files in /etc/grub.d/, and in /etc/grub.d/proxifiedScripts with more of 238 lines.
Thanks for helping me!
Oh, yes. I used grub customizer on my Arch Linux 1 year and I didn't have any problem, so I installed it in Garuda too. A big error. Anyway, my snapshots are newer than when I used customizer, so I'll have to reinstall grub.
When doing that, I get this error. What should I do?
Installing for i386-pc platform.
grub-install: warning: your core.img is unusually large. It won't fit in the embedding area.
grub-install: error: filesystem `btrfs' doesn't support blocklists.
When installing it on ESP I got that error of the dotfile
/usr/bin/grub-probe: warning: unknown device type nvme0n1.
error: syntax error.
error: Incorrect command.
error: syntax error.
Syntax error at line 238
Syntax errors are detected in generated GRUB config file.
Ensure that there are no errors in /etc/default/grub
and /etc/grub.d/* files or please file a bug report with
/boot/grub/grub.cfg.new file attached.
Ah, sorry. I’m going to delete what that command told me. I’m a little stressed these days and I want to do the things as fast as possible, so I not read as minutely as I should the terminal sometimes.
Ugh. After deleting files owned by GRUB, reinstalling and mkconfing I got the error of the dotfile, but in a different line.
/usr/bin/grub-probe: warning: unknown device type nvme0n1.
error: syntax error.
error: Incorrect command.
error: syntax error.
Syntax error at line 120
Syntax errors are detected in generated GRUB config file.
Ensure that there are no errors in /etc/default/grub
and /etc/grub.d/* files or please file a bug report with
/boot/grub/grub.cfg.new file attached.
It also happens to me.
@petsam If you think you could help me, find easily where’s the problem and do the things faster, I could create you a user with sudo privileges and let you SSH into my computer.
Can I get someone to do remote house cleaning for me, I hate vacuuming and doing windows, so I'd really like someone to perform these chores for me.Well, let me rephrase that I actually just really hate Windows, so I can't bear to to even touch Windows.
So can someone please do that for me. I'd really appreciate that.
I didn't respond because I had some troubles with my ISP.
One thing is if they're easy (because they are). The Other thing is if they work. If you don't want to help me, just don't do it. I told you what happened after executing the commands you told me. I said you to SSH into my computer for finding something that we could miss, and because I know you are experienced with this. If you don't want to do that, tell me "no". You are supposed to be here for helping the people because you want, not to be profited with that.
I solved the problem by removing manually all the syntax errors on the generated grub.cfg.new and replacing with it the grub.cfg. In the grub.cfg.new appeared a lot of random ^M. Was just a simple :%s/^M//g on vim. If you are reading this, and you have the same issue, remember that the ^M must be entered with ctrl+v ctrl+m, because vim will treat different a manually entered ^M than a ctrl-entered ^M (sounds strange but is true).
Seems like a temporal fix, but at least works.
In the spirit of personal freedom to suggest your own intentions yourself, I would like to express my own perspective and intention on what I am supposed to do.
If you have read any statement throughout the forum rules or Garuda web page, on “what we are supposed to do”, please provide a link. I may have been misled.
Free open source software expects users to provide feedback for improvement and respect to the developers.
I am not a Garuda developer, though I help other users with troubles in their Garuda installation, because I want to, but my intention is not to serve. It is an equal relationship between friends.
If you are not my friend, I have no rush or care of helping you. If I do, then you should feel lucky and if you have any morality, you should appreciate.
I haven’t told you to run any command. The command I posted was a tip.
If you don’t want to learn how to administer and control your linux installation, you are not in my task list. I help people who accept their responsibility of being the System Administrator of their own system.
Go for Windows OS, or other preferred OS, if you don’t agree. At least if you would like to request for a technical advice from myself.
Are you a troll? If you know all that, how can’t you follow simple instructions?