Operating Systems > Linux and UNIX

Help Configure GRUB

(1/6) > >>

NESnerd:
Uh, I'm stupid...help me. ;)

I installed Redhat 7.3, and I need to install GRUB as my bootloader (which I think I know how to do, just need to do it), but I want to dual boot between that and ::cough::Windows::cough::. Anyway, both operating systems are on a seperate hard drive, (linux on my second one) and I wanted to make sure I did it right, as I tend to f^ck things up easily. So uhm, yeah. What do I do.

Master of Reality:
man grub
man grub-install
the man pages are always a must look.
to install grub on the first HD you would need to do 'grub-install /dev/hda' i think.

Before you do that you need to add the appropriate OSes to the grub.conf.

I think the entry for redhat should look like:

title redhat /*the title that will be in the menu*/
root (hd1,0) /*root of the boot parition which is second harddrive first partition, grub starts counting at zero*/
kernel /boot/vmlinuz-2.4.7-10 ro root=/dev/hdb1 hdd=ide-scsi /*where your kernel image is.. this is just what mine looks like*/
initrd /boot/initrd-2.4.7-10.img

this is what the windows entry should be:

title windoze
root (hd0,0)
makeactive /*makes the partition active*/
chainloader +1 */grub hands off the rest of loading to the partition*/

I am almost positive about the windows entry and not so sure about the redhat entry.

[ July 23, 2002: Message edited by: Master of Reality / Bob ]

voidmain:
http://www.gnu.org/manual/grub/html_mono/grub.html

NESnerd:
Windows doesn't seem to want to boot. GRUB is all configured and i have Linux and Windows popping up, but when I try to boot into Windows nothing happens, it goes to a blackscreen and then back to the GRUB interface...

Master of Reality:
you probably have set it to the wrong partition or have a typo in grub.conf ?

Navigation

[0] Message Index

[#] Next page

Go to full version