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 tried to search the forum for the problem I am facing but I didn't get the required answer. So, I am posting my question here. But before that let me say that I am pretty new Linux.
I have FC2 and WinXP installed on one HardDisk (40GB Segate) and is working fine. I got a new HDD (80GB Segate) and installed FC4 on it. Now FC4 boots fine but I am not able to boot from my old HDD. It shows two options in GRUB but when I choose second option (FC2 & XP) it fails to load.
My grub.conf looks like this
# grub.conf generated by anaconda
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,0)
# kernel /boot/vmlinuz-version ro root=/dev/hda1
# initrd /boot/initrd-version.img
title Fedora Core (2.6.11-1.1369_FC4)
kernel /boot/vmlinuz-2.6.11-1.1369_FC4 ro root=LABEL=/1 rhgb quiet
title FC2 & Windows
I don't know what other information I should provide. If someone let's me know, I will happily provide one
Boot up FC4 first, log in as root, make a temporary directory in /mnt, mount the root of FC2 (I estimate it to be hdb3), change root to FC2, while inisde FC2 restore FC2 Grub in its root partition, exit back to FC4, edit FC4's /boot/grub/menu.lst to "chianload" FC2.
mount /dev/hdb3 /mnt/hdb3
To make Fc2 chainloadable by FC4 add these lines in FC4's /boot/grub/menu.lst (Grub counts from 0 so (hd1,2)=hdb3)
RanDrake10's recommendation is one of the two alternative to boot FC2.
His method is "direct" booting where the root partition reference, kernel, initrd and the root location must be accurately specified. I refrained from doing it as you may have a job to locate the correct label for the root of FC2, especially from a LVM.
My proposed method is "indirect" booting whereby you use Grub to boot the FC2's Grub. That method requires only the root partition and the rest of the information can be omitted. That is exactly the same method your FC4 is booting Windows. The indrect booting method works on any Linux with Lilo too, in addition to any Dos, Windows, BSD and Solaris. That is why I labelled it as the "easiest" way.
In FC4, log in as root, invoke Grub shell and setup the boot loader agin in hdb2
All my disks are on cable select. The disk plugged to the end of the cable is automatically a master while the one plugged to the middle plug of the cable is always a slave. I have over 25 disks and swap them around all the time. My disks are in caddies insertable into any PC in seconds via mobile racks.
Remeber you have done a "fdisk -l" so the information in Linux is cast in stone. Some distros do report the bios drive not found in grub-install command and accept instruction in Grub shell. If it doesn't it can still be booted directly. That is based on my experience of booting over 100 of them. From the link you will find my FC2 in hda54, Fc3 in hda59, FC4 in hda22 and FC5 in hdc33.
If the Grub shell fails list the following information of FC2 here
(1) content of /boot/grub/menu.lst
(2) list the directory of /boot
(3) content of /etc/fstab