Singing the praises of "grub-reboot"
I'm currently running a dual-boot machine at home (Win XP Pro and Ubuntu). Grub is set to default to Ubuntu (which is fine by me) but I had a project I was working on in Windows. Well, thanks to XP's new fangled "I'm gonna update and reboot your computer unattended" features, occasionally I'd find my machine unresponsive to remote desktop sessions... a quick ssh connection later and I'd confirmed my suspicions. The machine had updated and rebooted... into another OS. I looked around for way to specify how to reboot and today I found (and tested) it. The command is "grub-reboot". You simply look at your /boot/grub/menu.lst file and see what number in the list of OSes you want to reboot into and issue the command "sudo grub-reboot 6" (because in my list, 6 is Windows XP Pro). A couple minutes later and remote desktop was working perfectly (tunneled through an ssh connection of course... ;) I now have the power to switch operatings systems remotely which really adds a lot of power to my remote computing abilities. I just wanted to share that tidbit with anybody interested in reading...




1 Comments:
Thanks, that's really cool. I get how to boot into windows from ubuntu, but can you do it the other way around?
Post a Comment
<< Home