You shouldn’t edit grub.cfg.
You need to follow instructions a little more carefully - either that or just leave it alone because it’s working ok at the moment.
kate /etc/default/grub
and don’t forget to sudo update-grub.
What is the output of: grep "^menuentry" /boot/grub/grub.cfg | cut -d "'" -f2
Yes he shouldn’t, but as far as I know it is the only possibility to reorganize your Grub menu entries in a specific order. Am I missing something? How can you edit /etc/default/grub to do that?
Wow, nicely spotted.
Actually it’s right to say that you edit 40_custom to put in menu entries, I wonder if it’s worth getting:
`cat /etc/grub.d/40_custom`
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
Maybe we find there the source of the lines in grub.cfg?
Editing grub.cfg was the only way to reorganize the entries…and in arch Linux if I install Linux & Linux LTS then it defaults to the LTS one…I wanted to boot the Linux kernel as default…so after rearranging the ‘menuentries’ I had to edit the Linux line & the intel-ucode line with Linux(previously was linux-lts) and now I have
Windows
Manjaro
Arch
Adv opts for Manjaro
Adv opts for Arch
(And Arch now defaults to Linux kernel…I don’t use the remember previous entry thing)
Wow.
Are you asking me to read through the thread and translate it to English for you?
None of the solutions involve editing gub.cfg.
All of the solutions avoid that… but grub.cfg would, in fact, be altered in the process.
We lost feedback from the OP, so nobody is actually working through this now - so it looks like we aren’t going to get a detailed account of how they did it… and I don’t have other OS’s installed to do a proper investigation myself.