Computing.Net > Forums > Linux > Dual Boot RH linux 7.3 and XP

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Dual Boot RH linux 7.3 and XP

Reply to Message Icon

Name: Solarisboy
Date: December 3, 2002 at 12:53:03 Pacific
OS: Linux 7.3 and XP Pro
CPU/Ram: Dell optiplex p4
Comment:

Hi Guys,
Can any one suggest me a solution for the following scenario?
I have a Dell optilplex GX 240 box running XP pro and RH 7.3. I did
the dual boot this way.

1) Installed XP Professional on the first 5GB of the 30GB hard disk.
2) Installed RH Linux 7.3 in the next 10GB of the Hard disk after
creating partition with Partition Magic 7
3) Created the rest of the space on the disk as a logical partition
for Windows XP.

I tried to install Linux in the second part(starting from 15GB) of the
Hard disk but it would not be recognized as it might want to be a
part of the MBR. ( I am not sure why installation of linux went fine
when i tried to install it starting from 5GB and didnt start at all
when I tried to start it from 15GB).

I understand that the order is important. How about installing Linux
first and then install windows xp? But Windows might over write the
MBR and linux maynot come up at all.

What I am trying to do is have only one partition for windows and one
partition for linux 15 GB each.. The order doesnt matter but need the
box in the above shape.

Any Thoughts.. I would truely appreciate if any one can point me to a step by step instruction.



Sponsored Link
Ads by Google

Response Number 1
Name: Jenne
Date: December 3, 2002 at 15:21:56 Pacific
Reply:

The best thing is, like you did, to install WinXP and then Linux.
LiLO has no problem to handel XP.

In earlier Linux Versions there was a need to put the /boot within the first thousend blocks of a hard drive.
I am not shure, but maybe even Windwos has to start in that range.
I think this is your problem.

Linux only want to write the bootloader (in most cases LILO) in the MBR, but this has nothing to do with your problem.

I have WinXP and Linux installed on one computer, too. I created a small partion ~100mb for /boot. After that the WinXp Partion starts.And the main Linux Partion is at the end. This works fine.

Regards

Jenne

Ps:
If you find missspelled text, make a copy and be happy :-))))


0

Response Number 2
Name: solarisboy
Date: December 3, 2002 at 15:59:40 Pacific
Reply:

Thanks a lot for your reply. Yep you did address my problem. But can you make it more clear how you did this on your box.

Did you create partitions before you installed XP?

If not where will XP get installed on the whole disk. I assume it will be in the begining of the disk. If XP is already installed how will you create a boot partition of 100MB before your XP partition.

Thanks...


0

Response Number 3
Name: Greg
Date: December 3, 2002 at 22:02:19 Pacific
Reply:

I have a box running both XP and Linux. You don't really require the /boot. This is how I did it:
1) Create your partitions using either fdisk or Toms Root Boot (http://www.toms.net/rb/)
2) Install XP on the first 5GB*
3) Install Linux on the following 15GB*
* This is in your scenario.
NB-LILO will be written to the MBR but your XP bootloader will still be intact (if you are using a fairly recent release of Linux, eg. SuSE 8.0 of Mandrake 8.1)


0

Response Number 4
Name: solarisboy
Date: December 4, 2002 at 10:17:10 Pacific
Reply:

Greg,

I understand that I can do that and thats what I already did. What I am looking at is this

1) 30 GB hard disk divided into 15 each or atleast 10 for XP and doesnt care how much linux is gonna take. But I want single partitions for both linux and xp each atleast 10GB in size. What I have now is
XP on first 5 GB
Linux on next 15 GB
XP again on last 10GB
I dont want two XP partitions. I want one single contiguous one in the begining or in the end. Thats what I am looking at.
Thanks


0

Response Number 5
Name: Joe Dolan
Date: December 4, 2002 at 11:13:33 Pacific
Reply:

Solarisboy,
I had a similar problem last night, but my result was much worse then yours. I had an existing version of XP installed on an extended partition and I created a partition for linux as primary. Linux installed great and I configured GRUB boot loader to load XP. Well because it wasn't a primary partition it didnt work. So in my infinite wisdom I uninstalled Linux and hoped XP would boot up, no such luck. Now my MBR is all messed up and I dont know what to do.
However I have learned the proper way to do things if you can start from scratch. Clean off your HD of every partition and create a 15GB primary partition for windows. Leave the other 15GB free space. Install XP on the first partition. After that is done install linux and have it create its two or three partitions in the remaining free space. After you are done you can add a line in your boot.ini to load linux. Hope this helps!!


0

Related Posts

See More



Response Number 6
Name: solarisboy
Date: December 5, 2002 at 09:55:10 Pacific
Reply:

Looks like a better sol.. As I have said My problem is If I made 2 partitions 15 GB each and installed XP pro on the first partition and try to install Linux it doesnt get installed as the second partition is not being seen.( some how it is not being recognized ). What Shud happen is it shud load linux in the free space creating ext partition and shud fail showing up linux until boot.ini is changed. Once the relevant changes to boot.ini are made the system should show the linux up on boot. B T W You didnt tell what changes we need to make to boot.ini and any files to be created in Linux to be recognized.
Thanks..



0

Response Number 7
Name: johnb
Date: December 10, 2002 at 01:47:42 Pacific
Reply:

you have your reasons, but i would suggest that you keep windows in its 5-10gb own partition and your user files in a seperate fat32 partition. that way *when* you do have to reinstall XP your files are hopefully safer... plus having your files on fat 32 meants that both xp and linux can safely read/write to it... and remember that linux needs to be in more than one partition... normally you would need at least a root and a swap, and possibly a boot... i have mine set up as XP primary ntfs 10gb, Primary NTFS for user files 20gb, Extended for ext3 linux boot, root and swap all up 7gb, and primary 3gb fat32 for other user files. booting from the nt boot loader. in hindsight i wouldnt have the two user partitions, unless of course you needed to make files larger than 2gb (which XP's automated system recovery can do by the way)

i have written a small how to of how i did it if you are interested.


0

Response Number 8
Name: miguellan
Date: December 12, 2002 at 18:58:17 Pacific
Reply:

Joe Dolan,

What if any are the advantages or drawbacks of using the GRUB boot loader over the LILO boot loader. Also, can you email me an example of adding Linux to your boot.ini file?


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: Dual Boot RH linux 7.3 and XP

Redhat Linux 7.3 on AMD Duron www.computing.net/answers/linux/redhat-linux-73-on-amd-duron/16671.html

dual booting RH linux 6.0 and win 98 www.computing.net/answers/linux/dual-booting-rh-linux-60-and-win-98/2571.html

Need RH Linux 7.3 + 9! will pay $$$ www.computing.net/answers/linux/need-rh-linux-73-9-will-pay-/20953.html