01-17-2016, 03:35 PM
(01-17-2016, 01:21 AM)gold_finger link Wrote: [quote author=br1anstorm link=topic=2598.msg20201#msg20201 date=1452955688]"syntax error" probably the cause. Could be (and probably is) something stupid like a missing parenthesis, a space in the wrong place, etc. Suggest you copy/paste the full contents of that grub.cfg.new file to site like pastebin, then post link to it back here and also to the Mint forum for austin.texas to take a look at too. Before posting the output, open gedit and changes preferences so it shows the line numbers. That will make finding the mistake a lot easier for us. Gedit -> Edit -> Preferences -> View -> Display line numbers.
........ the alternative route of inserting LL into Mint's Grub, seems not to have worked, which is a pity. But what puzzles me is why it worked for austin.texas (who suggested it) and isn't working for me. The "syntax error" must surely be part of the reason?
Just in case it helps with the detective work, once I had rebooted into Mint I went into the file manager and had a look into its /boot/grub. In there I noticed two grub (menu?) files, grub.cfg and grub.cfg.new. The latter was modified today. ......and it includes the Linux Lite entry - in fact more than one. And line 386 in that cfg.new file is actually the very last line, not a part of the body of the LL entry. I have no idea what this means....! I can copy and paste the whole of that grub.cfg.new file if that would help to figure out the error.
[/quote]
Okay, here we go with the detective work. I have copied and pasted the grub.cfg.new file that was created after I tried to insert LL into Mint's boot menu using austin.texas' method. The full text of that file is in pastebin here.
This was what prompted the "syntax error" message in the terminal when I did sudo update-grub. What I find a bit weird is that the syntax error was said to be at line 386..... and as far as I can see the cfg.new file only goes up to line 385!
But maybe there's more to this than meets the eye?