Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 07-12-2003, 07:09 AM   #1
LQ Newbie
Registered: Jul 2003
Distribution: Red Hat Linux 9
Posts: 4

Rep: Reputation: 0
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.
Old 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: Reputation: 46
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.
Old 07-12-2003, 11:24 AM   #3
LQ Newbie
Registered: Jul 2003
Distribution: Red Hat Linux 9
Posts: 4

Original Poster
Rep: Reputation: 0
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 ?
Old 07-12-2003, 11:36 AM   #4
Registered: May 2003
Location: Mt. Prospect, Illinois
Distribution: Fedora Core 2, SuSE 9.1 Professional
Posts: 189

Rep: Reputation: 30
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.
Old 07-12-2003, 11:41 AM   #5
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Here is the RedHat doc:
Old 07-12-2003, 12:09 PM   #6
LQ Newbie
Registered: Jul 2003
Distribution: Red Hat Linux 9
Posts: 4

Original Poster
Rep: Reputation: 0
Merci !

Thank you to every one. I'm going to read this page of documentation.
Old 07-12-2003, 03:46 PM   #7
LQ Newbie
Registered: Jul 2003
Distribution: Red Hat Linux 9
Posts: 4

Original Poster
Rep: Reputation: 0

It was so easy !
Thank you !!!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
dual boot problem: winxp and rh9 both one one hard drive dinow Red Hat 6 07-26-2005 07:00 AM
dual boot (rh9 winXP) host problem leb01002 Linux - Newbie 2 11-21-2003 09:58 AM
WinXP/RH9 - Dual Boot? Ulaire Smiley Linux - Newbie 5 09-26-2003 02:08 PM
Problem double-booting WinXP and RH8.0 GodFoca Linux - General 4 06-19-2003 05:50 PM
double boot for winxp & red hat 8.0 cyclid Linux - General 1 12-18-2002 04:07 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:07 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration