LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 01-02-2002, 09:19 AM   #1
crag
LQ Newbie
 
Registered: Jan 2002
Posts: 1

Rep: Reputation: 0
Question Trying to dual boot Linux and Windows XP


Ok, I have Windows XP on the C: drive, RedHat 7.1 on the D: drive. LILO is installed in the /boot partition on the D: and boots just fine with the boot floppy created during installation. I've modified lilo.conf to only identify Linux (ran lilo to activate). Had to run fixmbr in Windows to repair changes made during part of the Linux install. Windows XP boots fine from the default boot.ini; Linux boots fine from the floppy. I used BOOTPART to create a linux launcher and put the entry into the boot.ini. Windows boot loader comes up with the right options -- Windows XP and Linux. XP boots fine from there, but the Linux option starts -- provides the winimage/bootpart banner -- and then says, "cannot boot from harddrive, please insert system disk and press ENTER".

So close and yet so far... any idea what's wrong with this setup?

All help greatly appreciated -- I hate having to use the boot floppy.

crag
 
Old 01-02-2002, 03:16 PM   #2
Daniel Nichols
LQ Newbie
 
Registered: Feb 2001
Location: Pens, Fl
Distribution: slackware 1.0/2.0 old hardware, Caldera Open Linux 6.0?
Posts: 8

Rep: Reputation: 0
Win Xp and Linux

Most likely Windows XP installs past the cylinder that Lilo and Linux need to boot.

Did you install Windows first? Must install Windows first for a lilo and linux to recognize the other OS to offer them in the boot option.

I would wait on using XP with all of the security holes in it.

Why are you worried about XP???
 
Old 01-02-2002, 03:18 PM   #3
Daniel Nichols
LQ Newbie
 
Registered: Feb 2001
Location: Pens, Fl
Distribution: slackware 1.0/2.0 old hardware, Caldera Open Linux 6.0?
Posts: 8

Rep: Reputation: 0
sorry, reading too many threads mixed yours with someone else's.
 
Old 01-02-2002, 11:03 PM   #4
mudgie
LQ Newbie
 
Registered: Dec 2001
Distribution: RH 7.X
Posts: 14

Rep: Reputation: 5
Red face Booting two OS's

I have had much success with Linux on the Primary Master, and the Monopolist's Windows 2000 product on another drive altogether, as well as pushing Windows to the end of a partition using a single drive. Lilo and Grub just play well with others, the Monopolist bully does not fare as well in the friendly playground.

You will likely need to have the Monopolist drive present as a primary slave or secondary whatever when you are installing Linux on the primary master. Afterwards, Lilo (in redhat 7.1) or Grub (in redhat 7.2) will be aware of it, and display it in the boot menu. More must be done at this point though. It seems that the Monopolist Bully needs to be seen as the first drive, so you will need to include Map commands to trick the surly thug into thinking he is king of the hill. Try the following:

Sample Lilo entries, assuming Windows is the second hard drive-

other=/dev/hdb1
label=dos
table=/dev/hdb
map-drive = 0x80
to = 0x81
map-drive = 0x81
to = 0x80

Grub is similar -

title windows
root (hd1,1)
map (0x81) (0x80)
map (0x80) (0x81)
makeactive
chainloader +1

Obviously there is more to it than this, but the key words are above, intrepid folks should be able to google there way to a more comprehensive solution.

Best of luck,
Mudgie
 
1 members found this post helpful.
Old 01-03-2002, 06:59 AM   #5
shan
LQ Newbie
 
Registered: Dec 2001
Location: MA
Distribution: RedHat 7.1
Posts: 7

Rep: Reputation: 0
Dual boot Linux and Windows XP

I'm not familiar with BOOTPART but I had sucess following the instructions on the following link:

http://www.littlewhitedog.com/reviews_other_00011.asp

Note, RH 7.1 will default to putting the "linear" command into your lilo.conf. For my IDE drive, I had to remove "linear" and add "lba32" (without the quotes) near the top of lilo.conf. Make sure to run lilo -L after making any changes to lilo.conf.
 
Old 01-03-2002, 01:38 PM   #6
ajcmmills
LQ Newbie
 
Registered: Dec 2001
Location: CO
Distribution: linux red hat 9.0 and suse 9.2
Posts: 15

Rep: Reputation: Disabled
I did this and it worked...

What I did was installed windows first, I put the windows xp partition after the Linux partition. In other words, do fdisk, make unallocated space in the beginning of the hdd. Then when windows xp is loaded go into disk management, under administrative tools, computer management, and disk management, format the unallocated space. There, windows will know that the partition is there. Make sure you have the volume at 1024, which isn't the default in windows. Install Linux use grub or lilo and you should have no problems getting into Linux or windows.

I was having the same problem when I loaded red hat 7.2. I've got the box version so it came with 30 days of online tech support, and the only thing that they told me that work was the above instructions. And trust me we did everything. Sometimes you just have to start over.
Allan
 
  


Reply


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
Solution Dual Boot Windows & Linux [ALL DONE IN WINDOWS] No Linux terminology DSargeant Linux - Newbie 35 02-07-2006 03:29 PM
Solution Dual Boot Windows & Linux [ALL DONE IN WINDOWS] No Linux terminology DSargeant Linux - Newbie 4 11-10-2005 11:37 AM
How do I dual boot Linux and Windows XP from Windows boot file andyri Linux - Newbie 4 08-04-2004 10:09 PM
On Windows and LInux dual boot - why install Windows first? yanar99 Linux - Newbie 13 12-18-2003 09:20 AM
Win98/Linux - dual boot : windows boot says logical drives exist past z ashpai Linux - Software 3 03-22-2001 09:00 AM

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

All times are GMT -5. The time now is 12:07 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration