LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 04-27-2004, 05:03 AM   #1
UrbanDEV
LQ Newbie
 
Registered: Dec 2003
Location: SFCA
Posts: 9

Rep: Reputation: 0
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?
 
Old 04-27-2004, 05:25 AM   #2
UrbanDEV
LQ Newbie
 
Registered: Dec 2003
Location: SFCA
Posts: 9

Original Poster
Rep: Reputation: 0
# 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

Last edited by UrbanDEV; 04-27-2004 at 05:28 AM.
 
Old 04-27-2004, 05:59 AM   #3
Demonbane
Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
If you only have a single drive then windows is probably on (hd0,0)
 
Old 04-27-2004, 11:11 AM   #4
WhatsHisName
Senior Member
 
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHL9;F1-10; CentOS4-5; DebianSarge-Squeeze
Posts: 1,151

Rep: Reputation: 46
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.

Last edited by WhatsHisName; 04-28-2004 at 10:11 AM.
 
Old 04-28-2004, 12:50 AM   #5
UrbanDEV
LQ Newbie
 
Registered: Dec 2003
Location: SFCA
Posts: 9

Original Poster
Rep: Reputation: 0
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
 
Old 04-28-2004, 02:12 AM   #6
UrbanDEV
LQ Newbie
 
Registered: Dec 2003
Location: SFCA
Posts: 9

Original Poster
Rep: Reputation: 0
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!
 
Old 04-28-2004, 09:34 AM   #7
WhatsHisName
Senior Member
 
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHL9;F1-10; CentOS4-5; DebianSarge-Squeeze
Posts: 1,151

Rep: Reputation: 46
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)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Red Hat Linux 9 + Windows Server 2003 + Windows XP + Fedora in same domain wolfy339 Linux - Networking 5 03-02-2005 06:03 AM
Fedora Core 3 PC , how to be connected as client to windows server 2003 domain omaramir Linux - Networking 4 02-03-2005 02:28 AM
Fedora Core 3-WONT BOOT on win xp box axanico Fedora - Installation 3 11-21-2004 01:27 PM
Fedora Core 2 & Windows 2003 Domain sfagundes Fedora 1 07-10-2004 10:11 AM
grub - fedora - windows server 2003 amatin Linux - Software 5 12-18-2003 02:05 PM


All times are GMT -5. The time now is 03:56 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration