LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-06-2004, 07:51 AM   #1
Agbo
LQ Newbie
 
Registered: May 2001
Posts: 6

Rep: Reputation: 0
Unhappy Dual booting Red Hat Linux with Windows XP


Hello All,

I know variants of the issue has been treated, I couldn’t get a way round the various suggestions to get this up and running

I wonder if anyone can help me. I have been fascinated with Linux or a while, and recently installed Red Hat advanced Server 2.1 on my laptop, intending to dual boot with a previously installed Windows XP. The installation was smooth…with no installation issues, however I lost sight of a crucial step….where I am supposed to have installed the MBR in the /boot, but went through the installation and suspect that the MBR of the Windows was overwritten.

Now, My experience after the installation is that I can boot into the Red Hat AS2.1 without an issue, but have not been able to either select Windows XP nor boot into the OS, despite booting with my Windows bootable CD. I get an option to install/repair the installed windows XP. I have modified the /etc/lilo.conf as suggested on many sites, and this hasn’t worked despite rebooting.

I couldn’t attempt the fixboot or fdisk fixmbr, as bootable CD won’t allow to get to the command prompt.

I have tried all I know and have seen on the site. I would appreciate any step-wise assistance from anyone who can locate where I am on the installation radar, either posted here or mailed to me at o.agboola@btinternet.com

Thanks in advance.

O
 
Old 04-06-2004, 07:59 AM   #2
Zanneth
LQ Newbie
 
Registered: Feb 2004
Distribution: Ubuntu Dapper Drake Beta
Posts: 16

Rep: Reputation: 0
Wait, so you installed RedHat, and you want to use Lilo? I thought the default was Grub...

But I tihnk you might be able to get to the recovery console and type:

vi /etc/grub.conf or if you do have lilo vi /etc/lilo.conf

Then, once you are in there, add the lines to make Windows work again...


But if you can't get to the command line, boot from your Windows XP CD and go to the DOS prompt. Then type help and look for a command that says something like MBRFIX (I can't remember the command. But its in there.) Then your MBR will be cleared and you just have to reinstall LILO/GRUB.
 
Old 04-06-2004, 08:05 AM   #3
Agbo
LQ Newbie
 
Registered: May 2001
Posts: 6

Original Poster
Rep: Reputation: 0
Unhappy

Thanks Zanett for yur quick respose.

I was able to edit the lilo.comf if you followed my arguement, but the options to select Windoxs XP never came up

I tried to boot into Windows from the CD, but have only options to either repair or re-install Wndows.

Now there are 2 files in the /etc that suggest settings for lilo.conf, lilo.conf and lilo.conf.anaconda...I editted both and hasnt worked.

Rgds
 
Old 04-06-2004, 08:08 AM   #4
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
Red Hat usually uses the Grub bootloader. Add these lines to it's /etc/grub.conf:

title windows xp
rootnoverify (hd0,0)
chainloader +1
 
Old 04-06-2004, 08:24 AM   #5
Agbo
LQ Newbie
 
Registered: May 2001
Posts: 6

Original Poster
Rep: Reputation: 0
Thats true (though optional)....but I chose to use lilo instead, as I understand this will be easy for administration and use purposes.
 
Old 04-07-2004, 10:25 AM   #6
Agbo
LQ Newbie
 
Registered: May 2001
Posts: 6

Original Poster
Rep: Reputation: 0
Hi All,

I have uninstalled the lilo with lilo -U /dev/hda(-referring to the hdd, which is on IDE) option....fixed the MBR using a Windows 98 Bootable CD. THis allowed my Windows installation to load with minor pre-installed software problems and nothing major. I went ahead and re-installed the Red Hat Linux AS 2.1, which was equally successful, and this time ahowever I am yet to get the dual booting working very well. Whenever I boot the PC only the Windows XP is loaded, and makes no reference/or acknowledgement of the successfully installed RH Linux. I did not make a boot disk installing the Linux. Is there a way to force the GRUB boot loader to recognise the Windows installation without installing it in the MBR as opposed to /boot installation of the GRUB loader which I now have.

I will still try the boot.lnx settings to see if the windows loader will boot into the RH Linux installation is configured and post an update of mu outcome here. However I will appreciate any shortcuts that may differ to my approach.

Thanks fellas.

Rgds,
 
Old 04-07-2004, 01:11 PM   #7
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
Here is a howto on using the Windows bootloader
GRUB will not be able to come before Windows and load it without being on the MBR.
 
Old 04-08-2004, 07:10 AM   #8
Agbo
LQ Newbie
 
Registered: May 2001
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks all.

I will try one of two options that I have in respose.

1. Attempting to boot with Grub which is the first prference and differs from the second- which is using the NTLDR.

2. Obviously defaulting to the Windows NTLDR, if the former fails.

Rgds,
 
  


Reply



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 booting Windows 98 and Red Hat 6 psarangi Linux - Software 14 07-07-2004 09:19 PM
Dual booting Red Hat Linux 7.3 dark_light Linux - General 17 09-08-2002 10:56 PM
dual booting red hat 7.3 with windows 2000 pro nixdisciple Linux - General 2 06-02-2002 02:26 AM
Dual Booting Red Hat 7.1 and Windows XP terricksa Linux - General 8 05-20-2002 11:30 AM
dual-booting red hat 7.2 and windows 2000 professional using NTLOADER nixdisciple Linux - Newbie 2 02-07-2002 09:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:12 PM.

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