LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Windows 2003 server & Fedora / GRUB wont boot win (https://www.linuxquestions.org/questions/linux-newbie-8/windows-2003-server-and-fedora-grub-wont-boot-win-175024/)

UrbanDEV 04-27-2004 05:03 AM

Windows 2003 server & Fedora / GRUB wont boot win
 
i cant seem to get grub configured right to boot windows 2003 server...

this is what i have for windows:
rootnoverify (hd1, 0)
makeactive
chainloader +1
boot

i know the windows partition is hda1...
am i missing something?

UrbanDEV 04-27-2004 05:25 AM

# 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,1)
# kernel /vmlinuz-version ro root=/dev/hda3
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd0,1)/grub/splash.xpm.gz
title Fedora Core (2.4.22-1.2174.nptl)
root (hd0,1)
kernel /vmlinuz-2.4.22-1.2174.nptl ro root=LABEL=/ hdc=ide-scsi rhgb
initrd /initrd-2.4.22-1.2174.nptl.img

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


13: invalid or unsupported exicutible format

Demonbane 04-27-2004 05:59 AM

If you only have a single drive then windows is probably on (hd0,0)

WhatsHisName 04-27-2004 11:11 AM

GRUB counts drives and partitions by starting at zero (i.e., grub (hd0,0) is usually the first partition on the first drive). Fedora and windows can’t both be on grub (hd0,1), as your grub.conf states.

UrbanDEV 04-28-2004 12:50 AM

rootnoverify (hd1,0)
makeactive
chainloader +1
boot


didnt work either
am i missing a step or something?

Windows XP 2003 Server( 64bit) is what we're talking abotu here if that matters

UrbanDEV 04-28-2004 02:12 AM

default=0
timeout=10
splashimage=(hd0,1)/grub/splash.xpm.gz
title Fedora Core (2.4.22-1.2174.nptl)
root (hd0,1)
kernel /vmlinuz-2.4.22-1.2174.nptl ro root=LABEL=/ hdc=ide-scsi rhgb
initrd /initrd-2.4.22-1.2174.nptl.img
title Windows XP(64bit)
rootnoverify (hd0,0)
makeactive
chainloader +1
boot




that works...fedora hardware manager lied to me about the partition name!

WhatsHisName 04-28-2004 09:34 AM

The hardware browser was telling the truth, but your decoder ring wasn’t working. GRUB and linux don’t use the same numbering system for drives and partitions. GRUB numbers drives and partitions start at “0" and linux starts “numbering” drives and partitions at “a” and “1", respectively. As examples, here are the “translations” for one of my systems:

grub.conf (hd0,0) = linux hda1 = NTFS primary partition (WinXP)
grub.conf (hd0,3) = linux hda4 = FAT32 primary partition (Win98)
grub.conf (hd0,5) = linux hda6 = ext3 logical partition (Fedora)


All times are GMT -5. The time now is 01:50 AM.