Linux - SoftwareThis 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.
I've installed windows 2000 and Red Hat 9.0 to my system and after that I installed SUSE Linux 9.1 Pro. After installing linux I can no longer go into the RedHat system. It is not shown it the Grub. How can I get it into the booting list also so that I can choose that one when I want ot bot into the Redhat? I'll post my fdisk out put for referance. I'm a newbie for Linux just keep on testing things so details explanation will be much more prefered.
Disk /dev/hda: 81.9 GB, 81964302336 bytes
16 heads, 63 sectors/track, 158816 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 40641 20482843+ c W95 FAT32 (LBA)
/dev/hda2 40641 40848 104422+ 83 Linux
/dev/hda3 40848 48976 4096575 83 Linux
/dev/hda4 48976 158802 55351957+ f W95 Ext'd (LBA)
/dev/hda5 48977 50012 522081 82 Linux swap
/dev/hda6 50013 51585 792760+ 82 Linux swap
/dev/hda7 51586 158801 54036832+ 83 Linux
*P.S. the last linux partion is for the SUSE system which I can boot into an dhte /dev/hda3 is the redhat partion where all the files are located.
You need to add the entry for redhat in /boot/grub/grub.conf. Mimic the entry for suse but be sure to change the specifics. If you have another question about format of grub.conf just ask.
can you be more detaily about it. You're telling me that I've to edit the frub.conf file and put an entry over there isn't it? Well what are the things I've to write in there? can u let me know some more information about that?
Distribution: #1 PCLinuxOS -- for laughs -> Ubuntu, Suse, Mepis
Posts: 315
Rep:
Depends .. upo where your boot options are coming from.
Typically with windows, the MBR is not modified and the selection is done in the windows .
Assuming you have made it work that the grub is the default loader ..
Goto the disk partion where vmlinz-xxxx files for suse are .. under there is a grub/ directory. Edit the menu.lst
Each boot entry looks like ..
[
title Suse Linux 2.6....
kernel (hd0,1)/boot/vmlinuz root=/dev/hda2 vga=0x317 splash=silent desktop resume=/dev/hda5 showopts
]
sometimes there is in initrd line that follows it.
you will have to enter this line for Redhat also.
When you make this entry you have to specify where the "/" will be mounted from .. make sure it's correct.
You can copy the redhat kernel and config and other files into the Suse /boot directory and then you don't have to modify the
first kernel(disk)/folder .. it can be same as Suse .
You can find the RH kernel and other files in similar <boot> directory on your RH partition .. or whereever it was mounting it from.
those are the only files you need.
There are issues in doing things this way, for one every time you update the kernel in RH you will have to hand edit the
file.
Second, in the example above vmlinuz is the kernel .. in the boot directory it's linked to something like vmlinuz-2.6.8.1.100 etc.
the links don't work across file-systems ( for the grub at least) i.e. you can't link the vmlinz_Rh to the RH kernel etc. ...
Lastly from your partitiontable .. you don't need two separate swap spaces, just having one is fine, both kernels should be able to use it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.