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.
Please, be indulgent with my english : I'm french !
I have tried to install RHL9 to dual boot with windows XP. Windows is in /dev/hda1 while Linux is in /dev/hda2. Before the installation of Linux,
windows worked fine. I choosed Grub as boot loader. At the boot prompt, if I write "dos" (or anything else I have tried to put in
/boot/grub/grub.conf), it is answered that it doesn't know "the kernel image: dos".
My impression is the following:
- either, Grub is not the boot loader that it is used ( during the
installation, I have choosed to put Grub on the first sector of my boot partition and not on the MBR)
- or Grub is not able to read its configuration file: In the reference
guide, it is written that Grub can read ext2 partitions while my partitions are ext3 (it has be done automatically). Moreover, when I changed the line "timeout=10" to "timeout=2" in grub.conf, there was no change in the boot process.
Before I answer to your questions, I have to precise something. After the installation of RH, I forgot completely to remove the boot diskette from the disk reader. So, in fact, when I boot, I have no choice: windows is loaded. If I want to boot on Linux, I have to use the boot diskette.
Of course, I would prefer to have Linux by default.
Grub is not in the MBR. During the installation of Linux, at the screen "advanced boot loader configuration", I have chosen to put Grub on "the first sector of the boot partition".
The content of grub.conf is certainly of no use since we know now that the boot diskette was used (and it explain why, above the boot prompt, "Syslinux 2.00" was written).
I think I should re-install RH and put Grub on the MBR ?
Distribution: Fedora Core 2, SuSE 9.1 Professional
You identified your problem. You may be able to repair things by re-installing GRUB. But it must be installed on the MBR if you want it to pick up on the Windows properly and boot that from the prompt.
If I am not mistaken, you can just start the installation of GRUB from the command line after booting into Linux.
grub -install should work. I think it will prompt you for the installation questions that it needs to go to the right places. It is an intelligent installer and should pick up on all the operating systems and where they are on the installation. Just make sure to install on the MBR so that on initial boot it starts from there.
Hopefully someone will correct me if I'm wrong, but GRUB can be re-installed at any time and it can be done from a graphical interface. The new installation, I believe, will overwrite the old one and you should be set. The only thing wrong is that it calls Windows "DOS" and you can correct that by editing during installation, or as you did, go in later and edit the Config file.