On 12/8/18 8:14 PM, Amish via arch-general wrote:
In my opinion DIY (Do it yourself) does not mean hand write everything from scratch.
KISS (Keep it simple) implies that if you can use a tool (grub-mkconfig in this case) then use it. Because handwriting the whole grub file is time consuming and as well as error prone. Simple is to use a tool in this case. Hand writing a full conf file is no way simple. Ofcourse, once created, its easy to edit the existing one. Hand writing becomes simple in such cases.
Writing your own grub.cfg is so simple my 3 year old brother can make one if someone first teaches him how to use a text editor. Using grub-mkconfig is time-consuming and error-prone, relies on external tools which aren't installed by default for OS detection, and has numerous embarrassing bugs: failure to boot with german locales?? https://bugs.archlinux.org/task/52763 heisenbug with path locations: https://bugs.archlinux.org/task/40029 totally borked with intel-ucode: https://bugs.archlinux.org/task/44288 somewhat borked with intel-ucode: https://bugs.archlinux.org/task/60999 https://bugs.archlinux.org/task/52910 generated menuentries are in the wrong order and default to LTS: https://bugs.archlinux.org/task/28081 generated config may try to boot the installation ISO: https://bugs.archlinux.org/task/51698 ... Did you *actually* read my wiki page, with its three-line grub.cfg? Supporting multiple kernels is nearly as easy, and the primary distinguishing factor between grub and systemd-boot, which people obsess over because of how "simple" the handwritten config file is as opposed to grub, is that instead of systemd-boot storing each one in a different file, grub uses one file, and stores each one inside of a pair of brackets after the word "menuentry".
Hence in my opinion, in your Wiki page, giving priority to writing a configuration from scratch (section 3.2) over using grub-mkconfig (section 3.3) isnt the right approach.
I hereby give you all my meh. You are the very example of the entire Arch Linux distribution being completely ignorant about how grub works due to the LIES of the grub developers who use scary language to make people think it's too hard for mere mortals to use. -- Eli Schwartz Bug Wrangler and Trusted User