I was trying to change default boot option for my laptop(ubuntu and Windows). I can not update the grub which is the last step. When enter the command "sudo update-grub" i get this error "Searching for GRUB installation directory ... found: /boot/grub /etc/default/grub: line 1: ^Y: command not found".
I followed these instructions, How do I set Windows to boot as the default in the boot loader?
I installed boot-repair tool and this is my URL: http://paste.ubuntu.com/11907417/