Re: [SLE] reboot

From: Jon Clausen (jon_at_stevnsgade.dk)
Date: 09/17/05

  • Next message: boricua: "[SLE] du"
    Date: Sat, 17 Sep 2005 09:49:47 +0200
    To: suse-linux-e@suse.com
    
    

    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
    -- 
    Check the headers for your unsubscription address
    For additional commands send e-mail to suse-linux-e-help@suse.com
    Also check the archives at http://lists.suse.com
    Please read the FAQs: suse-linux-e-faq@suse.com
    

  • Next message: boricua: "[SLE] du"

    Relevant Pages

    • fixing grub : mbr fix when windows install after linux
      ... "There is not a boot manager screen at all, ... windows but GRUB boot window does not appear. ... "I forgot to install GRUB, I didn't install GRUB in the MBR, I chose ... Fedora but that was not an active primary partition". ...
      (comp.os.linux.misc)
    • RE: XP Pro boot hanging
      ... using Acronis True Image 11, boot disk. ... After cloning, reboot, I forgot to remove the Acronis CD and USB connected ... Neither drive will boot into Windows. ... I checked drives ...
      (microsoft.public.windowsxp.general)
    • Re: XP Pro boot hanging
      ... Database Developer ... in the boot ini once ... After cloning, reboot, I forgot to remove the Acronis CD and USB connected ... Neither drive will boot into Windows. ...
      (microsoft.public.windowsxp.general)
    • Re: XP Pro boot hanging
      ... Database Developer ... in the boot ini once ... After cloning, reboot, I forgot to remove the Acronis CD and USB connected ... Neither drive will boot into Windows. ...
      (microsoft.public.windowsxp.general)
    • RE: XP Pro boot hanging
      ... You will need to set Windows to show hidden files ... using Acronis True Image 11, boot disk. ... After cloning, reboot, I forgot to remove the Acronis CD and USB connected ... I checked drives ...
      (microsoft.public.windowsxp.general)