Editing grub2.0 on Ubuntu 11.10
Edit this file
/etc/default/grub
And after it run
sudo update-grub
It will update the settings in generated file
/boot/grub/grub.cfg
Count the number of entries in the menu when the computer starts and
if you want to select i-th entry write to /etc/default/grub i-1