Find the answer to your Linux question:
Results 1 to 2 of 2
Lately, I've been getting annoyed at the bias toward Linux -cough- Blizzard -sneeze- so I put Windows XP on my second hard drive. Now, to switch between Linux and Windows, ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Oct 2004
    Location
    Somewhere
    Posts
    47

    Dual Booting Windows and Gentoo with Grub.


    Lately, I've been getting annoyed at the bias toward Linux -cough- Blizzard -sneeze- so I put Windows XP on my second hard drive.

    Now, to switch between Linux and Windows, I have to unplug or plug in the top hard drive (Gentoo). I just tried getting a bootloader working, but it didn't work.

    /boot/grub/grub.conf had the following for the Windows entry.

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

    When I boot that, I get

    Booting 'Windows XP'

    rootnoverify (hd0,0)
    chainloader +1



    Help?

  2. #2
    Just Joined!
    Join Date
    Apr 2005
    Posts
    7
    Just as /dev/hda would be the first hard drive and /dev/hdb would be the second,
    windows does NOT reside at (hd0,0) nor anywhere on (hd0).
    Most likely it is on (hd1).

    Remove everything about windows from grub.conf and try this:

    title Windows XP
    map (hd0) (hd1)
    map (hd1) (hd0)
    rootnoverify (hd1,0)
    makeactive
    chainloader +1
    boot

Posting Permissions

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