Linux - Newbie This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
07-12-2003, 07:09 AM
|
#1
|
LQ Newbie
Registered: Jul 2003
Distribution: Red Hat Linux 9
Posts: 4
Rep:
|
RH9, WinXP double boot problem
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.
Thank you to help me.
|
|
|
07-12-2003, 09:45 AM
|
#2
|
Senior Member
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403
Rep:
|
GRUB is able to boot from ext2, ext3, etc.
If you want to boot Windows, you need to "chainloader" it.
I do not understand exactly where you installed GRUB,
currently, is GRUB in the MBR ?
Can you post your
- grub.conf
- Filesystem and mount points (use the df command)
It will help me find the problem must faster.
|
|
|
07-12-2003, 11:24 AM
|
#3
|
LQ Newbie
Registered: Jul 2003
Distribution: Red Hat Linux 9
Posts: 4
Original Poster
Rep:
|
Thank you to take care of my problem.
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 ?
|
|
|
07-12-2003, 11:36 AM
|
#4
|
Member
Registered: May 2003
Location: Mt. Prospect, Illinois
Distribution: Fedora Core 2, SuSE 9.1 Professional
Posts: 189
Rep:
|
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.
|
|
|
07-12-2003, 11:41 AM
|
#5
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
|
|
|
07-12-2003, 12:09 PM
|
#6
|
LQ Newbie
Registered: Jul 2003
Distribution: Red Hat Linux 9
Posts: 4
Original Poster
Rep:
|
Merci !
Thank you to every one. I'm going to read this page of documentation.
|
|
|
07-12-2003, 03:46 PM
|
#7
|
LQ Newbie
Registered: Jul 2003
Distribution: Red Hat Linux 9
Posts: 4
Original Poster
Rep:
|
MERCI
It was so easy !
Thank you !!!
|
|
|
All times are GMT -5. The time now is 07:04 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|