Download your favorite Linux distribution at LQ ISO.
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 03-24-2003, 04:49 AM   #1
LQ Newbie
Registered: Nov 2002
Posts: 15

Rep: Reputation: 0
dual boot problems


I hv win xp on a 10 Gb HDD (primary) and RH 7.1 on a 3Gb Hdd (secondary)..

When I installed Linux, it overwrote the xp bootloader and I was able to log in only to linux.. Using the XP Cd, I executed FIXMBR and now I can enter only into XP!

I do hv a Linux boot disk and am unable to boot into the linux.. Upon booting with the startup disk I get 5 options but they r all about reinstalling/upgrading or troubleshooting linux..

Can anyone help me out??

Old 03-24-2003, 06:01 AM   #2
Registered: Mar 2002
Location: INDIA
Distribution: Mandrake Linux 9.2, Knoppix 3.0
Posts: 158

Rep: Reputation: 30
find the partition where ur xp is installed and then add its entry in /etc/lilo.conf and then run lilo command at the command prompt
Old 03-24-2003, 06:34 AM   #3
Registered: Sep 2002
Distribution: Slackware 8.1
Posts: 84

Rep: Reputation: 15
you can find the partition by using fdisk.

If for example you want to list all partitions on your primary disk (hda) type fdisk -l /dev/hda
Old 03-24-2003, 07:22 AM   #4
Senior Member
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
Re: dual boot problems

Originally posted by sgaucho
Upon booting with the startup disk I get 5 options but they r all about reinstalling/upgrading or troubleshooting linux..
Did you try the 'troubleshooting' option? As said before you are going to have to get into Linux and install either GRUB or LILO.
Old 03-24-2003, 12:54 PM   #5
LQ Newbie
Registered: Nov 2002
Posts: 15

Original Poster
Rep: Reputation: 0
I tried the troubleshooting option and got a shell prompt but do not know how to proceed from here!

will try out the fdisk option later today.. thnx,

Old 03-25-2003, 02:13 PM   #6
LQ Newbie
Registered: Mar 2003
Location: Zeewolde, Holland
Distribution: Debian Woody, Gentoo
Posts: 24

Rep: Reputation: 15
there is another way, dont let lilo or grub write to your MBR of /dev/hdx (where your XP mbr is). Instead place it on a seperate bootdisk or your rootdisk if you do not have a seperate bootdisk. Then cop your 'new' MBR to your windows disk using
dd if=/dev/hdx of=/dev/hdy/boot.lnx where /dev/hdx is your boot-disk for linux, and /dev/hdy is your XP-disk. If this one is NTFS you can't write to it. Use a floppy disk as intermediate make sure it is fat and not ext2 or something. Then go to XP, go to the prompt and cd / to the xp-root. Use attrib to remove the non-write and hidden from boot.ini attrib -r -h boot.ini. Then edit boot.ini and place an extra line for your Linux, and refer to boot.lnx (see the windows-lines for example. I think it is boot=/boot.lnx). You can use any name you like for boot.lnx. With this method I am able to boot from XP to Win 98, Debian, Gentoo, RedHat and Xp.
Old 03-26-2003, 09:11 AM   #7
LQ Newbie
Registered: Nov 2002
Posts: 15

Original Poster
Rep: Reputation: 0

I hv RH7.1 and it hangs midway when I tried to use the graphic install.

But in either the graphic install or the text install, it never asks me as to where to install Lilo..

My basic problem right now is booting into linux.. How do i get into the linux partition ??

I can reinstall linux for all its worth but i guess the same problem will repeat with linux overwriting windows bootloader..

any suggestions??


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 Problems...big problems Goonie Linux - General 19 12-09-2006 05:44 PM
Problems With Dual Boot / Dual Drive Setup Norab Linux - Hardware 1 08-07-2005 10:15 PM
dual boot problems, now no boot loader after fixmbr mipia Debian 2 04-04-2004 10:43 PM
Dual boot for Redhat 9 and Solaris 9 boot manager problems steve_2010 Red Hat 1 01-30-2004 10:14 PM
Dual boot problems jamestwok Linux - General 2 10-22-2002 05:09 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:48 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