Install of XP after Ubuntu

Asked by jacek

Hi Guys,

I have Ubuntu installed but need to also install XP. Can that be done, does anyone have a working procedure for that. As I tried the below link and it does not work. I have 320 GIG drive with Ubuntu taking 250. When I start the installation of XP it sees 131 GIG partition. I proceed with the installation and format that partition with NTFS. Then when the files finish copying over the system reboots, which is a standard procedure, but it starts with the hardware detection all over again, and once again I need to format the 131 partition.

I also tried to install XP over buntu butbthe story is the same. the link I used:

http://apcmag.com/how_to_dual_boot_linux_and_windows_xp_linux_installed_first.htm

Please advice!
Jacek

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Huygens (huygens-25) said :
#1

I think this isn't the right place as it seems that you have problem installing XP, not Ubuntu :-(
There is another guy that has a similar problem as you, see this question: https://answers.launchpad.net/ubuntu/+question/60255

I have tried to help him, but could not figure out in the end. I would really try to help you too, but I sense that there is a kind of bug with XP installer... because those behaviours (in your question and the other one) is not to be expected from the installer.
My only advise would be to try an go on a Windows XP community (or official, if they have) support site and ask how to install XP over Linux for example.

Huygens

PS: I have a little idea, though. One that you could google around, or ask on a Microsoft support site. PCs (I mean here the hardware architecture of our computers, not the operating system or software layers) have many limitations. And out of all those limitations here is a list of the ones that could probably bug you:
  - You can have only 4 primary partitions on a single disk. And if you have one extended partition, then you can have only 3 primary partitions.
  - Depending on your BIOS (the little system that you see upon startup before the OS boot screen), you might not be able to create a bootable partition which is after the first 32GB of your hard disk.

Those limitations are well known by Linux installer and bootloader (i-e: Grub or Lilo) and they can overcome them. But I don't think that the XP installer can do so. For solutions you have:
  - as said, check with Windows or Microsoft support website (community or official) that you hit one of the above limits...
  - if this is true, then you could try the following:
    - as suggested here: http://apcmag.com/how_to_dual_boot_linux_and_windows_xp_linux_installed_first.htm?page=3 you probably have shrinked your partition. What you could also do is move it (if that is possible), move it so the free space is on the left of this partition. Please backup all of your files before doing this. And check that the backup is OK.
    - or you could try to buy a small hard disk (like 32 GB), put it in your system. Then you install XP on it. And you move your "My Documents" and all to the partition you made on your 320GB disk. Note: moving your "My Documents" to another volume is not possible with XP Home Ed., you need the Pro Ed. at least.

Revision history for this message
Huygens (huygens-25) said :
#2

Small mistake. If I remember well, you can move your "My Documents" to another volume even with the Home Edition. But you cannot move, with this edition, the C:\Documents and Settings\<your username> folder.

Revision history for this message
jacek (jacekb57) said :
#3

I fixed the problem. the thing that you have to do is before you press enter for windows installation you have to press R and from the c drive run fixmbr.

but going back to my first question, can XP be installed after ubuntu? I tried that guide but it is for Vista and it does not work with XP

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#4

Yes
1) resize Ubuntu partition to make space for Win using the Ubuntu live cd and gparted.
2) install win on the free space
3) Use Ubuntu live cd restore grub after installing Window

Hope this helps

Revision history for this message
Tom (tom6) said :
#5
Revision history for this message
Abi ^-^ (abiyasa-eka) said :
#6
Revision history for this message
Abi ^-^ (abiyasa-eka) said :
#7

Yes You can, after installing windows, take a look at

https://help.ubuntu.com/community/WindowsDualBoot#Recovering%20GRUB%20after%20reinstalling%20Windows

Just follow the command

Revision history for this message
Abi ^-^ (abiyasa-eka) said :
#8

I''m sorry for my triple answer

This link provide more step and information for you to recovering ubuntu after installing windows

https://help.ubuntu.com/community/RecoveringUbuntuAfterInstallingWindows

After installing windows, follow the command in quick start

Revision history for this message
Tom (tom6) said :
#9

@ Abi, oh i liked your ansewr. Sometimes it's not easy to see that the posting has worked or it's easy to double click and post twice or sometimes you just notice a slight typo just after posting and need to add clarification. All the above happen to me a lot too. I like the way your answer pin-points the right part of the page i was referring to. Nicely done :)

Revision history for this message
Abi ^-^ (abiyasa-eka) said :
#10

in the first post, when I click Add Answer button, during the loading, I think that I want to change my answer 'Just do it' to 'Just follow the command', so I click stop, change my answer and send it ^ - ^

in the https://help.ubuntu.com/community/WindowsDualBoot#Recovering%20GRUB%20after%20reinstalling%20Windows, I found that user must manually determine in where the Ubuntu partition is ....

but In the last link, user can find where Ubuntu partition is by do a command
find /boot/grub/stage1

Thank you ^ - ^

Revision history for this message
Tom (tom6) said :
#11

I tried your command

find /boot/grub/stage1

but found i had to run it from a grub command line rather than the normal one, so in a terminal console just typing

sudo grub

and then the user password (not the SuperUser/Root one) if asked and then doing the

find /boot/grub/stage1

found both of my grubs! I have a slave drive that can also be used as the master drive in case i run into troubles with my rubbish old master drive. Previously i have always used gparted to find the Ubuntu partition! Much too dangerous a tool to be used so flippantly. The only advantage is that sometimes its easier to spot other problems that could be fixed but it's not really a good excuse whe it's so easy to lose data and prgrams by accidentally misusing it. Thanks for giving me this much safer and easier command :)

Regards from
Tom :)

Revision history for this message
Tom (tom6) said :
#12

If you are still having trouble with this then please post it as a new question. Only the most recent questions tend to get looked at so posting/reposting a question just before america arrives online after work/school gives the best chance of getting a good few answers.
https://answers.launchpad.net/ubuntu/+addquestion

If the problem has been resolved then please follow the link to the forum thread and mark it as Solved.

Good luck and many regards from
Tom :)

Can you help with this problem?

Provide an answer of your own, or ask jacek for more information if necessary.

To post a message you must log in.