So I have Ubuntu 12.04 on my pc but I'm currently using Windows 7 as my default OS. How do I revert back to Ubuntu?
There is more than one way to set the default. You can set it to a specified number or a name in
There is an entry at the top that says
You can also set it to a specific name, so that the numerical order won't matter - but it needs to be the exact name, such as:
You can set it so the last chosen OS becomes the default until you choose a new one, by adding this line below the GRUB_DEFAULT setting:
Saving an OS can be achieved by running sudo grub-set-default if GRUB_DEFAULT=saved is set in /etc/default/grub. It may also be saved if GRUB_SAVEDEFAULT=true is also set in /etc/default/grub. In this case, the default OS remains until a new OS is manually selected from the GRUB 2 menu or the grub-set-default command is executed.