Need help with GRUB boot loader

jj1492

Senior member
Jan 23, 2001
241
0
0
Ok, here's the situation. I have one HD. I installed Windows 2000 on one partition, installed Windows XP on another, and then installed RedHat 7.2 on the remaining space. I specified GRUB as the boot loader. I have it set to boot into X (init 5), but my display settings won't work and my monitor cuts off (Leadtek Geforce3 Ti200 and 17"Gateway Monitor). So my questions are:

1. How do I change my init level so I can edit my display settings?
2. How do I change my display settings?
3. How do I add my Windows partitions to the GRUB boot loader?

Thanks in advance!
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
When the grub boot screen comes up pick the Linux entry, press 'e', then select the kernel line (should start /blah/vmlinux-blah root=/dev/blah) and hit 'e' then arrow over to the end of the line and add '3' (no quotes), press enter then 'b' to boot, it should boot up to runlevel 3 so you can fix X.

Either edit /etc/X11/XF86Config-4 (might not have a -4 at the end) by hand or run XFree86 -configure to have it autogenerate a new config file, copy that over /etc/X11/XF86Config-4 and see if X works better.
 

jj1492

Senior member
Jan 23, 2001
241
0
0
Alright, I got to init3, and ran the XFree86 -configure. It creates a new file, but when I do a rename XF86Config.new XF86Config-4, it doesn't work... it doesn't rename the file. So right now, I don't have an XF86Config-4 file, which I apparently need... what now? Thanks again.
 

jj1492

Senior member
Jan 23, 2001
241
0
0
You are the man (though I feel like I should have known that). So my last question is how do I get my Windows partitions on the GRUB menu to boot with?
 

Becks2k

Senior member
Oct 2, 2000
391
0
0
--edit-- acutally i don't think i should be giving advise till i know what i'm doin ;)

you have to edit /boot/grub/grub.conf

or theres a link /etc/grub.conf

it has all the things
title Red Hat Linux (2.4.7-10)
root (hd0,6)
kernel /vmg;alkhr;lakh
initrd blah blah
title Red Hat Linux (2.4.10)
root (hd0,6)
kernel /vmlinuz........
initrd.....
title Windows XP
rootnoverify (hd0,0)
chainloader +1

--

thats the end of mine... i didn't type out all the linux ones
dunno if chainloader +1 goes with the xp thing or if its at the end of the file
i'm guessing its hd0=drive and 0=partition you want it to boot to

I just messed around to add new linux kernels, didn't have to add the winxp
 
Sep 3, 2001
131
0
0
To add Windows to the Grub menu you'll need to edit the menu.lst file which you should find in /boot/grub.

The entry for Windows should look something like this:

title = Windows
root = (hd0,0)
makeactive
chainloader +1


The root entry in this case is for a Windows install on the primary partition of the primary master drive. For more detailed info on Grub open a terminal and read its manual pages (man grub)