Well these days multi-booting is common. GNU GRUB is a multiboot boot-loader software package from the GNU project. I have three operating system installed at work:
* Debian Linux
* FreeBSD 6.0
* Windows XP
As per my requirements, I keep rebooting into different oses. Recently I discovered grub-reboot command. As name suggest it reboots into the specified OS entry in Grub configuration file (menu.lst or grub.conf).
grub-reboot entry [options to grub]
- entry: Is the entry number in menu.lst / grub.conf file.
For example, if you wish to reboot in FreeBSD then you can type command (3 is entry for FreeBSD):
# grub-reboot 3
This is also useful to force remote computer to reboot in specific OS over ssh session.
Read the man page of grub and grub-reboot for more information.Share this on: