LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-14-2004, 05:23 PM   #1
arctic123
Member
 
Registered: Jul 2004
Distribution: SuSE 10.0, Mac OSX 10.4.3, Windows XP
Posts: 67

Rep: Reputation: 15
How do I run Linux and Windows on the same computer?


Thats my question...now how do i do it? I have Windows XP Pro and Fedora Core 2.
 
Old 10-14-2004, 05:36 PM   #2
CroMagnon
Member
 
Registered: Sep 2004
Location: New Zealand
Distribution: Debian
Posts: 900

Rep: Reputation: 33
That can be a big question...

quick summary:
1) Install Windows XP - don't use one partition for the entire drive unless you have two hard drives.
2) Install Fedora Core 2 - it will (almost certainly) detect XP and set up the boot manager to boot either system.

If you have a more specific question, go ahead...
 
Old 10-14-2004, 05:58 PM   #3
CGameProgrammer
Member
 
Registered: Oct 2004
Distribution: Yoper
Posts: 30

Rep: Reputation: 15
Here's how I did it. I resized the Windows XP partition to make room for Linux, then I created a new primary partition (of type ext2, ext3, or reiserfs) for the linux root, then a small primary partition for the linux swap, then a logical partition filling the rest of the hard drive. The logical one then gets made into a small FAT32 partition that can be used to transfer files between the two operating systems (both can read and write FAT32, but it's not a good filesystem to use for permanent storage), and the remaining space is used as a linux partition (ext2, ext3, or reiserfs) for /home.

That covers partitions. The distro should take care of everything else... mine did. I wasn't used FC2 though, but I doubt it matters.
 
Old 10-14-2004, 09:34 PM   #4
arctic123
Member
 
Registered: Jul 2004
Distribution: SuSE 10.0, Mac OSX 10.4.3, Windows XP
Posts: 67

Original Poster
Rep: Reputation: 15
I installed both, but when I try to boot windows i get a blue screen and it won't boot. Fedora will boot though. Any ideas?
 
Old 10-14-2004, 10:30 PM   #5
cranky
Member
 
Registered: Oct 2004
Location: Sydney
Distribution: Slackware 10
Posts: 63

Rep: Reputation: 15
which one did you install first?
 
Old 10-15-2004, 12:54 AM   #6
KohlyKohl
Member
 
Registered: Aug 2004
Location: Wausau, WI
Distribution: SuSE Linux Enterprise Desktop 10
Posts: 193

Rep: Reputation: 30
First Change your hard drive read write setting to LDA instead of auto. That will fix any boot error problems you will encounter when installing the 2.6+ kernel. If xp was already installed then that should fix your boot problem automatically. If not you must install windows first then linux.
 
Old 10-15-2004, 04:11 PM   #7
arctic123
Member
 
Registered: Jul 2004
Distribution: SuSE 10.0, Mac OSX 10.4.3, Windows XP
Posts: 67

Original Poster
Rep: Reputation: 15
How do I change that? I have an ASUS P4C800 mobo.
 
Old 10-16-2004, 12:08 AM   #8
floppywhopper
Member
 
Registered: Aug 2004
Location: Western Australia
Distribution: Mageia , Centos
Posts: 643
Blog Entries: 2

Rep: Reputation: 136Reputation: 136
Just reading the August 2004 edition of Linux Format Magazine ( from UK ) Page 11.

This apparently is a known problem and a work around has been posted at
http://www.redhat.com/archives/fedor.../msg02114.html

And Fedora isnt the only culprit
Mandrake 10 and Suse 9.1 also implicated
However it only seems to affect Win XP
The article also says the problem seems to arise when partioning a disk not working with pre-existing partitions.

hope this helps
live long and prosper
floppywhopper
 
Old 10-16-2004, 11:44 AM   #9
KohlyKohl
Member
 
Registered: Aug 2004
Location: Wausau, WI
Distribution: SuSE Linux Enterprise Desktop 10
Posts: 193

Rep: Reputation: 30
you can do one of those work arounds, or you can do the easy solution. Which i've tested on 10 different computers and 4 different distros that caused the boot problem. They are were fixed by simply changing the read/write to LDA, rather than the default Auto setting. Unfortunitly all bios' are different, but you should be able to edit your harddrive info in the bios by clicking on it or hitting enter over the hard drive you are editing. Then find the read/write option and change that to LDA.
 
Old 10-16-2004, 11:44 AM   #10
arctic123
Member
 
Registered: Jul 2004
Distribution: SuSE 10.0, Mac OSX 10.4.3, Windows XP
Posts: 67

Original Poster
Rep: Reputation: 15
ok, I'll check that out. Thanks.
 
Old 10-16-2004, 11:51 AM   #11
arctic123
Member
 
Registered: Jul 2004
Distribution: SuSE 10.0, Mac OSX 10.4.3, Windows XP
Posts: 67

Original Poster
Rep: Reputation: 15
ok, When I go into my BIOS and click on my hard drive these are the options I get...

Type
LBA/Large Mode
Block (Multi-Sector Transfer) Mod
PIO Mode
DMA Mode
SMART Mode
32 Bit Data Transfer

Are any of those it?
 
Old 10-16-2004, 12:30 PM   #12
KohlyKohl
Member
 
Registered: Aug 2004
Location: Wausau, WI
Distribution: SuSE Linux Enterprise Desktop 10
Posts: 193

Rep: Reputation: 30
Yeah select the LBA/Large Mode.
 
Old 10-16-2004, 12:38 PM   #13
jev-bird
Member
 
Registered: Jul 2004
Location: USofA
Distribution: Whatever runs accordingly.
Posts: 200

Rep: Reputation: 30
Careful with the Bios, if you trully know what your doing there is no need to coincide messing with the bios and installations of the two.

Here is the ghetto but simple way. Install windows xp first on a seperate partition and then install fedora on whatever else is left. Choose NOT to install a boot loder and select to make a boot disk floppy instead.

Now there you got your windows with it's own mbr and whenever you want to use linux just boot up from the floppy disk you made.

A few tips: do not use reiser for the above technique as reiser boot image my be to big for floppy, so use ext2 or 3 instead.

If your windows boot loader ever gets screwed up do the fixmbr or boot into the windows recovery console and type in bootcfg /rebuild to get your windows back.
 
Old 10-16-2004, 02:27 PM   #14
KohlyKohl
Member
 
Registered: Aug 2004
Location: Wausau, WI
Distribution: SuSE Linux Enterprise Desktop 10
Posts: 193

Rep: Reputation: 30
changing your read/write mode is perfectly safe. I've done its 100's of times with no lost data ever. Also most people do not want to use a boot disk just to load Linux, thats just stupid and annoying. Second fixing your mbr with windows xp recovery console after linux messed it up, does NOT work. You have to either use fdisk or a setup disk that came with your hard drive to completly whipe out the MBR. Even then i've had to sometimes erase the hard drive completely before I could ever install windows on it again. To fix this problem all you have to do is change the read/write mode of your hard drive with the MBR to LBA. Its simple and painless, if you want to go reading 10 pages of howtos that don't always work and involve way too much tweaking then go ahead do it that way.
 
Old 10-16-2004, 06:22 PM   #15
CroMagnon
Member
 
Registered: Sep 2004
Location: New Zealand
Distribution: Debian
Posts: 900

Rep: Reputation: 33
Changing modes on a hard drive with data is not necessarily "100% safe". It depends on how your hard drive and/or BIOS access data on the drive in different modes. I've had drives in the past that failed to read and write data correctly because the sectors were all ordered differently under LBA (this happened more on older systems). Also, fixing the MBR with XP's recovery tools certainly does work, unless you've done something very stupid to your partition table, in which case no recovery tool in the world will help. It's just unlikely to boot linux afterward, as Microsoft don't tend to care about any non-MS operating systems.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Partition my computer to run Linux hernan Linux - Newbie 3 01-27-2005 03:03 AM
Can i run Windows and linux on the Same computer, and how? (NO LINUX EXPERIENCE) blackgiroro Linux - Newbie 15 12-15-2004 04:57 PM
Why would a windows computer smoke a linux computer for download speed ? lostboy Linux - General 4 10-21-2003 05:20 PM
Partitioning drives to split Linux and windows with windows already on computer. linuxnoub Linux - Hardware 5 10-16-2003 12:21 AM
Will Linux run on this computer??? system Linux - General 5 12-25-2001 12:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:04 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
Open Source Consulting | Domain Registration