[ubuntu] How to change GRUB Bootloader default selection?

view full story

http://ubuntuforums.org – Hi, I think you know the problem. I have Windows 7 and Ubuntu 10.10 installed on my pc, and a bootloader screen that looks like this: with the first entry selected as default. But I want Windows 7 to be selected as default. I googled to change it, and I found this (I don't know if external links are illegal, sorry if so) I applied this solution, e.g. changed /boot/grub/grub.cfg. I changed the line set default="0" into set default="4". When I restarted the pc, it worked fine, the "windows 7" entry was selected, but then on the 2nd restart, the first en (Hardware)