Results 1 to 9 of 9

Thread: Dual boot with Win2k

  1. #1
    goodwyne
    Guest

    Dual boot with Win2k

    I hope I'm in the right forum for this question.

    I have a new linux box that I'm learning on but I needed to have Windows on the same box because I don't have two monitors. So, I pulled the hard drive out of my Windows box and installed it in the Linux box as a slave. How do I get the boot loader to recognize it as a bootable drive? Currently the only way I can boot to Windows is to unplug the Linux drive. I tried editing the GRUB file and I got Windows as a choice but it doesn't work. What do I need to add to the GRUB file?

    Thanks,

    Ron


  2. #2

    Re:Dual boot with Win2k

    The issue here is that windows may not think it is the master drive, ie hda1. though this isn't too much of an issue, we would have to use mapping to trick windows into thinking it is in hda1. anyways, lets see your grub.conf file and we can go from there

    -Babbing 8)

  3. #3
    goodwyne
    Guest

    Re:Dual boot with Win2k

    grub.conf is listed below:

    # grub.conf generated by anaconda
    #
    # Note that you do not have to rerun grub after making changes to this file
    # NOTICE: You have a /boot partition. This means that
    # all kernel and initrd paths are relative to /boot/, eg.
    # root (hd0,0)
    # kernel /vmlinuz-version ro root=/dev/hda3
    # initrd /initrd-version.img
    #boot=/dev/hda
    default=0
    timeout=20
    splashimage=(hd0,0)/grub/splash.xpm.gz
    title Red Hat Linux (2.4.18-18.7.xsmp)
    root (hd0,0)
    kernel /vmlinuz-2.4.18-18.7.xsmp ro root=/dev/hda3
    initrd /initrd-2.4.18-18.7.xsmp.img
    title Red Hat Linux (2.4.18-18.7.xdebug)
    root (hd0,0)
    kernel /vmlinuz-2.4.18-18.7.xdebug ro root=/dev/hda3
    initrd /initrd-2.4.18-18.7.xdebug.img
    title Red Hat Linux (2.4.18-18.7.x)
    root (hd0,0)
    kernel /vmlinuz-2.4.18-18.7.x ro root=/dev/hda3
    initrd /initrd-2.4.18-18.7.x.img
    title Red Hat Linux (2.4.18-3)
    root (hd0,0)
    kernel /vmlinuz-2.4.18-3 ro root=/dev/hda3
    initrd /initrd-2.4.18-3.img
    title Windows 2000
    rootnoverify (hd1,0)
    chainloader +1

    The last three lines are what I added. I got that from the Red Hat Linux 7.3 Bible but it is either incorrect or incomplete.

  4. #4
    goodwyne
    Guest

    Re:Dual boot with Win2k

    by the way, I've also had it as (hd 0,1) which is actually the way it is installed.

  5. #5
    JimH
    Guest

    Re:Dual boot with Win2k

    Try this and see if it works...

    title Windows 2000
    map (hd0) (hd1)
    map (hd1) (hd0)
    rootnoverify (hd1,0)
    chainloader +1

    Jim H

  6. #6
    goodwyne
    Guest

    Re:Dual boot with Win2k

    Mapping the drives is what it took.

  7. #7
    JimH
    Guest

    Re:Dual boot with Win2k

    Coooooool! 8) Never used the "map" option in grub before. At least I know it works now.

    Jim H

  8. #8

    Re:Dual boot with Win2k

    heh
    whatdoyougetwhenyoumultiplysixbynine??

  9. #9

    Re:Dual boot with Win2k

    lol, looks like you got taken care of in a hurry, i was just coming through again and your all mapped and everything, pretty good if you ask me 8)

    -Babbing

Similar Threads

  1. Master Boot Record / XP Dual Boot
    By gr8rcake in forum Linux - General Topics
    Replies: 1
    Last Post: 09-19-2005, 05:06 AM
  2. Dual hard drive, dual boot?
    By Nekronos in forum Linux - Hardware, Networking & Security
    Replies: 10
    Last Post: 02-19-2003, 12:35 PM
  3. Alternative boot method for Linux/Win2k dual boot
    By Spot in forum Windows - General Topics
    Replies: 8
    Last Post: 10-04-2002, 06:42 AM
  4. Win2k dual boot PET
    By flashingcurser in forum Linux - General Topics
    Replies: 2
    Last Post: 07-23-2002, 06:07 PM
  5. Win2k and Linux Dual Boot
    By rapjo in forum Linux - General Topics
    Replies: 11
    Last Post: 03-12-2002, 01:35 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
  •