Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
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.
I have installed Windows on one partition, then Red Hat, then Suse. When I went to install Red Hat, it read the windows partition fine and I could dual boot. When I installed Suse, it would read the windows partition and boot fine but it never saw the Red Hat partition.
How can I fix it so that when grub comes up in Suse, I can choose to boot windows, red hat, or suse?
Details:
Windows=hda-0-5 with cdrom drives etc.
Red Hat 9=hda7(swap is 6)
Suse 9=hda9(swap is 8)
I have read the forums explaining this stuff but I just don't get it and one was very good but I really do not want to blow away my partitions and start from scratch.
I will however, reinstall Red Hat as I noticed that I can add os to boot easier there from scratch. Either way, I do not want to start from scratch.
Thanks in advance!
ps. I need very detailed, step by step directions.
when you installed Redhat did you choose to install the bootloader into the MBR or the partition bootsector?
What you can do is mount the redhat partition, take a look at its bootloader config file then add it to Suse's boot loader.
Right now, I only have Windows and Suse installed. I want to install Red Hat now but I don't want to unless I can get it to read all 3 os's with grub or lilo. Suse is at the / mount point on hda9 and I want to put Red Hat on the hda7 partition.
How do I install Red Hat and use Grub or Lilo so that when my machine boots up I can select which os to use.
You don't have to reinstall redhat, if it already exists in the partition it's just a matter of adding few entries in /boot/grub/menu.lst
can you mount the Redhat partition, and post the contents of boot/grub/grub.conf in there?
1. Take note of the contents of your current /boot/grub/menu.lst file in Suse.
2. Install Redhat, let it install GRUB into the MBR, it will only detect Windows and add it to the boot menu, but don't worry about it at this point.
3. Boot into Redhat, edit /boot/grub/grub.conf and add what you have in Suse's menu.lst file, you can just add the one you boot and ignore the rest(like floppy etc).
Boot Loader Type Grub
Boot Loader Location 1.IDE,74gb, /dev/hda, WDC
Disk Order /dev/hda
Default Section Linux
Available Sections Linux(default),Windows,Safe
Activate Boot Loader Partions No
Replace Code in MBR Leave Untouched
Back up Affected Disk Areas No
Add Saved MBR to Boot Loader Menu No
Save Method Save Only changed file
Boot Loader Type--------------------------Grub
Boot Loader Location----------------------1.IDE,74gb, /dev/hda, WDC
Disk Order------------------------------------/dev/hda
Default Section--------------------------------Linux
Available Sections----------------------------Linux(default),Windows,Safe
Activate Boot Loader Partions-------------No
Replace Code in MBR-----------------------Leave Untouched
Back up Affected Disk Areas----------------No
Add Saved MBR to Boot Loader Menu------No
Save Method---------------------------------Save Only changed file
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.