So I figured out how to change 'default' in /boot/grub/menu.lst to whatever OS that I want to boot up with. Say my GRUB menu is configured like this at the moment, and 'default' is set to 0:
0: kernel 2.6
1: kernel 2.6 recovery mode
2: ubuntu memtest86
3: ----------separator---------
4: win xp
Say if I'm logged in remotely via SSH and I want to boot to win xp, is there a way for me to reboot to Windows XP (default 4) just for once, without changing 'default' to '4'?
I'm imagining something like reboot --boot-option='4' so I can choose which OS to load at boot up?
0: kernel 2.6
1: kernel 2.6 recovery mode
2: ubuntu memtest86
3: ----------separator---------
4: win xp
Say if I'm logged in remotely via SSH and I want to boot to win xp, is there a way for me to reboot to Windows XP (default 4) just for once, without changing 'default' to '4'?
I'm imagining something like reboot --boot-option='4' so I can choose which OS to load at boot up?