sudo grub-mkconfig didn’t worked so I tried the 2nd method and after doing that I got an error saying: Generating Grub configuration file... Script `/boot/grub/grub.cfg.new' contains no commands and will do nothing Syntax errors are detected in generated GRUB config file. Ensure that there are...