Grub not working

dave boland dboland9 at fastmail.fm
Thu May 5 21:31:49 UTC 2011


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
menuentry "WinME" {
chainloader (hd0,1)+1
}
EOF
### END /etc/grub.d/40_custom ###

Dave,
-- 
  dave boland
  dboland9 at fastmail.fm

-- 
http://www.fastmail.fm - Choose from over 50 domains or use your own





More information about the ubuntu-users mailing list