Find the answer to your Linux question:
Results 1 to 10 of 10
Hi, I have an existing WinXP installation on my HD right now, I wanted to go out and get another hard drive which I plan to install Linux on. And ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2004
    Posts
    1

    WinXP+Linux on separate HDs


    Hi,

    I have an existing WinXP installation on my HD right now, I wanted to go out and get another hard drive which I plan to install Linux on.

    And from reading on these forums, grub is the best way to go in senses of a boot manager?

    Can someone tell me how I'd generally set this up, and how I'd set it up in grub?

    THanks!

    - josh

  2. #2
    Linux Newbie
    Join Date
    Jan 2004
    Location
    Belgrade, S&M
    Posts
    177
    Hi. Check this out : http://www.linuxforums.org/tutorials...th-GRUB-1.html

    Hope it helps

  3. #3
    Just Joined!
    Join Date
    Aug 2004
    Location
    Singapore
    Posts
    5
    Quote Originally Posted by Goran
    Hi. Check this out : http://www.linuxforums.org/tutorials...th-GRUB-1.html

    Hope it helps
    Hi

    Does the above also includes Win XP also?

    I had install Win XP as NTFS in Primary Partition and then had another partition for Fedora, however everytime, it can only boot into Fedora or Win XP only.

    I even installed Boot Magic but it does not work also.

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Jul 2004
    Location
    MN USA
    Posts
    70
    What are you trying to do? The line:
    everytime, it can only boot into Fedora or Win XP only.
    You can only boot one OS at a time... Not both. Does GRUB give you the option of Win XP or Fedora? If your saying Win XP doesn't show up as an option in GRUB, then the configuration for grub will have to be altered to include Win XP

  6. #5
    Just Joined!
    Join Date
    Aug 2004
    Location
    Singapore
    Posts
    5
    Quote Originally Posted by systempilot
    What are you trying to do? The line:
    everytime, it can only boot into Fedora or Win XP only.
    You can only boot one OS at a time... Not both. Does GRUB give you the option of Win XP or Fedora? If your saying Win XP doesn't show up as an option in GRUB, then the configuration for grub will have to be altered to include Win XP
    Sorry for that , what I mean is that I can 'either' boot into Fedora (after I installled Fedora after XP is installed) or only XP (when there is no Fedora installed)

    What entries do I need to add in for the grub.conf ?

    Is it like

    booting 'XPr'
    rootnoverify (hd0,0)
    makeactive
    chainloader +1

  7. #6
    Linux Newbie
    Join Date
    Aug 2004
    Location
    Houston Texas
    Posts
    192
    Use the following as an example.

    Code:
    # grub.conf generated by anaconda
    #
    # Note that you do not have to rerun grub after making changes to this file
    # NOTICE:  You do not have a /boot partition.  This means that
    #          all kernel and initrd paths are relative to /, eg.
    #          root (hd0,2)
    #          kernel /boot/vmlinuz-version ro root=/dev/hda3
    #          initrd /boot/initrd-version.img
    #boot=/dev/hda
    default=0
    timeout=-1
    splashimage=(hd0,2)/boot/grub/splash.xpm.gz
    password --md5 $1$2uiyNJR.$qCrpZABgYo.zFVz5pG2Xq0
    title Fedora Core 2
            root (hd0,2)
            kernel /vmlinuz-2.6.7-1.494.2.2 ro root=LABEL=/ rhgb quiet
            initrd /initrd-2.6.7-1.494.2.2.img
    title FreeBSD
            rootnoverify (hd0,1)
            chainloader +1
    title Windows XP
            rootnoverify (hd0,0)
            chainloader +1

  8. #7
    Just Joined!
    Join Date
    Aug 2004
    Location
    Singapore
    Posts
    5
    Quote Originally Posted by HOUSCOUS
    Use the following as an example.

    Code:
    # grub.conf generated by anaconda
    #
    # Note that you do not have to rerun grub after making changes to this file
    # NOTICE:  You do not have a /boot partition.  This means that
    #          all kernel and initrd paths are relative to /, eg.
    #          root (hd0,2)
    #          kernel /boot/vmlinuz-version ro root=/dev/hda3
    #          initrd /boot/initrd-version.img
    #boot=/dev/hda
    default=0
    timeout=-1
    splashimage=(hd0,2)/boot/grub/splash.xpm.gz
    password --md5 $1$2uiyNJR.$qCrpZABgYo.zFVz5pG2Xq0
    title Fedora Core 2
            root (hd0,2)
            kernel /vmlinuz-2.6.7-1.494.2.2 ro root=LABEL=/ rhgb quiet
            initrd /initrd-2.6.7-1.494.2.2.img
    title FreeBSD
            rootnoverify (hd0,1)
            chainloader +1
    title Windows XP
            rootnoverify (hd0,0)
            chainloader +1
    I did had teh following :

    title Windows XP
    rootnoverify (hd0,0)
    chainloader +1

    But the GRUB boot menu does not dipslay it. Only Fedora is displayed.

  9. #8
    Linux Newbie
    Join Date
    Aug 2004
    Location
    Houston Texas
    Posts
    192
    And your menu.lst also has the same entry?

  10. #9
    Just Joined!
    Join Date
    Aug 2004
    Location
    Singapore
    Posts
    5
    Quote Originally Posted by HOUSCOUS
    And your menu.lst also has the same entry?
    Well after I did an reinstall again, now I can have dual boot successfully.

  11. #10
    Linux Newbie
    Join Date
    Aug 2004
    Location
    Houston Texas
    Posts
    192
    Congrats!

Posting Permissions

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