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

This question already has an answer here:

I want to learn how can I install Windows 7 with my Ubuntu 12.04 x64 side by side a.k.a. dual-boot. I searched over the internet. Everywhere recommends and explains how to install Ubuntu over windows 7. My problem is I don't want to format and lose my Ubuntu data. I tried to install windows 7 (Ubuntu pre-installed) in a virtual machine (with VirtualBox). It gave me an error:

"Setup was unable to create a new system partition or locate an existing system partition. See the Setup log files for more information."

Either installation process of windows 7 over pre-installed Ubuntu with dual boot or how to backup and restore whole Ubuntu system will solve my problem.

PS: If it helps, my system has one 128 GB SSD (sda) which have Ubuntu installed on it and one 1.0 TB hard disc (sdb).

sda has:

  • sda1 (linux, bootable, Ext4, /)
  • sda2 (extended)
  • sda5 (linux swap)

sdb has:

  • sdb1 (Microsoft Reserved Partition)
  • sdb2 (Linux Basic Data Partition,-,NTFS,/media/New Volume)
  • sdb3 (EFI System Partition,-,FAT32,Not mounted)
  • sdb4 (EFI System Partition,-,FAT32,Not mounted)
  • sdb5 (Linux Basic Data Partition,-)
  • sdb6 (Linux Basic Data Partition,-,NTFS,/media/New Volume 2)
  • sdb7 (Swap Space, Linux Swap Partition)
share|improve this question

marked as duplicate by stephenmyall, Mik, hhlp, Uri Herrera, belacqua Feb 28 '13 at 21:32

This question was marked as an exact duplicate of an existing question.

Is this a duplicate? The OP is asking regarding a specific issue not addressed in the duplicate. – Hilton Shumway Aug 17 '15 at 19:20

Install Windows in the partition that you have set aside. Windows will install it's own bootloader and that's ok. Two ways to fix the bootloader include:

Easy BCD: This is a great tool for editing the boot menu. You don't have to pay for it (I would recommend donating though...) and it works well. This is a preferable option if you need to get a dual boot working with the Windows bootloader. I haven't tried to edit GRUB with it, but I think there's that option.

Boot-Repair: Boot up your system with an installation disk and choose the Try Ubuntu option. Add the repository, install boot-repair and it will give you some powerful options for modifying GRUB. boot-repair instructions can be found here: boot-repair

I would recomend the Easy BCD route. I've had the most success with it and it's pretty simple to figure out. That's all I got, so good luck and have fun :D

share|improve this answer
Oh the link for EasyBCD: EasyBCD` Just go to the bottom and click on register. If you want you can enter your email, but you don't have to. Just hitting the download button works. – qwertyomen Feb 28 '13 at 16:23
The OP asked regarding a specific issue (the system partition) which is not addressed here. – Hilton Shumway Aug 17 '15 at 19:21

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