LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-08-2013, 02:46 PM   #1
Amanda_L
LQ Newbie
 
Registered: Oct 2013
Posts: 21

Rep: Reputation: Disabled
Arch Linux - Grub error


I'm trying to install Arch and I'm stuck at the following command:

Code:
grub-mkconfig -o /boot/grub/grub.cfg
Which gives me the following error.

Code:
Error: out of memory
Error: syntax error
Error: incorrect command
Error: syntax error
Syntax error at line 150
Syntax error are detected in generated grub 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.
Following a thread on ArchLinux's forums I can see that it might not get fixed soon https://bbs.archlinux.org/viewtopic....58176#p1358176

So, people are suggesting that we add the following lines to /etc/default/grub:

Code:
GRUB_DISABLE_SUBMENU=y
What could happen with that line of code? What side effects? What about after the grub is updated?
 
Old 12-09-2013, 09:32 AM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 8,895

Rep: Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857
Quote:
What could happen with that line of code?
Grub Legacy and earlier releases of Grub2 had a menu in grub.cfg. The newer Grub2 has sub-menus under the main menu in some cases and changing your entry as suggested in /etc/default/grub would eliminate sub-menus and leave you with just one menu.

After updating Grub, the change would persist if you have this entry in /etc/default/grub.

I'm not really sure of the reasoning behind sub-menus, nor its advantages and disadvantages.
You forgot to post what is actually on line 150, the reported error line. I'm guessing it is: {
 
Old 12-09-2013, 01:43 PM   #3
Amanda_L
LQ Newbie
 
Registered: Oct 2013
Posts: 21

Original Poster
Rep: Reputation: Disabled
That depends on which file we're talking about.
 
Old 12-09-2013, 02:07 PM   #4
Germany_chris
Senior Member
 
Registered: Jun 2011
Location: Wiesbaden, Germany
Distribution: Arch
Posts: 1,052

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
I use syslinux IMHO it's simpler but seems to update more than GRUB.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Removing GRUB loading screen Arch Linux BodieSkate Linux - Newbie 1 09-17-2013 12:17 AM
Error in arch linux: symbol lookup error: /usr/lib/libgtk... armb78 Linux - Desktop 1 03-12-2012 10:02 AM
GRUB error 15 on stage1.5. Trying to dual boot Arch and WinXP Kao Linux - Newbie 11 07-11-2009 08:16 PM
GRUB question Arch Linux/XP RagingGoose Linux - Newbie 9 09-04-2007 07:09 PM
Stuck at grub config for Arch Linux DeadPenguin Linux - Newbie 1 11-14-2004 02:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration