How do I Dual Boot XP with Linux Mint?

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read this

How do I Dual Boot XP with Linux Mint?

Postby hayz on Sat Jul 26, 2008 12:07 pm

Hello there,

Let me head straight to the issue:

I just installed Linux Mint on my HP Dv5215us Laptop (AMD)and I will like to Proceed further to Install both Windows OS on the 50GB+ Partition I have left.

k, I av a 100GB HDD. . There is a 48GB partition i made for my DATA (like you know i am not touching that)

Now, i installed Linux Mint on the Remaining 50GB+ (By selecting Continuous Largest Space during Installation)

So now i will like to install Windows on the same partition i installed Linux mint, it's not that i don't know how to do the partitioning nd install the Windows. . Its just dat I think i mite get thing screwed bcos of my present DATA partition. .

I will like Good & Seasoned members of this Forum to put me thru.

Thanks. .

*As time goes i will post Here likely problems i encounter on the Linux Mint distro.

Thanks.
hayz
Level 1
Level 1
 
Posts: 17
Joined: Sat Jul 26, 2008 11:59 am

Linux Mint is funded by ads and donations.
 

Re: How do I Dual Boot XP with Linux Mint?

Postby lakehousetech on Sat Jul 26, 2008 12:15 pm

You can't install windows in the same partition as mint because they are two different files systems (ext3 and NTFS). You can shrink your Mint partition down to allow free space, then take that free space and create an NTFS partition with it.
User avatar
lakehousetech
Level 4
Level 4
 
Posts: 454
Joined: Wed Nov 07, 2007 3:34 pm
Location: Toronto, ON

Re: How do I Dual Boot XP with Linux Mint?

Postby khanvict on Sat Jul 26, 2008 12:44 pm

khanvict
Level 1
Level 1
 
Posts: 15
Joined: Sat Jul 19, 2008 5:25 pm

Re: How do I Dual Boot XP with Linux Mint?

Postby hayz on Sat Jul 26, 2008 1:56 pm

lakehousetech wrote:You can't install windows in the same partition as mint because they are two different files systems (ext3 and NTFS). You can shrink your Mint partition down to allow free space, then take that free space and create an NTFS partition with it.


I have skrinked my the Linux mint partition to a small size so as to have a NTFS partition for Windows XP. .

What i want to know now i that will Windows XP let Linux mint boot wen i finally install it?
hayz
Level 1
Level 1
 
Posts: 17
Joined: Sat Jul 26, 2008 11:59 am


Re: How do I Dual Boot XP with Linux Mint?

Postby hayz on Sat Jul 26, 2008 5:14 pm

I have visited all links posted Here, but it seems i am not getting it @ ALL. .

Really, i av no means of Backup of my DATA disk Partition, so i dnt want to mess up anything. .

Bcos i will be really Sad for loosing all the Data i av gathered all my Computer life*

Pls see attached Image below, mayb some1 can explain to me Hw to install various OS on my HDD so as not to get things Screwed.
Attachments
partition table.jpg
partition table.jpg (33.65 KiB) Viewed 1019 times
hayz
Level 1
Level 1
 
Posts: 17
Joined: Sat Jul 26, 2008 11:59 am

Re: How do I Dual Boot XP with Linux Mint?

Postby hayz on Sat Jul 26, 2008 5:20 pm

khanvict wrote:^ that's correct

if you need help: http://apcmag.com/how_to_dual_boot_linu ... _first.htm


I av once read this article b4,


But once again i could barely get wat i was to do wen i got to the Codes ' sudo stuff! :cry:
hayz
Level 1
Level 1
 
Posts: 17
Joined: Sat Jul 26, 2008 11:59 am

Re: How do I Dual Boot XP with Linux Mint?

Postby Linux n00b on Sat Jul 26, 2008 10:29 pm

hayz wrote:But once again i could barely get wat i was to do wen i got to the Codes ' sudo stuff! :cry:


Let me put it in simple fact. If you are new to linux system like me, and don't know what you are doing for certain things, it is best to research before doing anything. For dual boot or triple boot, the simplest option is to do it the right order and let OS handle the complicated part for you.

For example, if you want XP/Linux dual boot, the easiest way is to install XP first, then install Linux. The Linux installation will handle the rest for you. Since you have install Linux first, you will have to follow the "sudo stuff". It is not that hard really.

Dual boot partitions is not as simple as you'd like to think, my laptop (the one I type this reply) is Vista (for games) and Mint dual boot. I install Vista first, then Mint, the swap partitions created by Mint is not the best it can be, but it is a lot better than I mess up with partition myself.
The difference between genius and stupidity is that genius has its limits.
-- Albert Einstein
User avatar
Linux n00b
Level 3
Level 3
 
Posts: 144
Joined: Sat Jul 05, 2008 9:55 am

Re: How do I Dual Boot XP with Linux Mint?

Postby lakehousetech on Sat Jul 26, 2008 10:50 pm

Just make sure that you avoid choosing 'Guided Installation' when installing Mint again. Check out the Linux Mint user guide. There may be some good information in there regarding manual installation. I have to read it still. I have been lazy lately.
Wherever you go, there you are... - Buckaroo Banzai
http://www.lakehousetech.com
- Mint Debian
User avatar
lakehousetech
Level 4
Level 4
 
Posts: 454
Joined: Wed Nov 07, 2007 3:34 pm
Location: Toronto, ON

Re: How do I Dual Boot XP with Linux Mint?

Postby Fred on Sun Jul 27, 2008 12:47 am

hayz,

It is very hard for me to read your partition table. Old eyes, small picture. It looks like you have gotten yourself into a difficult place. Please write out your partition table and what you have on each partition. Also which are primary and which are extended/logical partitions.

XP must go on a primary partition. I don't know if you have one left or not.

You may have to do a bit of manual work here in order to not loose your data.

Fred
Insanity: Doing the same thing over and over and each time expecting a different result.

Democracy is 2 wolves and a lamb voting on the menu. Liberty is an armed lamb protesting the electoral outcome. A Republic negates the need for an armed protest.
User avatar
Fred
Level 10
Level 10
 
Posts: 3356
Joined: Fri Jan 04, 2008 11:59 am
Location: NC USA

Re: How do I Dual Boot XP with Linux Mint?

Postby kansasnoob on Sun Jul 27, 2008 2:31 am

Well, first and foremost, any repartitioning or reinstalling any OS involves some risk of data loss. Nothing is more important than creating backups of all valuable data, but since that's not an option just know that there is no 100% guarantee!

While I'm fairly new to Linux (just started in February) but I've been playing with computers since the Tandy tape drive days and I've done a lot of repartitioning down through the years, but I have NO formal training of any sort!

Now, it looks like you have figured out how to use Gparted from the Linux Mint Live CD, eh?

And you're quite new to Mint so you've probably not made a lot of complicated modifications, eh?

And you're reluctant to try and edit GRUB's menu list to make both Mint and XP bootable after installing XP, so I must agree with the previous posts recommending that you remove Mint before installing XP, and then reinstall Mint afterwards.

If I were you, from looking at your screen-shot, I would delete everything but hda1 (your data partition), and leave that new space unallocated (aka unformatted) prior to installing XP. In fact, since your data partition has less than 3GB of free space left, I'd fix that after deleting all other partitions and before doing anything else. I'd go ahead and give at least 8 to 10GB of additional space to hda1. (I'm assuming from what you've said that you already know how to "resize".

A few important notes:
(1) I'm assuming that those small bits of "data" or whatever it is; 64.88MB used on hda3 and 65.07MB used on hda4 are nothing you need (or want) to save.
(2) Deleting all partitions but hda1 will free up approximately 43GB of space. After giving your data partition another 10 GB you could still give XP and Mint each 15GB plus, so make your own decision. (I recommend a minimum of 10GB for Mint and 12GB for XP.
(3) All of this pre-partitioning must be done from the Live CD! A common foible is to not pay attention to the little "keychain" next to a partition. While all partitions should be "unmounted" in a live CD session you may have to right click swap partition(s) and then left click "swap off".
(4) I don't like to "stack up" too many changes in Gparted before applying! In this case I'd delete hda3 and then click apply, then delete hda4 and apply. Then you could delete hda5, hda6, and hda2 (in that order) and apply all three of those changes at once. Then do the resize of hda1 (if you choose to) and apply that!
(5) When I'm all done partitioning I like to waste another 10 or 15 minutes and restart the computer and once again open Partition Editor (Gparted) while in the Live CD just to be sure my changes all took effect.

Once you've gotten through all of that you MUST be familiar with the XP installation process!

You didn't say if this was XP Home or Pro, but these screen-shots are fairly good:

http://www.petri.co.il/install_windows_xp_pro.htm

This is the scariest part of the procedure! Take special note of step 7 in that tutorial! Now you know why I said to leave the space "unallocated" (aka; unformatted)! Ideally we want to use about half of the unallocated space for XP but honestly at this point the most important thing is that we don't wipe out that data partition, so I don't care if you use the whole darn "unallocated" space!!! (If that should happen we can fix that easy as heck with Gparted and give you some space for Mint!)

Once the whole XP install procedure is done (don't bother with software installation or updates because Windows splatters unmovable crap all over a partition, OK) it's time to restart and see what we have! I sure wish we had a backup of that data partition!!!!!!!!!!

If all is well then we need to run the Live CD again and go straight to Partition Editor. Lets see if we have an unallocated space large enough for Mint w/swap. 10GB or more will be fine, but if XP hogged the whole space, no sweat! Just "resize" the new XP partition (remember I said to leave it "virgin" so this should be fairly quick).

And, well, you've installed Mint before! If you have a data partition (hda1), and an XP OS partition (should be hda2), and an unallocated (gray space) left I would personally choose "Guided - use the largest continuous free space", but ONLY IF you have a totally unallocated space to install to! Otherwise go Manual!

NOTE: Not having a back up of your data really scares the hell out of me. So many things could go wrong it's downright scary!

Please run my ideas by someone else before just doing it! This is what I would do, that does not mean it's the best way!
kansasnoob
Level 4
Level 4
 
Posts: 294
Joined: Sun Jul 20, 2008 1:45 pm

Re: How do I Dual Boot XP with Linux Mint?

Postby hayz on Sun Jul 27, 2008 2:40 am

Linux n00b wrote:
hayz wrote:But once again i could barely get wat i was to do wen i got to the Codes ' sudo stuff! :cry:


Let me put it in simple fact. If you are new to linux system like me, and don't know what you are doing for certain things, it is best to research before doing anything. For dual boot or triple boot, the simplest option is to do it the right order and let OS handle the complicated part for you.



Yes I know but it seems they r not doing the Job

Linux n00b wrote:For example, if you want XP/Linux dual boot, the easiest way is to install XP first, then install Linux. The Linux installation will handle the rest for you. Since you have install Linux first, you will have to follow the "sudo stuff". It is not that hard really.


actually to get things going on the rite side which should be a Good result for both the PC and Me.

I av delete the Whole Partition Table I created, except for My Data Disk. . which remains Intact, but won't Mount

So, my friend mayb the Forum can tell me wat nd Wat to do frm Creating the rite Partition table /Which OS should come 1st and so On . . . . . It's just like me starting out the Triple-boot from Scratch

Thanks 4 ur responses

Linux n00b wrote:Dual boot partitions is not as simple as you'd like to think, my laptop (the one I type this reply) is Vista (for games) and Mint dual boot. I install Vista first, then Mint, the swap partitions created by Mint is not the best it can be, but it is a lot better than I mess up with partition myself.


In my own case where i installed XP first b4 Mint and vice-versa. . I noticed that their r some files in my Data Disk Partition that are supposed to be in a Operating system Folder i was like wondering How they Got there. . E.g What could the files NTDETECT.COM, ntldr, boot.ini & msvci70.dll be doing in my Data Partition instead of my XP installation partition. .

-See screenshot below;

i think these always lead to the "Read Disk Error" i get after i done a XP installation and try to boot it. . (Here the XP won't boot so also the Linux mint -If preinstalled)


then again I figured out that again that @ the partition table the Data Disk Partition wen i rite-clik on it and Clik on Manage Flags, I see it is marked boot* Is that rite. .

See screenshot below too:

With all these Happening i am about to giv up but still I can't even Windows wen installed Won't Boot.

HELP!! :oops: :cry: :oops: :cry: :oops: :?:
Attachments
d_disk_flag.jpg
In here the Datadisk is Flaged *boot*

Y So?
d_disk_flag.jpg (61.52 KiB) Viewed 959 times
Data Disk2.jpg
Here is the Snap of the Data disk i found supposed Windows XP filesin it*
Pls take a Look @ it! . .
Data Disk2.jpg (30.23 KiB) Viewed 957 times
hayz
Level 1
Level 1
 
Posts: 17
Joined: Sat Jul 26, 2008 11:59 am

Re: How do I Dual Boot XP with Linux Mint?

Postby hayz on Sun Jul 27, 2008 2:43 am

lakehousetech wrote:Just make sure that you avoid choosing 'Guided Installation' when installing Mint again. Check out the Linux Mint user guide. There may be some good information in there regarding manual installation. I have to read it still. I have been lazy lately.



Yes, i dnt like that Part neither, I know it culd get things Messed up. .

Thanks, but some tutorial on How best to use that Part of the Installation Procedure, will do me some Good.
hayz
Level 1
Level 1
 
Posts: 17
Joined: Sat Jul 26, 2008 11:59 am

Re: How do I Dual Boot XP with Linux Mint?

Postby hayz on Sun Jul 27, 2008 2:49 am

Fred wrote:hayz,

It is very hard for me to read your partition table. Old eyes, small picture. It looks like you have gotten yourself into a difficult place. Please write out your partition table and what you have on each partition. Also which are primary and which are extended/logical partitions.

XP must go on a primary partition. I don't know if you have one left or not.

You may have to do a bit of manual work here in order to not loose your data.

Fred


k, Fred . . i am adding a Larger Screenshot of the Partition Table so u can look @ it very closely, Hopefully u help sort things Out*

Thanks. .
Attachments
partition table.jpg
This should be Clearer. .
partition table.jpg (66.32 KiB) Viewed 957 times
hayz
Level 1
Level 1
 
Posts: 17
Joined: Sat Jul 26, 2008 11:59 am

Re: How do I Dual Boot XP with Linux Mint?

Postby hayz on Sun Jul 27, 2008 3:50 am

@kansasnoob;

Well, first and foremost, any repartitioning or reinstalling any OS involves some risk of data loss. Nothing is more important than creating backups of all valuable data, but since that's not an option just know that there is no 100% guarantee!

I get Your point. . but wat am I to do wen i dont have another Option to Backup? :cry:

While I'm fairly new to Linux (just started in February) but I've been playing with computers since the Tandy tape drive days and I've done a lot of repartitioning down through the years, but I have NO formal training of any sort!

For me I am not new to Linux, i 1st xperienced Linux with the installation Of Uuntu distro sometime around year 2006, but some of the things i refuse to understand made me ignore the whole Linux thing. .while i keep using Windows i av always known.

Now, it looks like you have figured out how to use Gparted from the Linux Mint Live CD, eh?

Yes, to the Best of my knowledge . . I can!

And you're quite new to Mint so you've probably not made a lot of complicated modifications, eh?
Yes, very new to Mint, bt not Ubuntu* heheheeee!

And you're reluctant to try and edit GRUB's menu list to make both Mint and XP bootable after installing XP, so I must agree with the previous posts recommending that you remove Mint before installing XP, and then reinstall Mint afterwards.

Yes, am on verge of reinstalling everything frm the Strart.

If I were you, from looking at your screen-shot, I would delete everything but hda1 (your data partition),

I av done that now, Pls see Screenshot above d_disk_flag.jpg

In fact, since your data partition has less than 3GB of free space left, I'd fix that after deleting all other partitions and before doing anything else. I'd go ahead and give at least 8 to 10GB of additional space to hda1. (I'm assuming from what you've said that you already know how to "resize".

Yes, I would av extended d Data partition its just dat i plan on installing Vista too(Tripple Boot) heheehhhehe. . so the Whole 43GB unallocated should do?

(1) I'm assuming that those small bits of "data" or whatever it is; 64.88MB used on hda3 and 65.07MB used on hda4 are nothing you need (or want) to save.

. . those were not my hand work. . the partition Manager did dat, Am sure. . yea, i knw dey can be delete. .

(3) All of this pre-partitioning must be done from the Live CD! A common foible is to not pay attention to the little "keychain" next to a partition. While all partitions should be "unmounted" in a live CD session you may have to right click swap partition(s) and then left click "swap off".

I have learnt all those while playing wit the Partition Manager, lol-

4) I don't like to "stack up" too many changes in Gparted before applying! In this case I'd delete hda3 and then click apply, then delete hda4 and apply. Then you could delete hda5, hda6, and hda2 (in that order) and apply all three of those changes at once. Then do the resize of hda1 (if you choose to) and apply that!
(5) When I'm all done partitioning I like to waste another 10 or 15 minutes and restart the computer and once again open Partition Editor (Gparted) while in the Live CD just to be sure my changes all took effect.

:Noted!

Once you've gotten through all of that you MUST be familiar with the XP installation process!

You didn't say if this was XP Home or Pro, but these screen-shots are fairly good:

http://www.petri.co.il/install_windows_xp_pro.htm

-Very Familiar. .
-It's Windows XP PRO SP3. .
-K, i will go over the Tutorial link u just gave. .


Once the whole XP install procedure is done (don't bother with software installation or updates because Windows splatters unmovable crap all over a partition, OK) it's time to restart and see what we have! I sure wish we had a backup of that data partition!!!!!!!!!!

.. Like i said earlier, Windows didn't even boot not to talk of me updating!

Lets see if we have an unallocated space large enough for Mint w/swap. 10GB or more will be fine,

All that for Linux Swap? . .the last i knw of is that wen i installed Mint* it created a linux swap Partition of 1.86GB..

Lets see if we have an unallocated space large enough for Mint w/swap. 10GB or more will be fine,
I av no idea How to do it. . Can i remove my Laptop HDD nd possible hook it to a friends Desktop of Enuf large space to backup my Data? I dont' knw how to do dat either*

Please run my ideas by someone else before just doing it! This is what I would do, that does not mean it's the best way!

Thanks, i have been educated to some xtent going thru this post by you! . . I dn't want to be left hanging on a Laptop dat got nothing Other than Data partiton. .No OS'es heheheeehehe. :lol: :oops:
hayz
Level 1
Level 1
 
Posts: 17
Joined: Sat Jul 26, 2008 11:59 am

Re: How do I Dual Boot XP with Linux Mint?

Postby Fred on Sun Jul 27, 2008 4:06 am

hayz,

Ok... Thanks much for the larger pics. :-)

Looks like you have deleted all the partitions except the data partition. That is what you needed to do.

Use Gparted, it is in your live cd menu, and create a NTFS partition that is about 20 Gig. Make this partition a Primary partition. Leave the rest of the space unallocated.

Install XP on this partition. Do not allow your windows install to connect to the internet during the install. Boot into Windows but still don't allow Windows to connect to the internet. Disconnect your internet connection if that's what it takes. Install your anti-virus and fire wall software. When you are sure it boots correctly into XP shut it down and reboot your Mint CD.

Create a swap partition that is no more than 2 x the amount of your physical ram. The total of your physical ram and your swap should be less than 3.5 Gig. If it isn't, reduce your swap size to make it so. This too can be a primary partition.

Create an extended/logical partition of the type ext3 for your / that is 8 Gig.

Create a logical partition of the type ext3 for your /home that is 5 Gig.

Create a logical partition of the type NTFS for shared storage that is the rest of your unallocated space.

Close Gparted and start the install routine. When you get to the partitioning part choose manual. Assign the mount points for / swap and /home to the partitions you made for them. Complete the install allowing grub to install to the mbr.

Reboot when completed and remove the cd. If all went well you should see the Mint boot screen where you can select Mint or Windows.

Enjoy!

Fred
Insanity: Doing the same thing over and over and each time expecting a different result.

Democracy is 2 wolves and a lamb voting on the menu. Liberty is an armed lamb protesting the electoral outcome. A Republic negates the need for an armed protest.
User avatar
Fred
Level 10
Level 10
 
Posts: 3356
Joined: Fri Jan 04, 2008 11:59 am
Location: NC USA

Re: How do I Dual Boot XP with Linux Mint?

Postby hayz on Sun Jul 27, 2008 4:25 am

@Fred, I am going to tro to do the Installation like u av said. .nw, but did u take a look @ the place where i stated the Windows didnt boot after installing it with d Linux mint earlier . .Saying some "Read disk error" thing.

Nd did u see the shot i posted where i think boot files for Windows were found in my Data partition /dev/hda1 ?

Pls help look into this issues b4 i go ahead wit the installation as u av prescribed*


If this all goes well,like u said . .Can i still Install Vista . .nd they still all work wit no problems?
hayz
Level 1
Level 1
 
Posts: 17
Joined: Sat Jul 26, 2008 11:59 am

Re: How do I Dual Boot XP with Linux Mint?

Postby hayz on Sun Jul 27, 2008 5:45 am

Just some pointers:

Here is a shot i took with my Camera Phone wen windows refuse to Boot.

The 2nd one is a Error i got wen i tried to "Hibernate" Linux mint [but it neva resumed back to the normal login page]. .that was wen i had Linux Mint installed. .

*These r just pix i think u could look @ . . :wink:

@Fred, I still await your response b4 proceeding on Install as u av prescribed. .
Or mayb i just go ahead* :?:
Attachments
errorPC2.jpg
Error on Hibernation!
errorPC2.jpg (52.39 KiB) Viewed 898 times
errorPC1.jpg
Here is wat i get wen i have only the Datadisk on the HDD. .
errorPC1.jpg (28.71 KiB) Viewed 896 times
hayz
Level 1
Level 1
 
Posts: 17
Joined: Sat Jul 26, 2008 11:59 am

Re: How do I Dual Boot XP with Linux Mint?

Postby hayz on Sun Jul 27, 2008 6:06 am

Now, i was going to use the LiveCD to access Partition Manger, to make a NTFS partition for Windows. . but the Partition Manager won't work

Below is a Screen shot of the LiveCD not been able to Mount my DataDisk . . :!:

Edit: After reboot of the LiveCD partition editor now Works :D
Attachments
Cant_mount.jpg
Cant_mount.jpg (58.2 KiB) Viewed 897 times
hayz
Level 1
Level 1
 
Posts: 17
Joined: Sat Jul 26, 2008 11:59 am

Re: How do I Dual Boot XP with Linux Mint?

Postby hayz on Sun Jul 27, 2008 6:49 am

by Fred on Sun Jul 27, 2008 10:06 am
hayz,

Ok... Thanks much for the larger pics. :-)

Looks like you have deleted all the partitions except the data partition. That is what you needed to do.

Use Gparted, it is in your live cd menu, and create a NTFS partition that is about 20 Gig. Make this partition a Primary partition. Leave the rest of the space unallocated.

Install XP on this partition.


Followed this Instruction:

Here is wat Came up :arrow:
Attachments
installXP3.jpg
XP Installation 3
installXP3.jpg (30.63 KiB) Viewed 885 times
installXP2.jpg
XP Installation 2
installXP2.jpg (26.25 KiB) Viewed 885 times
installXP1.jpg
XP Installation 1
installXP1.jpg (19.56 KiB) Viewed 881 times
hayz
Level 1
Level 1
 
Posts: 17
Joined: Sat Jul 26, 2008 11:59 am

Linux Mint is funded by ads and donations.
 
Next

Return to Newbie Questions

Who is online

Users browsing this forum: krow7, Metal Mick, RonC and 25 guests