Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Can't boot to Windows XP

    Linux works fine but for some reason my WinXp won't boot. I'm using GRUB and RED HAT 9

    Here's what I have in my

    # this device map was generated by anaconda
    (fd0) /dev/fd0
    (hd1) /dev/hda
    (hd0) /dev/hde

    And grub.conf

    # 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,5)
    # kernel /vmlinuz-version ro root=/dev/hde7
    # initrd /initrd-version.img
    title Red Hat Linux (2.4.20-
    root (hd0,5)
    kernel /vmlinuz-2.4.20-8 ro root=LABEL=/ hdc=ide-scsi
    initrd /initrd-2.4.20-8.img
    title WindowsXp
    rootnoverify (hd1,0)
    chainloader +1

    Windows XP is suppose to be on HD drive 1 and Linux on harddrive 2 partition 5. But I switched it in GRUB be I'll get a fatal error for WinXP if I don't.

  2. #2
    Linux Enthusiast
    Join Date
    Feb 2003
    Ontario, Canada
    can you just insert your red hat cd and then update your existing system - that should fix grub for you, you don't even have to pick any packages, just update grub.

    otherwise, it looks like you have a really weird configuration.

    also, as i was recently reminded by dolda, your drive indicators need to keep in mind that
    hd0 actually means you first hard drive.

  3. #3
    Linux Guru
    Join Date
    Oct 2001
    Täby, Sweden
    The file isn't used at boot time. It's only used by the GRUB-under-Linux program to know which drives are which. Therefore, you can't switch them by just changing the file. What fatal error did you get before?


Posting Permissions

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