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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
12-14-2003, 02:22 PM
|
#1
|
|
LQ Newbie
Registered: Nov 2003
Posts: 12
Rep:
|
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
|
|
|
|
12-14-2003, 06:34 PM
|
#2
|
|
Member
Registered: Jul 2003
Distribution: Gentoo 2004.0
Posts: 157
Rep:
|
.... 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!
|
|
|
|
12-14-2003, 07:06 PM
|
#3
|
|
LQ Newbie
Registered: Nov 2003
Posts: 12
Original Poster
Rep:
|
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?
|
|
|
|
12-15-2003, 08:42 AM
|
#4
|
|
Member
Registered: Jul 2003
Distribution: Gentoo 2004.0
Posts: 157
Rep:
|
i would be tempted to try...
Code:
title WindowsServer2003
map (hd0) (hd3)
map (hd3) (hd0)
root (hd3,0)
chainloader +1
|
|
|
|
12-16-2003, 10:21 AM
|
#5
|
|
LQ Newbie
Registered: Nov 2003
Posts: 12
Original Poster
Rep:
|
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
|
|
|
|
12-18-2003, 02:05 PM
|
#6
|
|
LQ Newbie
Registered: Nov 2003
Posts: 12
Original Poster
Rep:
|
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
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 11:30 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|