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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Should I install the CentOS bootloader in the first sector of sdb3? If I do this I think that I'll have to boot Fedora, mount sdb3 and take the GRUB information for CentOS (with UUID, kernel, initrd) to add to my Fedora's /boot/grub/grub.conf and /boot/grub/menu.lst. Is this right? I use sda to boot Windows and sdb to boot Linux.
Yes. What you plan in your last paragraph is what will need to be done. The file to edit should be the grub.conf as I believe in Fedora the menu.lst is just a link to grub.conf. If you copy the entry from CentOS to the Fedora grub.conf and it doesn't boot, try just chainloading it.
Which of your OS's did you install first? CentOS or Fedora?
You might want (if you have the disk space to spare) to move the malware collection (on sdb1) to sda3 and then move Fedora to sdb1. Then using the Fedora LiveCD restore the Fedora bootloader to the mbr of sdb and you'll get both OS's (Fedora and CentOS) in the menu.
Well I was correct. I installed the bootloader to the first sector of sdb3, booted Fedora, mounted sdb3 and copied the kernel/initrd/grub information from the CentOS /boot/grub/grub.conf to Fedora's /boot/grub/grub.conf. I can boot either Fedora or CentOS from the Fedora grub screen. Now I'm curious about chainloading, what is it and how do you utilize chainloading? I can post my Fedora grub.conf information if its needed.
Basically, the way you are booting CentOS from Fedora, Grub is pointed to the kernel and initrd files. If you chainload, it looks for the boot file/menu and would go to the grub.conf file of CentOS and from there boot the kernel. The boot files go to the same location on a partition so this should work for any OS.