I am currently using Ubuntu 14.04 and I need to install Windows 7 as dual boot (not VM). How can I do that? Should I create a partition with G Parted for Win7? Need advice from someone who did this successfully.

share|improve this question
up vote 3 down vote accepted

Yes, you have to create a separate ntfs partition for Windows and it should be a Primary one(if your disk has MBR partition table) through gparted.

Run Windows installation disk and select custom option to install Windows on created ntfs partition.

To create a separate ntfs partition from /dev/sda1

enter image description here

  • Boot Ubuntu installation disk and click on try Ubuntu option on startup.

  • Open gparted partition editor from dash. If the program is not installed by default then run the below commands to install gparted.

    sudo apt-get update
    sudo apt-get install gparted
    
  • Make sure that all the partitions are unmounted. Now right-click on the /dev/sda1 partition and select Resize/Move option to reduce it's size(actual space needed for your Windows).

  • After the above operation, an unallocated space will be created just below to /dev/sda1

  • Create a new ntfs primary partition from that unallocated space.

share|improve this answer
    
Thank you for your answer, but it seems I have another problem, I can't resize my partition. Print – Ragnar Apr 24 '14 at 8:28
    
i cant resize my portion please help – user265211 Aug 17 '14 at 4:34
    
@user265211 get into here – Avinash Raj Aug 17 '14 at 4:40

I did it, but with some little problems. So I did the resize thing from Live CD, worked perfect, I've installed Windows 7 and then I've rebooted. And here I encountered a problem, my laptop was booting directly to Windows. So again back to Try Ubuntu and type this on terminal:

 sudo mount /dev/sda1 /boot 
 sudo apt-get update && sudo apt-get install grub-pc 
 sudo grub-install /dev/sda 
 sudo umount /boot. 

It didn't worked perfectly, but this tutorial saved me. Now I have dual boot Ubuntu and Windows 7 and it works just fine!

share|improve this answer
    
I know you have already done it but i would like to do it myself. Did you lose your existing ubuntu and youre setups or is everything the same ? I have gnome 3 with a lot of shells and preferences and i would like to install windows without losing my existing ubuntu. Thanks @Ragnar – Nuno Travado Oct 24 '16 at 19:28

Your Answer

 
discard

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.