Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Red Hat This forum is for the discussion of Red Hat Linux.


  Search this Thread
Old 05-06-2004, 10:00 PM   #1
LQ Newbie
Registered: May 2004
Posts: 6

Rep: Reputation: 0
Problem dual booting.....Windows does not boot

Hi All,
I have three partitions on my machine
1st partion----windows C drive (11 Gb)
2nd partition---Redhat Linux 9 (15 Gb)
3rd partition---Windows data (55 Gb)

Since two months everything was working fine. But suddenly I get this wierd problem, where Windows XP does not boot and the error it says is

Booting .......DOS
chainloader +1
and then it hangs there and nothing happens. Please help me how to correct this.
Old 05-06-2004, 10:38 PM   #2
Registered: Mar 2004
Location: Jinhua, People's Republic of China
Distribution: MDK, RH, KNPX
Posts: 161

Rep: Reputation: 30
But suddenly I get this wierd problem
Did you change anything? Anything at all? It sounds like your lilo.conf (or grub.conf) is pointing to the wrong directory for windows. In lilo.conf or grub.conf all drive assignments are realative to hd0,0. If you used partition magic to make a new partition or delete an old one, this sort of trouble can come up.

If windows is on your first partition, try rootnoverify(hd0,0) chainloader +1
Old 05-06-2004, 11:29 PM   #3
LQ Newbie
Registered: May 2004
Posts: 6

Original Poster
Rep: Reputation: 0
I did not change anything at all. And I tried changing grub.conf to rootnoverify(hd0,0) and again instead of giving the error as rootnoverify(hd0,4) it gave the error rootnoverify(hd0,0) and i did not use partition magic either.
Old 05-07-2004, 07:41 AM   #4
Senior Member
Registered: Jan 2004
Location: Slovenia
Distribution: Slackware 10.1, SLAX to the MAX :)
Posts: 1,040

Rep: Reputation: 45
When you boot into linux, type fdisk -l as root

That will show you the partition on which the Windows reside.
for instance /dev/hda1 == (hd0,0) and /dev/hdb3 == (hd1,2)

Check grub.conf if that is the rootnoverify(hdx,x) your grub.conf is set to boot into windows. if not. Change it to the one you have found out with fdisk.

This should do the trick. If it already is the way it should be, I'm out of ideas.

You could try recovery with Windows CD.
Old 06-07-2004, 04:53 PM   #5
LQ Newbie
Registered: Jun 2004
Posts: 3

Rep: Reputation: 0
I've got a similar problem - the annoying thing being that dual-booting *was* working on this machine until I changed distros. I have WinXP on one HD (hdb) and Linux on the other (hda). I did have Mandrake 10CE loaded, which used Lilo and worked fine. Then I decided to install SuSE 9.1, and while Linux boots okay, I get the message:

root (hd1,1)
Filesystem type unknown, partition type 0x7
chainloader +1

fdisk confirms that Windows is on hdb2 (there seems to be a Dell partition on hdb1 which I didn't know about before).

I tried changing to Lilo - no joy (hangs after saying 'Loading Windows'). I changed back to Grub and tried changing the seeting to 'rootnoverify', but that didn't help either. Alas, I need Windows on this machine, so I might be foreced back to Mandrake...
Old 06-08-2004, 12:58 AM   #6
LQ Newbie
Registered: May 2004
Location: India
Distribution: Fedora
Posts: 5

Rep: Reputation: 0
Hey Guys,

This has been one common problems among the Users who try to dual boot their system.

There has been many versions to this problem:

1. First Installed Linux - then installed Windows - Windows' own bootloader overwrites, the linux boot loader (Lilo or Grub).

(a). Try to boot into Linux with a boot floppy(if U have one, always better to have one).
Reinstall the boot loader.
(b). Use a third party bootloader program like Boot Magic.

2. The case reported by Raj Verma.

Raj, Have u changed the IDE slot. i.e., have changed the Data Cable from One slot to another in the Mother Board. Then the Name of the harddisk might have changed.

Grub is a multiboot load agent. It will try to boot OSes that support Multiboot directly.
But OSes which doesnt, it gives control to the respective boot loaders ( Eg. Windows). This is called Chain Loading.

The Commands:
chainloader +1

Note: If U run the windows recovery CD U still might loose Linux.

In this case correcting the grub.conf file should suffice.

It wud be helpful for me raj, if U could give us the output of.

fdisk -l /dev/hd"X"

Hope this helps
Old 06-11-2004, 10:58 AM   #7
LQ Newbie
Registered: Jun 2004
Location: Texas, USA
Distribution: Red Hat Enterprise AS 3
Posts: 2

Rep: Reputation: 0
I recommend to those who wish to run more than one OS on a single hard drive, the following:

>>Visit and purchase the VMware Workstation, either for Linux or Windows, depending on which OS is your primary
>>This allows you to run mulitple instances of various OSs on one disk without ever having to reboot (usually)

The price is a little steep if you aren't a developer or avid user of multiple operating systems, but they do offer academic pricing. IMO, it's well worth it. Give it a try folks, and do share comments.
Old 06-11-2004, 10:10 PM   #8
LQ Newbie
Registered: May 2004
Location: India
Distribution: Fedora
Posts: 5

Rep: Reputation: 0
Its great mistake, if U go for Proprietary software like VmWare, if U have so much for Free(Free as in Freedom) from the GNU/Linux.

I will be a bit tough to start with, U may lose data, partitions, OSes. But finaly when U achieve it Urself, there will be a great sense of satisfaction.

Hey Raj, I suggest U try to do it Urself and enjoy this



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
Problem dual-booting into windows xp with Grub justintime32 Debian 4 03-26-2005 01:27 PM
Dual booting problem - linux and windows XP supervillain Linux - Newbie 2 11-21-2004 09:29 AM
dual booting using windows boot manager? texasnoob Linux - Newbie 5 10-06-2004 09:22 AM
Dual Booting Windows/Linux Problem klytu General 4 03-22-2004 09:01 PM
dual booting win98 & rh : possible problem if upgrading windows? yanar99 Linux - Newbie 2 01-29-2004 09:36 PM > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 08:57 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration