Can Grub be configured to remember the last OS you booted into?
- by Matthew
I typically have 2-3 OSes in my boot menu:
Ubuntu 10.04
Windows 7
[Sometimes, a third option, such as Ubuntu 10.04 Netbook]
If I am in an OS other than the default choice (Windows 7 in this case), and I reboot, Grub boots into Ubuntu 10.04. This shouldn't happen--when I reboot in Windows 7, I want to stay in Windows 7. Is there any way to configure Grub to remember my last choice, and boot into that?
Alternatively, it would be even better if Grub only did this when I rebooted (not when I first turn the computer on). I realize this may not be possible, so I'd be happy with simple last-choice-remembering.