Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to keep my Linux partitions and install Windows 8 (currently have XP) to another partition.

I tried it on another computer, where I had a Linux partition, but didn't need to keep it. There was also an XP partition, but that wasn't good enough for Win8. The Windows 8 partitioner is... not very good and only allowed me to create a new Windows partition to install to after deleting all previous partitions.

Any ideas how I could prepare the partition setup in such a way that Windows 8 would just use some of the ready made partitions and leave my Ubuntu install alone?

(Sorry if dup, could only find ones for doing it the other way.)


The error I get is 0x803000024. Google returns results where the "solution" is always either to unplug all other drives (I got this with only one HDD) or remove all partitions (which I'm trying to avoid).

share|improve this question

By default the Windows installer creates 2 partitions, one small "System Reserved" and a big one where you install windows and where the rest of files go. You can force it to use only one partition by creating it beforehand by using for example gparted Install gparted. You need to make sure that it is a ntfs primary partition.

Now if you start windows setup, point to the partition you made beforehand and it should install without partitioning anything.

share|improve this answer
Yes, I see that it created two partitions, however I had one partition (where XP was) that was a primary partition (named sda2 in Ubuntu) in NTFS format and it refused to use it, giving some opaque error number. Googling the number only returned others seeing it and needing to remove all partitions they had. – otus Jan 30 '13 at 13:46
BTW, forcing it to use one gparted-prepared partition used to work with XP and even Windows 8 Preview, but doesn't with my current Windows 8 install image. – otus Jan 30 '13 at 13:53
could you put this information, including the error message you get into the question? – Gerhard Burger Jan 30 '13 at 14:41
I don't have the error number, I'll see if I can retry get it. – otus Jan 31 '13 at 8:52
Ok, found the error number and updated question. – otus Feb 1 '13 at 7:43
up vote 0 down vote accepted

Ok, I managed to solve this in the end. I'm not sure the following are all strictly required, but it's what worked for me.

  1. Make sure the target drive is the first, numbered 0 in the Win8 installer. Switch drive order via BIOS or swapping SATA connectors if necessary.
  2. Make sure no GPT drives are connected if installing to MBR drive. Presumably vice versa.
  3. Remove/don't create the target partition, leave empty space where you want it.
  4. In the installer, don't create a partition, but choose the empty space and click next. Necessary partition(s) will be automatically created.
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.