Professional Web Applications Themes

Dual Boot - Remotely changing - Linux Setup, Configuration & Administration

Hi: I guess I am greedy, but I would like to be able to remotely reboot my Mandrake 9.2 / Windows XP Pro dual boot PC to the OS of my choice. I can go from Mandrake to XP easily enough -- just change the default in "Configure your Computer" / "Boot" and change the "default" to XP in GRUB boot loader via my VNC connection and reboot via shh login as root. But the other way is beyond me except through directly editing in GRUB file from XP. But I am running EXT3 on the Linux partitions and a ...

  1. #1

    Default Dual Boot - Remotely changing

    Hi:

    I guess I am greedy, but I would like to be able to remotely reboot my
    Mandrake 9.2 / Windows XP Pro dual boot PC to the OS of my choice.

    I can go from Mandrake to XP easily enough -- just change the default in
    "Configure your Computer" / "Boot" and change the "default" to XP in
    GRUB boot loader via my VNC connection and reboot via shh login as root.

    But the other way is beyond me except through directly editing in GRUB
    file from XP. But I am running EXT3 on the Linux partitions and a
    concerned as I have read the Win32 software to write to Linux partitions
    is not 100% reliable.

    Any help would be appreciated.

    Thanks,
    Jess
    Jess Guest

  2. #2

    Default Re: Dual Boot - Remotely changing

    Jess wrote:
     
    Do not do it this way, instead install lilo as a bootloader.
    Your default is linux and ALWAYS linux, BUT with lilo -R you can set the
    default for next reboot only! See man page for lilo or ask again. 

    Jesper Guest

  3. #3

    Default Re: Dual Boot - Remotely changing

    On Tue, 27 Jan 2004 04:56:44 -0500, Jess wrote:
     
    This was a tricky one, but I think I have it. This uses the technique
    detailed here:
    http://www.geocities.com/epark/linux/grub-w2k-HOWTO.html

    Prepartion:
    1. Boot Linux and goto your grub directory.
    2. make two copies of stage2
    cat stage2 >stage2.linux
    cat stage2 >stage2.xp

    3. make two copies of menu.lst (or grub.conf)
    cat menu.lst >menu.linux
    cat menu.lst >menu.xp

    4. edit menu.linux to setup default entry to point to linux stanza
    5. edit menu.xp to setup default entry to point to xp stanza
    6. run grub to install grub on your ext2/ext3 partition (using
    (hd0,1) as an example here):
    grub>root (hd0,1)
    grub>setup (hd0,1)
    grub>install /boot/grub/stage1 (hd0,1) /boot/grub/stage2.linux p /boot/grub/menu.linux
    grub>quit

    7. save the partition's BPB to a file:
    dd if=/dev/hda2 of=bs.linux count=1 bs=512

    8. run grub to install grub on your ext2/ext3 partition (using
    (hd0,1) as an example here):
    grub>root (hd0,1)
    grub>setup (hd0,1)
    grub>install /boot/grub/stage1 (hd0,1) /boot/grub/stage2.xp p /boot/grub/menu.xp
    grub>quit

    9. save the partition's BPB to a file:
    dd if=/dev/hda2 of=bs.xp count=1 bs=512

    10. Transfer the files (bs.linux and bs.xp) to your windows partition and modify boot.ini per
    the instructions above (ed park).

    Now, when booted into XP, you can set boot.ini to either boot linux or xp on the next boot.

    Keep GRUB at the MBR. When booted into linux, you change the default OS
    as you have been doing, by changing the menu.lst file.

    It's not pretty, but I think it works!

    --
    And you let him in...
    http://us.imdb.com/title/tt0078748/quotes
    Douglas Guest

  4. #4

    Default Re: Dual Boot - Remotely changing

    Jesper Schmitz Mouridsen <org> wrote: 
     [/ref]
     

    Full ack! Forget about GRUB, simply use lilo.

    --
    Michael Heiming

    Remove +SIGNS and www. if you expect an answer, sorry for
    inconvenience, but I get tons of SPAM
    Michael Guest

  5. #5

    Default Re: Dual Boot - Remotely changing

    On Tue, 27 Jan 2004 23:17:53 +0100, Michael Heiming wrote:
     
    > [/ref]
    >
    > Full ack! Forget about GRUB, simply use lilo.
    >[/ref]
    Question: Does lilo run in some environment under windows? I don't
    think it does. Neither will grub, but I think grub's options are more
    flexible for my taste.

    BTW, the real answer to the OP is to forget about windows. Simply use
    GNU/Linux.

    First, OS wars. Now, loader wars.

    --
    Licked? I'm not licked. I'm tarred and feathered, that's all.
    http://us.imdb.com/title/tt0065988/quotes

    Douglas Guest

  6. #6

    Default Re: Dual Boot - Remotely changing

    Douglas Mayne <localnet> wrote: 
     
    > > 
    > >
    > > Full ack! Forget about GRUB, simply use lilo.
    > >[/ref]
    > Question: Does lilo run in some environment under windows? I don't
    > think it does. Neither will grub, but I think grub's options are more
    > flexible for my taste.[/ref]

    Don't know, I don't use M$.
     

    Yep, that sums it up.
    ;)

    BTW
    However, you want to run lilo anyway.

    --
    Michael Heiming

    Remove +SIGNS and www. if you expect an answer, sorry for
    inconvenience, but I get tons of SPAM
    Michael Guest

Similar Threads

  1. Dual boot with XP
    By David in forum FreeBSD
    Replies: 5
    Last Post: March 2nd, 06:46 AM
  2. Problems with Dual boot XP/Linux-- installing boot, NTFS, FAT32
    By Jim in forum Linux Setup, Configuration & Administration
    Replies: 2
    Last Post: November 9th, 04:34 PM
  3. dual boot cd rom
    By neevee webforumsuser@macromedia.com in forum Macromedia Director Basics
    Replies: 1
    Last Post: October 27th, 04:40 AM
  4. dual boot
    By cljlk in forum Sun Solaris
    Replies: 5
    Last Post: August 6th, 12:12 AM
  5. Changing folder permissions remotely
    By Ashok More in forum Windows Setup, Administration & Security
    Replies: 1
    Last Post: July 7th, 10:12 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139