I have a dual boot system (Linux and Windows) that I normally run headless and which boots by default into Linux (which is what I use mainly). This all works fine, except that on occasions when I want to boot Windows I have to plug in a keyboard and monitor just to select Windows in the initial grub boot screen. I'm wondering if there is an easier way to do this ? I don't mind if I have to boot Linux first, I just want to be able to reboot into Windows occasionally without having to plug in any peripherals.
feedback
|
|
There is no real simple way to do this as grub is only controllable via keyboard at boottime and has no remote control functionality. Two possibilities come to my mind to solve this problem. First one is scripting based: Write some simple script to adjust your grub.conf/menu.lst before reboot. See default entry in configuration section in grub manual:
Set this to the entry you want to boot. This solution requires you to install a ext2/ext3 driver to your windows, to change the crub.conf/menu.lst from a booted windows system. The second solution i am thinking about might be some adjusted PXE boot where the configuration of the boot menu of the pxe image will be set to the according local disk. This link provides a lot of infomation including "boot from first disk" setting up pxe boot I never tried this but i think it might be possible. Anyways those solutions seem somewhat hacky to me. Maybe someone else comes up with a better one. | |||||||||
feedback
|
|
edit grub to have windows first before you reboot, i suppose - it'll need a little planning, but i suppose you could have a pair of alternate config files which you rename to the correct one before boot | |||
feedback
|