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.
I'm having major sound issues with fedora 3.0 and decided to give another distro a try. before installing i would like to know how to edit grub to make sure that i will have a triple boot ( xp, fedora 3.0 and/or Centos 4.0) i read a few threads and they all talk about editing the grub.conf file and add the new distro. I would like to know that if i decide to install a third distro and choose not to install grub during installation but rather edit my existing grub.conf file, how do i obtain the information needed to be added so that my new distro will appear in the boot menu. by information i mean the kernel info, exact title, etc.
i read in a thread a method that seems pretty simple, just write the information in my current grub.conf file , install the third distro and allow it to install grub during installation, then go and add the information i wrote down so that it will appear in the boot menu. has anyone ever done this? thanks in advance
First you need to post your grub.conf (or menu.lst in some cases) file over here so that we can look at your disk geometry.
Second you need to know the exact kernel file name and initrd (if present) from your /boot directory. It is possible that you may have more than one kernel so you should know which one you exactly you want to use. For every kernel type there can be an entry in your grub.conf file.
Post your grub.conf here and the exact file names and we can go from there...
grub recognizes disk geometry little different than disk partitioning programs.
hd0 - first IDE hard drive
hd1 - second IDE hard drive
thanks for the reply tux
below is my grub.conf file:
# grub.conf generated by anaconda
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,1)
# kernel /vmlinuz-version ro root=/dev/hdb5
# initrd /initrd-version.img
title Fedora Core (2.6.11-1.14_FC3smp)
kernel /vmlinuz-2.6.11-1.14_FC3smp ro root=LABEL=/ rhgb quiet
title Fedora Core (2.6.11-1.14_FC3)
kernel /vmlinuz-2.6.11-1.14_FC3 ro root=LABEL=/ rhgb quiet
title Fedora Core (2.6.10-1.770_FC3smp)
kernel /vmlinuz-2.6.10-1.770_FC3smp ro root=LABEL=/ rhgb quiet
title Fedora Core (2.6.10-1.770_FC3)
kernel /vmlinuz-2.6.10-1.770_FC3 ro root=LABEL=/ rhgb quiet
title Fedora Core (2.6.9-1.667smp)
kernel /vmlinuz-2.6.9-1.667smp ro root=LABEL=/ rhgb quiet
title Fedora Core-up (2.6.9-1.667)
kernel /vmlinuz-2.6.9-1.667 ro root=LABEL=/ rhgb quiet
what i want to do is install Centos and then edit the above listed file. Im pretty sure that if i install Centos without installing grub, it wont appear on my boot menu list untill i add it to it. My question is do i create a brand new /boot partition for Centos? and how do i get the information for Centos such as exact kernel, image, title, since I wont be able to boot into Centos until it is added to grub.conf file? thanks in advacne for your help
You dont have to create a seperate boot partition for Centos...the installer will take care of it.
Here's what I do...
If I install a new OS without touching the grub then after the install I enter my already installed Linux. Mount the partition (in your case Centos) on to a directory and then find out the exact kernel file and initrd.
then i just edit grub.conf based on that and reboot and if everything goes well...you will able to boot into Centos.
so i should a create a partition like "centos" for example
then boot into fedora and mount the /boot partition onto the newly created partition(centos) and retrieve the info needed and add it to grub.conf?
I assume you have free space on the hard drive to install Centos. All you do is to install Centos in the free space...then boot into fedora. Become root and mount the partition on which you installed centos.
You would do something like this to boot
# mount -t file-system-type -o rw /dev/hdXY /your-preferred-mount-point
X should be replaced with the harddrive used like a or b
Y should be replaced with the partition number on the harddrive
Edit: the /boot partition of Centos would be inside you root partition of Centos. You cannot mount a particular directory from a different partition...you have to mount the whole partition to access a particular directory in that partition.
hey tux, i installed Centos and created a /mnt/centos directory.
logged into fedora and mounted my centos directory and looked in /boot but there is no info there, its empty. can you tell me where to look for kernel info, title, initr etc, so i can edit my grug.conf file in fedora to be able to boot into centos, thanks in advance
I did not see this thread and started a new one in the general forum. Tux I see you have experience with this. Is it possible to take a look at the thread I started? Any comments you offer would be great.
I have a simple question but it's just for clarification.
Is the installation of Centos on a different hard drive than the fedora distro?
Or is it just on a different partition? The reason that i ask is because the other distros are on the hd0. This tells me that they are on hd0. This tells me that they are on the first hard drive ide controller.
The way that it seems to me is that you are trying to put it on the second controller (hd1) oh either the 7th or 8th partition.
Please could you clear this up for me I am having a hard time following and I am also a newbie trying to learn.