Red Hat This forum is for the discussion of Red Hat Linux. |
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
01-18-2004, 01:58 AM
|
#1
|
LQ Newbie
Registered: Jan 2004
Location: Beaverton, OR
Posts: 29
Rep:
|
What should my grub.conf file say for dual booting?
I am SOOOO close to getting this system to dual boot right. Heres a quick rundown. I have a SCSI hard drive which has Windows 2003 Server on it and I have a IDE hard drive which has redhat 8.0 on it. My grub.conf file looks like this...
# 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,0)
# kernel /vmlinuz-version ro root=/dev/hda6
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Linux 8.0
root (hd0,0)
kernel /vmlinuz-2.4.18-14 ro root=LABEL=/
initrd /initrd-2.4.18-14.img
title Windows Server 2003
rootnoverify (hd1,0)
chainloader +1
You can see that the Windows section of it is clearly wrong and this HAS to be why Windows won't boot. It is saying that the rootnoverify is set at (hd1, 0) I am not exactly sure what those two things together mean aside from the partition of the hard drive but I know for a fact that none of Windows not even the MBR is on the hd0. It is on my SCSI drive which is what Linux would call sda if I am right. I am just wondering if anyone can help me edit that small Windows section of my grub file and then this thing should work. Is the rootnoverify asking where the MBR is or what? Currently right now it will boot up to the redhat screen which asks me which OS to boot but then when you select Windows it can't seem to find windows because obviously it is looking in the hd1 which is NOT where windows is.
Anyone able to help!?
Thanks
Chris
|
|
|
01-18-2004, 06:28 AM
|
#2
|
Member
Registered: Aug 2003
Location: Trento, Italy
Distribution: Debian testing
Posts: 394
Rep:
|
Grub naming conventions are different from linux, I'm not sure how it will call yours, still there is an easy way to find out:
1. at grub prompt, press 'c' to go to command mode (YES: grub has a small self-contained console)
2. type "find /windows/cmd.exe" or whatever file you know the exact path of on your win drive
3. this should give you the name of the disk
What error do you get when booting? It may be related to a win bug that prevents it to boot from non-first disk. In case ask.
|
|
|
02-04-2004, 09:56 PM
|
#3
|
LQ Newbie
Registered: Jan 2004
Posts: 3
Rep:
|
I also have the same problem with my Win2K3 server. I have tried the idea that you raised, but it keeps on checking only the floppy disk. I have even tried to do some find on the Linux disk that I have for sure.
It basically just froze after the chainloader +1
I have tried almost every variant including the use of makeactive and such but to no avail. I hope anyone that have run Windows 2K3 and Any linux (mounted on different physical drive) can post their grub.conf setting file.
|
|
|
02-05-2004, 09:07 PM
|
#4
|
LQ Newbie
Registered: Feb 2004
Location: Canberra, Australia
Distribution: Red Hat 9
Posts: 1
Rep:
|
Not sure if you still need this but:
I have two 80gb drives. Master (hda) is Red Hat 9 and Slave (hdc) is Windows 2k Adv Server.
My GRUB.CONF file reads thusly:
# 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,0)
# kernel /vmlinuz-version ro root=/dev/hda2
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-8)
root (hd0,0)
kernel /vmlinuz-2.4.20-8 ro root=LABEL=/
initrd /initrd-2.4.20-8.img
title Windows 2000 Advanced Server
rootnoverify (hd1,0)
makeactive
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1
Someone told me always to leave a blank line at the end of the file - not sure why though. Note the two 'map' lines. If you add them, it might solve your dilemma.
Cheers...
Androo
|
|
|
02-06-2004, 01:53 AM
|
#5
|
LQ Newbie
Registered: Jan 2004
Posts: 3
Rep:
|
Thank you so much.. that works until the NTLDR gone missing =)
I am going to research more on those...
Once again, I really appreciate your help.
|
|
|
02-06-2004, 02:16 AM
|
#6
|
LQ Newbie
Registered: Jan 2004
Posts: 3
Rep:
|
For those who has problem here's the fix:
Start Recovery Console by using the operating system CD.
Navigate to the system partition root and type the following commands from the Recovery Console prompt:
copy drive:\i386\ntldr
copy drive:\i386\ntdetect.com
In the preceding two commands, drive represents the letter of the CD-ROM that holds the Windows XP Professional installation files.
Answer the Overwrite system? (Yes/No/All): prompts by pressing Y.
Restart the computer.
Which can easily be found also: http://www.microsoft.com/technet/tre...b_tol_zldj.asp
|
|
|
All times are GMT -5. The time now is 02:51 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
|
|