I have Raspberry with Raspbian and RaspBMC (installed from NOOBS).
I use Raspbian without monitor, keyboard and mouse at my workshop. SSH, apache and samba is all I need to interact with PI there.
Sometimes I take my Pi to use it at home with RaspBMC. I connect it to TV and mouse.
Sometimes I forgot reboot Raspberry and choose Raspbian to use Raspbian at workshop and I end with XBMC.
The question is:
Where "last operating system used" is stored? How can I reboot into Raspbian when RaspBMC is running?
I have SSH enabled on XBMC.