Results 1 to 7 of 7

Thread: Grub and Windows D:

  1. #1

    Grub and Windows D:

    I've been having difficulty getting my windows setup working with grub. I've searched google and come up with no solutions. Here's the situation:

    /dev/hda1 5GB RH8
    /dev/hda2 5GB MDK9
    /dev/hda3 512MB swap
    /dev/hda4 30GB /home

    /dev/hdb1 5GB Windows 98 (C
    /dev/hdb5 53GB FAT32 (D

    I can boot windows, but instead of "C:" and "D:" I have "C:", "D:", and "E:". "D:" is a nonexistant disk, and "E:" is what should be my "D:". All my games and documents are on "D:" because I had to do a lot of reinstalling and I wanted to just reformat "C:" instead of deltreeing the windows directory. Unfortunately, now all my links are broken! Here's what I use to boot windows:

    map (hd0) (hd1)
    map (hd1) (hd0)
    rootnoverify (hd1,0)
    chainloader +1
    makeactive

    Anyone have any suggestions?

  2. #2

    Re:Grub and Windows D:

    I'm not sure of the problem exactly but if you posted part of your grub config it is incorrect.

    Per the Gentoo linux install manual (www.gentoo.org) for Windows (NT in this case)

    title=Windows NT Workstation
    root (hd0,5)
    chainloader +1

    In your case I think it should look like

    title=Windows
    root (hd1,0)
    chainloader +1

  3. #3

    Re:Grub and Windows D:

    Code:
    map (hd0) (hd1)
    map (hd1) (hd0)
    Don't think you need this bit. AFAIK, its only for getting windows to boot when its not on the /dev/hda1 partition. Its only AFAIK, best to check first.

  4. #4

    Re:Grub and Windows D:

    I originally just did:

    title=Windows
    root (hd1,0)
    chainloader +1

    but the computer would hang. I went to GNU's site (http://www.gnu.org/) and looked at their grub manual, and discovered I needed the maps because Windows won't boot unless it thinks its on the first drive. (http://www.gnu.org/manual/grub/html_...#DOS%2fWindows) I used GNU's description of how to boot a chainloaded OS (http://www.gnu.org/manual/grub/html_...#Chain-loading) as a basis for my config.

  5. #5
    Moderator
    Good Guru
    Compunuts's Avatar
    Join Date
    May 2001
    Location
    California
    Posts
    3,935

    Re:Grub and Windows D:

    What version of Windows? IF it's WinNT 4.0, there is a way to map the drive to specific drive letter with partitions.

  6. #6

    Re:Grub and Windows D:

    It's Windows 98SE.

  7. #7

    Re:Grub and Windows D:

    Don't know if this helps but I have pretty much the same setup except make active is before chainloader +1 and W2K and RH 8.0 are existing peacefully.

Similar Threads

  1. How to fix a Fedora Core GRUB loader after installing Windows
    By AljoshaNL in forum Linux - General Topics
    Replies: 4
    Last Post: 09-25-2005, 05:14 PM
  2. GRUB GRUB GRUB GRUB "Whats Going on?"
    By Gaweph in forum Linux - General Topics
    Replies: 13
    Last Post: 03-26-2004, 05:14 PM
  3. Grub :: Windows XP section
    By Schotty in forum Linux - Software, Applications & Programming
    Replies: 7
    Last Post: 01-31-2003, 05:48 PM
  4. Fixing GRUB after Windows XP install
    By frankietomatoes in forum Linux - General Topics
    Replies: 2
    Last Post: 10-21-2002, 12:45 AM
  5. Grub
    By trickster in forum Linux - General Topics
    Replies: 4
    Last Post: 05-29-2002, 10:14 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
  •