GRUB multiboot: how to change the default boot system 4 one boot
Hello!
First the Rules of the Game: I have a Barebone, which i wanna use as a Server. On this Server i have 2 OperatingSystems installed 1. Debian, Lenny + GRUB 2. Windows Server Problem: There is no Keyboard attached to the Server, im remote controlling it from the desktop (with NX Machine). The default System in GRUB is Linux, to boot Windows Server i can simply change the "menu.lst", and reboot, but from Windows menu.lst is unreachable and on every reboot Windows will be starting, so i can't get back to Linux. Solution?: Is there a way to change the GRUB default start System once, so i can reboot, get into Windows, but on next reboot the default OS in GRUB should be Linux again? |
Yes, you can do that with the "grub-reboot" command executed as root. In your example Debian is the default and listed as entry 1 in your menu.lst config file with windows listed as entry 2. To tell grub to boot entry 2 on reboot while in entry 1, i.e. Debian, run the following command as root:
# grub-reboot 2 It should be that simple. |
Quote:
|
All times are GMT -5. The time now is 09:52 PM. |