LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-14-2003, 02:22 PM   #1
amatin
LQ Newbie
 
Registered: Nov 2003
Posts: 12

Rep: Reputation: 0
grub - fedora - windows server 2003


Greetings,

I have a question regarding grub, linux (fedora) and windows server 2003. I have a 2 drive system. I installed fedora on hda. After that, I installed windows server 2003 on hdd (slave on ide2). I had to scarf the page partition from linux to complete the install, but, I have linux back to normal, and now have windows server 2003 solely on the secondary slave.

I'm trying to get grub to boot server2003. I have the following entry in my grub.conf file:

title Windows Server 2003
map (hd3) (hd0)
map (hd0) (hd3)
rootnoverify (hd0,0)
makeactive
chainloader +1

I get a series of errors based on what I use in rootnoverify. (tried hd0, and hd3)

Question 1: When you use map, i.e. make hd3 look like hd0, does rootnoverify need the *original*, or the *mapped* hd?

Question 2: Due to the way windows likes to do things, it installed it's boot loader on hd0. I coppied the boot.ini, ntdetect, etc from the swap partition to the root directory of hd3, remade the swap partition and linux is happy. Do I need to in essence, make hd3 hd0, and install windows server, then re-cable, then deal with grub?

TIA
Brian
 
Old 12-14-2003, 06:34 PM   #2
BrianNJ
Member
 
Registered: Jul 2003
Distribution: Gentoo 2004.0
Posts: 157

Rep: Reputation: 30
.... i do the same thing for winxp. xp's partition is the first partition on my ide primary slave. my grub section is as follows...
Code:
title Windows
map (hd0) (hd1)
map (hd1) (hd0)
root (hd1,0)
chainloader +1
good luck!
 
Old 12-14-2003, 07:06 PM   #3
amatin
LQ Newbie
 
Registered: Nov 2003
Posts: 12

Original Poster
Rep: Reputation: 0
thanks for the info
however, I have a windoze (server 2003) on hda3 (3rd drive)
please..how does grub view the mappings...?

if you map a drive...then..does that become the primary drive?
 
Old 12-15-2003, 08:42 AM   #4
BrianNJ
Member
 
Registered: Jul 2003
Distribution: Gentoo 2004.0
Posts: 157

Rep: Reputation: 30
i would be tempted to try...
Code:
title WindowsServer2003
map (hd0) (hd3)
map (hd3) (hd0)
root (hd3,0)
chainloader +1
 
Old 12-16-2003, 10:21 AM   #5
amatin
LQ Newbie
 
Registered: Nov 2003
Posts: 12

Original Poster
Rep: Reputation: 0
finally figured it out! The drive is the secondary slave, but only the *second* hard drive. Therefore, map (hd0,hd1) map (hd1,h0) worked!.

Now, for the next question:

Does this mapping actually affect the drive information? I.E. do I modiy boot.ini as if it's booting from the first drive? Or modify it for the actual scenario?

TIA
Brian
 
Old 12-18-2003, 02:05 PM   #6
amatin
LQ Newbie
 
Registered: Nov 2003
Posts: 12

Original Poster
Rep: Reputation: 0
Final solution:

Apparently, map(hd1,hd0) does an actual hardware map. So the final grub configuration is as follows:

title Windows Server 2003
map (hd1) (hd0)
rootnoverify (hd1,0)
chainloader +1

Then, the last remaining problem is that since windoze is required to be installed on primary controller, server 2003 still thought my linux swap file (the one I cannablized to do the install) was still there. After remaking the swap file a few times, I finally disable disk0 in the hardware profile. Now, Windows server 2003 boots cleanly from grub, and does not do a chdsk on what is my linux swap partition!

Only took a week

Hope this experience helps others.....

Regards,
Brian
 
  


Reply



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
Smbclient and Windows 2003 Server scostopoulos Linux - Networking 1 09-02-2004 02:36 AM
Windows 2003 server & Fedora / GRUB wont boot win UrbanDEV Linux - Newbie 6 04-28-2004 09:34 AM
Who use Windows Server 2003 ? futurist General 9 02-10-2004 01:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:35 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration