Oops when I do this my system will only boot up in Recovery Mode. What I had
to do was unhash the line #GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

On Sat, Jan 22, 2011 at 12:13 PM, John McPherson <
john.mcpherson...@gmail.com> wrote:

> Ok, I'm getting somewhere. Acting on a hint from the forum I removed the
> double brackets from my line "GRUB_GFXMODE=>>1024x768x24>> Now I am able to
> update-grub without the syntax error.
>
>
>
> On Sat, Jan 22, 2011 at 11:18 AM, John McPherson <
> john.mcpherson...@gmail.com> wrote:
>
>> Does not seem to have changed anything. I still get "21:syntax error:
>> newline unexpected" when I update-grub. My /etc/default/grub is:
>>
>>
>> # If you change this file, run 'update-grub' afterwards to update
>> # /boot/grub/grub.cfg.
>>
>> GRUB_DEFAULT=0
>> GRUB_HIDDEN_TIMEOUT=0
>> GRUB_HIDDEN_TIMEOUT_QUIET=true
>> GRUB_TIMEOUT=10
>> GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
>> GRUB_CMDLINE_LINUX_DEFAULT="rootflags=umask=007,uid=1000,gid=1000 quiet
>> splash"
>> # GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset
>> video=uvesafb:mode_option=>>1024x768x24<<,mtrr=3,scroll=ywrap"
>> # GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
>> GRUB_CMDLINE_LINUX="splash vga=795"
>>
>>
>> # Uncomment to disable graphical terminal (grub-pc only)
>> #GRUB_TERMINAL=console
>>
>> # The resolution used on graphical terminal
>> # note that you can use only modes which your graphic card supports via
>> VBE
>> # you can see them in real GRUB with the command `vbeinfo'
>> GRUB_GFXMODE=>>1024x768-24<<
>>
>>
>> # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to
>> Linux
>> #GRUB_DISABLE_LINUX_UUID=true
>>
>> # Uncomment to disable generation of recovery mode menu entries
>> #GRUB_DISABLE_LINUX_RECOVERY="true"
>>
>> # Uncomment to get a beep at grub start
>> #GRUB_INIT_TUNE="480 440 1"
>>
>>
>>
>> On Fri, Jan 14, 2011 at 12:36 AM, Naveen Agarwal <
>> 484...@bugs.launchpad.net> wrote:
>>
>>> @paulo bessa
>>>
>>> Editing this line :
>>> GRUB_CMDLINE_LINUX_DEFAULT="rootflags=umask=007,uid=1000,gid=1000 quiet
>>> splash
>>>
>>> To this
>>> :GRUB_CMDLINE_LINUX_DEFAULT="rootflags=umask=007,uid=1000,gid=1000 quiet
>>> splash"
>>>
>>> should solve your problem. As the double quotes was not there in your
>>> case.
>>>
>>> Please post your results.
>>>
>>> --
>>> You received this bug notification because you are a direct subscriber
>>> of a duplicate bug (676405).
>>> https://bugs.launchpad.net/bugs/484499
>>>
>>> Title:
>>>  [MASTER] syntax errors in /etc/default/grub break upgrades
>>>
>>> Status in “grub2” package in Ubuntu:
>>>  Triaged
>>> Status in “grub2” source package in Lucid:
>>>  Triaged
>>>
>>> Bug description:
>>>  Binary package hint: grub2
>>>
>>>  Ubuntu 9.10
>>>  grub-pc 1.97 constantly fails to update
>>>
>>>  ProblemType: Package
>>>  Architecture: i386
>>>  Date: Tue Nov 17 16:55:09 2009
>>>  DistroRelease: Ubuntu 9.10
>>>  ErrorMessage: subprocess installed post-installation script returned
>>> error exit status 2
>>>  InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386
>>> (20091028.5)
>>>  NonfreeKernelModules: nvidia
>>>  Package: grub-pc 1.97~beta4-1ubuntu4
>>>  ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
>>>  SourcePackage: grub2
>>>  Title: package grub-pc 1.97~beta4-1ubuntu4 failed to install/upgrade:
>>> subprocess installed post-installation script returned error exit status 2
>>>  Uname: Linux 2.6.31-14-generic i686
>>>
>>> To unsubscribe from this bug, go to:
>>> https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/484499/+subscribe
>>>
>>
>>
>

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/484499

Title:
  [MASTER] syntax errors in /etc/default/grub break upgrades

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to