Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1
    dudess_on_a_mish
    Guest

    Default GRUB won't boot to Windows

    Have done a clean install of Fedora Core 2 but GRUB will now not boot into Windows which is set as the default. It stops and goes no further when it gets to the following:

    title Other
    rootnoverify (hd0,0)
    chainloader +1

    I have no idea what the GRUB file used to look like when I had Fedora Core 1 so can someone please tell me what I need to do to get back into Windows?

    GRUB file:

    # 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 (hd1,4)
    # kernel /vmlinuz-version ro root=/dev/hdb6
    # initrd /initrd-version.img
    #boot=/dev/hda
    default=1
    timeout=10
    splashimage=(hd1,4)/grub/splash.xpm.gz
    password --md5 $1$YLHQ.DA9$T3yXbOEVkcbTpi0Ip/HoB.
    title Fedora Core (2.6.5-1.358)
    root (hd1,4)
    kernel /vmlinuz-2.6.5-1.358 ro root=LABEL=/ rhgb quiet
    initrd /initrd-2.6.5-1.358.img
    title Other
    rootnoverify (hd0,0)
    chainloader +1


    NOTE: Fedora is installed on my second hard drive as follows:
    /dev/hdb4
    /dev/hdb5 /boot
    /dev/hdb6
    /dev/hdb7 swap

    Windows is on hda1.

  2. #2
    Jen C
    Guest

    Default Re: GRUB won't boot to Windows

    Hi dudess

    Your grub.conf looks correct. There has been a few threads on non-booting Window partitions with Grub, and this one here suggests that you should check to make sure your XP OS partition is still set to active. Perhaps make sure that is still correct first.

    You can edit your grub.conf if you like so that the title reads something a bit more useful than "Other":
    title Other <--------
    rootnoverify (hd0,0)
    chainloader +1

    reads:
    title Windows XP




  3. #3
    Chilling_Silence
    Guest

    Default Re: GRUB won't boot to Windows

    If Windows XP isnt booting, Im going to question where its actually installed.

    Is it your First HDD (Primary Master)? Is it the first partition?

    (hd0,0) basically means "On the first Hard Drive you can find, its the first partition", so that's where its looking for WinXP. If its on the 2nd partition on your Primary Master, then it'd be (hd0,1).

    Make sense?

    Hope this helps


    Chill.

  4. #4
    agent
    Guest

    Default Re: GRUB won't boot to Windows

    Unless my short-term memory is stuffed, dudess said that /boot is on hdb, and Windows is on hda.

    From painful personal experiences, I can tell you straight: GRUB needs to be installed in the MBR of your first harddrive (hda). This does not necessarily mean moving the partition where /boot is located to hda, but GRUB does need to be moved, and this will require your configuration file to be updated in order to reflect this change.

    It took C_S quite some time to convince me that I wouldn't be able to boot Windows otherwise, but now it works, since I've done that change.

  5. #5
    dudess_on_a_mish
    Guest

    Default Re: GRUB won't boot to Windows

    OK, well I've read through the thread that Jen pointed me to (thanks Jen - I had copied and pasted all that into you-know-what but it wasn't much help to me from here.... ) but I have no idea how to check, let alone make Windows the active partition from within Linux. I thought that it was, but....

    I really don't want to have to do what ChiefNZ did and reinstall Windows, it has been a big enough mission getting to this stage and Windows is required rather urgently tomorrow.

    Graham's suggestion doesn't make much sense to me - what would I do with "man grub" or Linux fdisk? No way am I typing commands willy nilly without knowing how to get out of any trouble I get myself into.

    Chill>
    Two hard drives, as previously mentioned.
    Windows XP installed on first hard drive - primary master
    Fedora installed on second hard drive - primary slave

    It looks like GRUB is correct but something is obviously wrong.

    Agent>
    If that is my problem some instructions would be good. :-)


    Sorry if I'm not spending much time helping myself on this but I've had a rather physical kind of day which was probably not a good idea with the wretched lurgy I have. It was worth it though. ;-)

  6. #6
    mark.p
    Guest

    Default Re: GRUB won't boot to Windows

    > Unless my short-term memory is stuffed, dudess said
    > that /boot is on hdb, and Windows is on
    > hda.
    >
    > From painful personal experiences, I can tell you
    > straight: GRUB needs to be installed in the MBR of
    > your first harddrive (hda). This does not necessarily
    > mean moving the partition where /boot is located to
    > hda, but GRUB does need to be moved, and this will
    > require your configuration file to be updated in
    > order to reflect this change.
    >
    > It took C_S quite some time to convince me that I
    > wouldn't be able to boot Windows otherwise, but now
    > it works, since I've done that change.

    I've got grub on hdc1 and is called up by a third party bootmanager(XOSL) on hda1. Grub boots Linux or Win9x just fine from there.

  7. #7
    Jen C
    Guest

    Default Re: GRUB won't boot to Windows

    >Windows is required rather urgently tomorrow.

    Hi Dudess

    If push comes to shove, and you don't have this sorted by tomorrow you may need to restore XP's MBR using the fixmbr option on the XP recovery console as a last resort.

    BUT, before you do this, grab a spare floppy and put it in the FDD. Open up a console window and su - to root. Enter in:

    [root@myth root]# uname -r [enter]
    2.6.5-1.358
    2.6.5-1.358 <--- this is your running kernel

    Next enter in this:

    [root@myth root]# mkbootdisk 2.6.5-1.358 [enter]
    Insert a disk in /dev/fd0. Any information on the disk will be lost.
    Press <Enter> to continue or ^C to abort:
    20+0 records in
    20+0 records out
    [root@myth root]#

    This will make a boot disk which you can get into Linux with after repairing the MBR. Fedora Core 2 also has the rescue disc which I assume will serve the same function. Best have the boot floppy just in case as well.

    All all this, you will need to fix the grub.conf and reinstall it to the MBR so that you can boot normally back into Linux.

  8. #8
    dudess_on_a_mish
    Guest

    Default Re: GRUB won't boot to Windows

    Thanks Jen, I'll do that now.

    I did/do have another way to get back into Windows but since it meant radical surgery I didn't really want to have to do it that way. Your way is much kinder.

  9. #9
    Jen C
    Guest

    Default Re: GRUB won't boot to Windows

    >what would I do with "man grub" or Linux fdisk?

    man grub is a command that will bring up the manual on grub. Use page down/up to move up the down the page (pretty self explanatory that part ). Enter q for quit to exit. I had a quick look at man grub, and I don't think it will help you at this stage .... apart from this switch option [pre]--no-curses
    do not use curses[/pre]
    This may be too late for this option ... ;\
    Try info grub instead ... use the arrow to select the topic on the index and enter to display it.

    In general, man [application_name] will bring up the manual if there is one available.

    You can also enter in [as root] fdisk -l which will show your current partitioning info and the * should mark the active partition (if it works like doze fdisk).

  10. #10
    dudess_on_a_mish
    Guest

    Default Re: GRUB won't boot to Windows

    Yep, I have been looking in the "man" pages.... figured out what "man" was after making that post, duh! Did I mention that I wasn't thinking straight?

    Anyway, as you said, the man pages don't hold anything useful for me and neither does Google so far. :-(

    Have had a quick look through info grub but I'm not sure that is any help either.

    Now the fdisk thing - does this make any sense?


    Units = cylinders of 1008 * 512 = 516096 bytes

    Device Boot Start End Blocks Id System
    /dev/hda1 * 1 20321 10241406 c W95 FAT32 (LBA)
    /dev/hda2 20321 155040 67898722+ f W95 Ext'd (LBA)
    /dev/hda5 20321 65025 22531131 b W95 FAT32
    /dev/hda6 65026 109730 22531131 b W95 FAT32
    /dev/hda7 109730 155040 22836366 b W95 FAT32

    Disk /dev/hdb: 80.0 GB, 80026361856 bytes
    16 heads, 63 sectors/track, 155061 cylinders
    Units = cylinders of 1008 * 512 = 516096 bytes

    Device Boot Start End Blocks Id System
    /dev/hdb1 20337 65041 22531162+ c W95 FAT32 (LBA)
    /dev/hdb2 65041 109746 22531162+ c W95 FAT32 (LBA)
    /dev/hdb3 109746 155056 22836397+ c W95 FAT32 (LBA)
    /dev/hdb4 1 20336 10249312+ 5 Extended
    /dev/hdb5 * 1 203 102249 83 Linux
    /dev/hdb6 204 18256 9098680+ 83 Linux
    /dev/hdb7 18257 20336 1048288+ 82 Linux swap

    Partition table entries are not in disk order
    [root@localhost root]#

Similar Threads

  1. Grub boot default
    By kjaada in forum PressF1
    Replies: 8
    Last Post: 16-06-2007, 10:08 AM
  2. Grub dual boot - OS sequence?
    By Murray P in forum PressF1
    Replies: 2
    Last Post: 17-05-2007, 11:25 PM
  3. Change Default Boot In Grub?
    By SurferJoe46 in forum PressF1
    Replies: 27
    Last Post: 05-11-2006, 10:00 PM
  4. Cannot boot into XP Home from Grub
    By chiefnz in forum PressF1
    Replies: 12
    Last Post: 12-08-2005, 11:00 AM
  5. Messed up Grub - won't boot Windows
    By John H in forum PressF1
    Replies: 10
    Last Post: 21-01-2004, 12:34 PM

Posting Permissions

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