I finally got around to setting things up so I can use my fast box headless without too much pain.
What I wanted was to have the system boot into Linux by default, but to be able to boot it into Windows as desired via a reboot from Linux. Then another reboot from Windows would get me back into Linux. This way I can boot into Windows as needed, use it via remote desktop, then back to Linux and ssh when done. Turns out, this is more annoying than necessary due to the local hacks fedora has to grub which cause the official documented version of how things should work to fail. There was also the minor issue that the normal ways of shutting down Windows via the GUI are not available over remote desktop.
What I have set up now is:
alias winboot='echo "savedefault --default=2 --once" | /sbin/grub && /sbin/shutdown -r now'to
/root/.bashrsince my Windows option is at slot 2 as far as grub is concerned.
shutdown -r -f -t 0.
Seems to work great so far.Posted by bzbarsky at March 4, 2010 2:12 PM