On Fri, 16 Sep, 2005 at 07:56:31 +0100, John D Lamb wrote:
9.3 has a long-click reboot that lets you choose what grub boots.
Is there a script for this? I'd like to can remote reboot between SuSE and XP on one box.
Your problem will be how to reboot out of windows, and back into linux... no wait... just have linux as the default selection in menu.lst. As to the mechanics of how KDM instructs grub to boot some alternative system, I'm sorry but I don't know. I don't have access to a 9.3 that runs KDE/KDM until monday, so I can't look into it. Since you're talking about Windows, I must assume that you already have some 'remote desktop' infrastructure in place. And as such I think your real task is how to get KDM to display it's little 'box-of-options' when you log out of your KDE-session. Rebooting Windows directly from Windows (which is often needed IIRC) is probably not an option. Unless you go for a setup in which your menu.lst is somehow accessible from inside windows. This probably means something like putting /boot on a separate (fat*) partition, which of course jeopardises your ability to boot the machine at all, should windows (or some antivirus software) suddenly decide to 'maintain'/clean/defrag/otherwise destroy the files. But GRUB is very versatile, and `info grub` *might* shed some light. (The manpage is somewhat limited, the whole manual is available through `info`). As an example of Grub's capabilities; I have this machine that runs headless and holds three systems; 9.3 and two ancient Debians. It's used for compilations for, and PXE booting of, LEAF routers. Since I'm fortunate enough to have that machine sitting next to a server, I had the option of connecting the two by way of a serial cable, and then having Grub display it's menu using the serial connection. Ssh'ing into the server and opening up kermit on the appropriate ttyS*, I get the Grub menu, and may choose to boot either of the three systems. I ended up with this setup, because it seemed the 'path of least resistance', in that it didn't require anything special to be done in any of the systems involved. (Actually I did put a getty on the tty in all three, since I might as well be able to log into the systems through the serial line, now that I was already halfway there)... HTH /Jon -- YMMV