Grub not working
chris
chevhq at gmail.com
Thu May 5 22:27:09 UTC 2011
On Thu, 2011-05-05 at 17:31 -0400, dave boland wrote:
> I have tried all manner of combinations to get this to work. Currently,
> I get an error in line 147 (of the config file?) when I run update-grub.
> Below is the error and the config file entry starting at line 143.
> Anyone have any ideas?
>
> Generating grub.cfg ...
> Found linux image: /boot/vmlinuz-2.6.38-8-generic
> Found initrd image: /boot/initrd.img-2.6.38-8-generic
> Found memtest86+ image: /boot/memtest86+.bin
> error: syntax error.
> error: Incorrect command.
> error: syntax error.
> error: line no: 147
> Syntax errors are detected in generated GRUB config 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.
> done
>
> ### BEGIN /etc/grub.d/40_custom ###
> # This file provides an easy way to add custom menu entries. Simply
> type the
> # menu entries you want to add after this comment. Be careful not to
> change
> # the 'exec tail' line above.
> # cat /etc/grub.d/40_custom
> #!/bin/sh
> echo 'Windows ME'
> cat<<EOF
Why is this line in grub.cgf:
What would happen if you commented it out
ie
#cat<<EOF ?
the kiwi
More information about the ubuntu-users
mailing list