How can I install Windows after I've installed Ubuntu?












192














I have Ubuntu on my laptop. Now I want install Windows 7 in a dual-boot. How can I do this?



I can't lose my Ubuntu files, and I'm afraid that I might break GRUB.










share|improve this question




















  • 8




    If you will only use Win 7 occasionally you can also try installing it as a guest or a virtual machine using virtualbox. See this question and it accepted answer including the comments for details on that option.
    – koushik
    Oct 12 '10 at 7:43






  • 6




    For convenience next time install Windows before Ubuntu to save the GRUB hassles.
    – Oxwivi
    Feb 19 '11 at 7:18












  • Note that computers with a pre-installed copy Windows 8 have a different partition table and use UEFI instead of BIOS. I should provide this as an answer? Scroll down.
    – LiveWireBT
    Aug 9 '14 at 18:53






  • 1




    This article describes in detail how to install windows 7/8/8.1/10 after installing ubuntu: linuxdeveloper.space/install-windows-after-linux
    – dinosaur
    Mar 28 '17 at 17:37










  • For people who have a desktop PC rather than a laptop: consider getting a separate hard drive for the second OS. Much less hassle that way. (All you need to do is change the boot order or disconnect the Ubuntu drive before installing Windows, then change it back and just run update-grub)
    – Inquisitive Lurker
    Sep 12 '17 at 8:44
















192














I have Ubuntu on my laptop. Now I want install Windows 7 in a dual-boot. How can I do this?



I can't lose my Ubuntu files, and I'm afraid that I might break GRUB.










share|improve this question




















  • 8




    If you will only use Win 7 occasionally you can also try installing it as a guest or a virtual machine using virtualbox. See this question and it accepted answer including the comments for details on that option.
    – koushik
    Oct 12 '10 at 7:43






  • 6




    For convenience next time install Windows before Ubuntu to save the GRUB hassles.
    – Oxwivi
    Feb 19 '11 at 7:18












  • Note that computers with a pre-installed copy Windows 8 have a different partition table and use UEFI instead of BIOS. I should provide this as an answer? Scroll down.
    – LiveWireBT
    Aug 9 '14 at 18:53






  • 1




    This article describes in detail how to install windows 7/8/8.1/10 after installing ubuntu: linuxdeveloper.space/install-windows-after-linux
    – dinosaur
    Mar 28 '17 at 17:37










  • For people who have a desktop PC rather than a laptop: consider getting a separate hard drive for the second OS. Much less hassle that way. (All you need to do is change the boot order or disconnect the Ubuntu drive before installing Windows, then change it back and just run update-grub)
    – Inquisitive Lurker
    Sep 12 '17 at 8:44














192












192








192


128





I have Ubuntu on my laptop. Now I want install Windows 7 in a dual-boot. How can I do this?



I can't lose my Ubuntu files, and I'm afraid that I might break GRUB.










share|improve this question















I have Ubuntu on my laptop. Now I want install Windows 7 in a dual-boot. How can I do this?



I can't lose my Ubuntu files, and I'm afraid that I might break GRUB.







dual-boot windows system-installation






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 2 '14 at 5:28









kiri

18.8k1258104




18.8k1258104










asked Oct 12 '10 at 7:28









Sk8er

1,48941726




1,48941726








  • 8




    If you will only use Win 7 occasionally you can also try installing it as a guest or a virtual machine using virtualbox. See this question and it accepted answer including the comments for details on that option.
    – koushik
    Oct 12 '10 at 7:43






  • 6




    For convenience next time install Windows before Ubuntu to save the GRUB hassles.
    – Oxwivi
    Feb 19 '11 at 7:18












  • Note that computers with a pre-installed copy Windows 8 have a different partition table and use UEFI instead of BIOS. I should provide this as an answer? Scroll down.
    – LiveWireBT
    Aug 9 '14 at 18:53






  • 1




    This article describes in detail how to install windows 7/8/8.1/10 after installing ubuntu: linuxdeveloper.space/install-windows-after-linux
    – dinosaur
    Mar 28 '17 at 17:37










  • For people who have a desktop PC rather than a laptop: consider getting a separate hard drive for the second OS. Much less hassle that way. (All you need to do is change the boot order or disconnect the Ubuntu drive before installing Windows, then change it back and just run update-grub)
    – Inquisitive Lurker
    Sep 12 '17 at 8:44














  • 8




    If you will only use Win 7 occasionally you can also try installing it as a guest or a virtual machine using virtualbox. See this question and it accepted answer including the comments for details on that option.
    – koushik
    Oct 12 '10 at 7:43






  • 6




    For convenience next time install Windows before Ubuntu to save the GRUB hassles.
    – Oxwivi
    Feb 19 '11 at 7:18












  • Note that computers with a pre-installed copy Windows 8 have a different partition table and use UEFI instead of BIOS. I should provide this as an answer? Scroll down.
    – LiveWireBT
    Aug 9 '14 at 18:53






  • 1




    This article describes in detail how to install windows 7/8/8.1/10 after installing ubuntu: linuxdeveloper.space/install-windows-after-linux
    – dinosaur
    Mar 28 '17 at 17:37










  • For people who have a desktop PC rather than a laptop: consider getting a separate hard drive for the second OS. Much less hassle that way. (All you need to do is change the boot order or disconnect the Ubuntu drive before installing Windows, then change it back and just run update-grub)
    – Inquisitive Lurker
    Sep 12 '17 at 8:44








8




8




If you will only use Win 7 occasionally you can also try installing it as a guest or a virtual machine using virtualbox. See this question and it accepted answer including the comments for details on that option.
– koushik
Oct 12 '10 at 7:43




If you will only use Win 7 occasionally you can also try installing it as a guest or a virtual machine using virtualbox. See this question and it accepted answer including the comments for details on that option.
– koushik
Oct 12 '10 at 7:43




6




6




For convenience next time install Windows before Ubuntu to save the GRUB hassles.
– Oxwivi
Feb 19 '11 at 7:18






For convenience next time install Windows before Ubuntu to save the GRUB hassles.
– Oxwivi
Feb 19 '11 at 7:18














Note that computers with a pre-installed copy Windows 8 have a different partition table and use UEFI instead of BIOS. I should provide this as an answer? Scroll down.
– LiveWireBT
Aug 9 '14 at 18:53




Note that computers with a pre-installed copy Windows 8 have a different partition table and use UEFI instead of BIOS. I should provide this as an answer? Scroll down.
– LiveWireBT
Aug 9 '14 at 18:53




1




1




This article describes in detail how to install windows 7/8/8.1/10 after installing ubuntu: linuxdeveloper.space/install-windows-after-linux
– dinosaur
Mar 28 '17 at 17:37




This article describes in detail how to install windows 7/8/8.1/10 after installing ubuntu: linuxdeveloper.space/install-windows-after-linux
– dinosaur
Mar 28 '17 at 17:37












For people who have a desktop PC rather than a laptop: consider getting a separate hard drive for the second OS. Much less hassle that way. (All you need to do is change the boot order or disconnect the Ubuntu drive before installing Windows, then change it back and just run update-grub)
– Inquisitive Lurker
Sep 12 '17 at 8:44




For people who have a desktop PC rather than a laptop: consider getting a separate hard drive for the second OS. Much less hassle that way. (All you need to do is change the boot order or disconnect the Ubuntu drive before installing Windows, then change it back and just run update-grub)
– Inquisitive Lurker
Sep 12 '17 at 8:44










14 Answers
14






active

oldest

votes


















136














Here's the general outline:




  1. Make space for Windows

  2. Install Windows

  3. Mount the /boot directory or partition

  4. Install the bootloader (GRUB)


Step Zero – Backup your important data before doing anything



Step One – Make space for Windows



Open up GParted, and make sure that you have at least 20 GB available for Windows 7, either as a partition you can remove, or as unpartitioned space. If it's a partition, remove it from GRUB to make sure it doesn't break your Ubuntu install — GParted will complain if anything bad is about to happen.



Make note of current /boot device. If that doesn't show up there, make note of the / device. The device name is something like sda5.



Step Two – Install Windows



Install Windows 7 into the space you just made



Step Three – Mount /boot




Note: Instead of mounting the boot directory or partition from the installation in the live media environment you can specify the path with the --boot-directory parameter for grub-install, more information on the manpage.




Load up from your Ubuntu live CD, and then run these commands.





  • If you DO NOT have a separate /boot partition:



    sudo mount /dev/DEVICENAME_FROM_STEP_ONE /mnt
    sudo rm -rf /boot # Careful here, make sure YOU ARE USING THE LIVE CD. I tried it, it works.
    sudo ln -s /mnt/boot /boot



  • If you have a SEPARATE /boot partition:



    sudo mount /dev/DEVICENAME_FROM_STEP_ONE /boot



Step Four – Install the bootloader




Note: These instructions were initially written for Windows 7 and BIOS booting computers. If you have UEFI and Windows 8 and above you probably need to replace grub-pc with grub-efi-amd64 in sudo apt-get install grub-pc.




Then continue with those commands:



sudo apt-get update
sudo apt-get install grub-pc
sudo grub-install /dev/sda # NOTE THAT THERE IS NO DIGIT
sudo umount /boot


And restart. It should work fine and boot both systems.






share|improve this answer



















  • 4




    At least in Ubuntu 10.10, grub-pc is included on the live CD (so you can skip the line sudo apt-get update && sudo apt-get install grub-pc).
    – Matthew
    Dec 31 '10 at 4:02






  • 2




    If you DO NOT have a separate /boot partition: -- how do I find out this?
    – Alan Coromano
    Oct 4 '13 at 18:49






  • 2




    Wouldn't it be better (safer) using a chroot?
    – kiri
    Oct 4 '13 at 21:07








  • 2




    A safer instruction instead of rm -rf /boot is: mount --bind /mnt/boot /boot
    – Amr Mostafa
    Apr 20 '14 at 19:32






  • 3




    Did exactly as shown here, but did not work for Ubuntu 14.04. After invoking grub-install, Ubuntu automatically boots, no GRUB boot menu shown. The method shown below (Peachy's answer), however, worked (boot-repair).
    – Jan-Philip Gehrcke
    Jul 8 '14 at 0:49



















119





+150









Installing Windows after Ubuntu is not the recommended process for a dual boot Windows and Ubuntu system, but it is possible.




  • First, you have to make sure that the 50GB free space is available, resizing your Ubuntu by using gParted if necessary.

  • Also use gParted or Disk Utility to format the the free space as NTFS, this prevents Windows 7 from creating an additional boot partition in addition to the "C" drive.

  • Next, boot to the Windows DVD installer and install Windows on the NTFS partition. Upon reboot, Windows will automatically boot and you won't see the grub menu allowing you to choose Ubuntu, because the Windows bootloader has replaced grub.


  • Now, what you need to do is run Ubuntu from LiveCD or LiveUSB and install boot-repair.



  • To install boot-repair, open up a terminal by pressing Ctrl+Alt+T and type the following commands:



    sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get update
    sudo apt-get install -y boot-repair && boot-repair


  • After installation, boot-repair will automatically launch, if is doesn't, launch it via Dash.


  • Make sure to select recommended repair to repair grub. Reboot and that's it.


  • You should now have a Grub menu on boot, allowing you to choose from Ubuntu, memtest, and Windows 7






share|improve this answer



















  • 6




    Thanks, perfect. Just to mention you will also need an internet connection. And to run terminal to put the aforementioned commands Hit super-key in you keyboard(usually with windows logo in it) and type Terminal. Use terminal to put the commands.
    – Marcos Maia
    Jul 8 '12 at 16:04






  • 1




    Jan-Philip, fyi the PPA has been fixed and is now available for all supported versions of Ubuntu. So you do not need this hack any more. see the Ubuntu community page about Boot-Repair.
    – LovinBuntu
    Dec 30 '14 at 22:22










  • Does this work for Windows 8 / 8.1, too?
    – A. Donda
    Jun 3 '15 at 19:21












  • Will this work for Windows 10 ? Please let me know
    – mtk
    Aug 21 '15 at 14:07






  • 1




    Yes, this works for all versions of Windows from 7, through 8, 8.1 and 10. This also works with Ubuntu 15.10.
    – aalaap
    Sep 5 '15 at 8:20



















11














boot-repair did a really good job launched from a live-usb, by just applying the recommended option.






share|improve this answer



















  • 1




    This worked amazingly well. Thanks for the link.
    – Gazler
    Mar 21 '12 at 21:50



















6














When you boot have you checked the boot order on your BIOS? If you're booting straight to the hard drive it will always miss the USB. You need to move the USB device boot option higher in the priority list.



Also check that your computer allows you to boot from USB in the USB port you are using.






share|improve this answer

















  • 1




    What do you mean with the first part , But I am sure my computer allows Boot up from USB in that port
    – Ubisoft Terzuz
    Dec 24 '12 at 13:57












  • See this, in the BIOS there is a setting that tells the computer what to boot to first. If your hard drive is above usb in the list, it will always boot to that
    – Seth
    Dec 24 '12 at 14:40





















4














In case your computer came with a pre-installed copy of Windows 8 and you removed it because to many people told you to hate it and you found that after you installed Ubuntu, that it isn't what you want, note this:



Your computer boots with UEFI and has a GPT partition table.



For installing Windows 7, either create and boot the Windows 7 installation media in UEFI-mode or set boot-mode and partition table to legacy.






share|improve this answer





















  • and also DO NOT try to install Ubuntu alongside by shrinking the partitions and normally as in other systems. Read help.ubuntu.com/community/UEFI
    – Devesh Khandelwal
    Oct 6 '14 at 13:50










  • I have not deleted installation files that came pre-existing with laptop firmware (but only C drive, where Windows was installed formerly). Now, how do I install Windows 8.1 from that?
    – user12458
    Jan 4 '17 at 5:30



















3














To install Windows you need an empty partition that will be dedicated to Windows. If you do, then go ahead and install on this using the normal installation procedure. After installation, reboot into Windows and reboot a few times more to experience Windows ;-) (sorry, couldn't resist)



Like you said, this will break GRUB and your computer can only boot Windows after this. Do not despair, as there is a help section dedicated to restoring GRUB and being able to dual boot. Look here. After performing this, your computer will be able to boot Ubuntu as well as Windows.



Before you start, very very carefully note down the location (hard drive number, make & partition number within that) of the current Ubuntu install (which you don't obviously want to overwrite) and the empty partition in which you want to install windows. Also, during Windows installation, if it offers to format any partition other than the one you are installing Windows into, please do not accept.






share|improve this answer



















  • 1




    The link near "Look here." (to somewhere on SourceForge) appears to be broken (blank screen in both Firefox and Internet Explorer).
    – Peter Mortensen
    Jun 14 '13 at 9:44





















2














The most save way is to install Windows 7 first and to reinstall Ubuntu after that. This will ensure that grub works.



You can also edit your partitions with a live cd, and then install Windows 7. When you have done this you boot into Ubuntu with a live cd and restore grub. This procedure however, is a bit more delicate than just installing them in the right order.






share|improve this answer





























    2














    First, you have to boot with a live CD/USB stick and shrink your partition in order to create a second one. Windows 7 requires and creates a second partition which is called "system reserved". I don't know why, but it does. (So you will end up with three partitions or four if you have a swap partition.)



    When your partition is ready, just boot with your Windows 7 DVD/USB stick and install Windows 7 on the new partition.



    When Windows 7 has been installed, GRUB will break and you will only be able to boot Windows (automatically). Just boot with a live Ubuntu CD/USB stick and fix it (how it is mentioned in other comments).



    Now another issue that some users may face:



    I own an HP Mini 210 netbook which came with Windows 7. I erased everything and installed Ubuntu. Later on I decided to also reinstall Windows 7 and have a dual boot (needed Windows for a specific application from my university which wouldn't run through wine). At that time I had three partitions:



    - Ubuntu
    - Swap
    - Backup/download storage


    Now when I tried to install Windows 7 I faced a problem because Windows 7 needs to create a second primary partition (system reserved). I already had three partitions and therefore was unable to create two more. The workaround here is to create an extended partition in which you will include both swap and backup storage. Now I have:



    - Ubuntu (primary)
    - Extended
    - Swap
    - Backup/download storage
    - Windows 7 (primary)
    - Windows 7 system reserved (primary)





    share|improve this answer































      1














      One good advice: When you make the separate partition for Windows 7, using gparted for example, format it to the NTFS right away. Do not use Windows installer to format the partition, because several times I had a situation, when the Windows installer corrupted the partition table after that and I had to restore the lost partition.
      So, as the people recommended here: using gparted, create separate partition, format it to the ntfs, install windows there, then restore grub using livecd or liveflash. You can use the SystemResqueCD for liveflash.






      share|improve this answer





























        1














        I suggest you virtualize Windows 7 with something like VirtualBox (http://www.virtualbox.org)



        This way you can run Windows and Linux at the same time, without the chance of destroying you Bootloader Grub.



        I don't know why you want to run Windows 7, but if you don't need the full hardware capacity (Running the Latest 3D Games for example) of your computer for windows then virtualization can be a good solution.






        share|improve this answer



















        • 4




          sometimes running windows virtualized through vbox or vmware limits the user.. if he/she wants to run i.e. games, this might be an issue?
          – Antonis
          Oct 12 '10 at 8:55










        • Yes, running modern games is not going to work virtualized, but if you don't do that this might be a nice solution.
          – Niels van Reijmersdal
          Oct 12 '10 at 9:47



















        1














        Boot that USB




        1. Turn on or restart the computer.

        2. While the display is blank, press the F10 key to enter the BIOS settings menu.

          NOTE: The BIOS settings menu is accessible by pressing the F2 or the F6 key on some computers.

        3. Select the Advanced tab using the right and left arrow keys.

        4. Press Enter.

        5. Use the up and down arrow keys to select Boot Order.

        6. Follow the on-screen instructions to change the boot order so that USB is at the top

        7. Press Esc.

        8. Select the Exit tab using the right and left arrow keys.

        9. Press Enter.

        10. Press Enter.







        Reboot...






        share|improve this answer





















        • But which one is USB , None of them say "USB Drive" or anything like that :3 So they closed this question and I never got a answer!
          – Ubisoft Terzuz
          Dec 24 '12 at 19:34










        • @UbisoftTerzuz What exactly did it say? Its sometimes cryptic.
          – Seth
          Dec 24 '12 at 20:02



















        1














        Basically the same answer as @evgeny, but using chroot instead of a symbolic link.




        1. Boot into a Ubuntu LiveCD

        2. Open GParted and make sure you have an unused partition with at least 20GB free space. This will be your Windows 7 partition.

        3. Install Windows 7 onto this partition.

        4. Boot into a Ubuntu LiveCD

        5. Make a note of the partition Ubuntu is installed on and any separate /boot partitions if applicable.


        6. Mount your Ubuntu installation



          sudo mkdir /mnt
          sudo mount /dev/<partition> /mnt



        7. Give this partition internet access



          sudo cp /etc/resolv.conf /mnt/etc/resolv.conf



        8. Only if you have a seperate /boot partition, otherwise skip this step



          sudo mkdir /mnt/boot
          sudo mount /dev/<boot_partition> /mnt/boot



        9. Set up then enter chroot



          sudo mount -o bind /proc /mnt/proc
          sudo mount -o bind /dev /mnt/dev
          sudo mount -o bind /dev/pts /mnt/dev/pts
          sudo mount -o bind /sys /mnt/sys
          sudo chroot /mnt



        10. Make sure grub-pc is the latest version



          apt-get update && apt-get install grub-pc



        11. Install GRUB



          grub-install /dev/sda



        12. Exit chroot



          exit


        13. Reboot and check if it works






        share|improve this answer































          0














          Installing windows after ubuntu is a pain but after you do this you'll need to put in your ubuntu live cd and install boot-repair and run that. Becouse installing win7 after ubuntu will break grub. But, boot-repair will remedy that!






          share|improve this answer





























            0














            Its a easy process to install dual OS. 1st create a NTFS partition from Ubuntu using Disk Utility. Then restart your system and continue with your windows installing. After finishing installing you can see that your GRUB is not working..... NOT A PROBLEM. I have two method to fix this GRUB problem.



            Method 1



            [Method 2] It may be bit difficult. Don't worry i have also a easy one. For that you have to login into windows. Download EasyBCD and run it. Go to Edit Boot Menu and set your desired boot option as default. Then save it and reboot your system. [Tested under windows].



            Please let me know if you stack in something.






            share|improve this answer






















              protected by Community Sep 1 '14 at 21:21



              Thank you for your interest in this question.
              Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).



              Would you like to answer one of these unanswered questions instead?














              14 Answers
              14






              active

              oldest

              votes








              14 Answers
              14






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              136














              Here's the general outline:




              1. Make space for Windows

              2. Install Windows

              3. Mount the /boot directory or partition

              4. Install the bootloader (GRUB)


              Step Zero – Backup your important data before doing anything



              Step One – Make space for Windows



              Open up GParted, and make sure that you have at least 20 GB available for Windows 7, either as a partition you can remove, or as unpartitioned space. If it's a partition, remove it from GRUB to make sure it doesn't break your Ubuntu install — GParted will complain if anything bad is about to happen.



              Make note of current /boot device. If that doesn't show up there, make note of the / device. The device name is something like sda5.



              Step Two – Install Windows



              Install Windows 7 into the space you just made



              Step Three – Mount /boot




              Note: Instead of mounting the boot directory or partition from the installation in the live media environment you can specify the path with the --boot-directory parameter for grub-install, more information on the manpage.




              Load up from your Ubuntu live CD, and then run these commands.





              • If you DO NOT have a separate /boot partition:



                sudo mount /dev/DEVICENAME_FROM_STEP_ONE /mnt
                sudo rm -rf /boot # Careful here, make sure YOU ARE USING THE LIVE CD. I tried it, it works.
                sudo ln -s /mnt/boot /boot



              • If you have a SEPARATE /boot partition:



                sudo mount /dev/DEVICENAME_FROM_STEP_ONE /boot



              Step Four – Install the bootloader




              Note: These instructions were initially written for Windows 7 and BIOS booting computers. If you have UEFI and Windows 8 and above you probably need to replace grub-pc with grub-efi-amd64 in sudo apt-get install grub-pc.




              Then continue with those commands:



              sudo apt-get update
              sudo apt-get install grub-pc
              sudo grub-install /dev/sda # NOTE THAT THERE IS NO DIGIT
              sudo umount /boot


              And restart. It should work fine and boot both systems.






              share|improve this answer



















              • 4




                At least in Ubuntu 10.10, grub-pc is included on the live CD (so you can skip the line sudo apt-get update && sudo apt-get install grub-pc).
                – Matthew
                Dec 31 '10 at 4:02






              • 2




                If you DO NOT have a separate /boot partition: -- how do I find out this?
                – Alan Coromano
                Oct 4 '13 at 18:49






              • 2




                Wouldn't it be better (safer) using a chroot?
                – kiri
                Oct 4 '13 at 21:07








              • 2




                A safer instruction instead of rm -rf /boot is: mount --bind /mnt/boot /boot
                – Amr Mostafa
                Apr 20 '14 at 19:32






              • 3




                Did exactly as shown here, but did not work for Ubuntu 14.04. After invoking grub-install, Ubuntu automatically boots, no GRUB boot menu shown. The method shown below (Peachy's answer), however, worked (boot-repair).
                – Jan-Philip Gehrcke
                Jul 8 '14 at 0:49
















              136














              Here's the general outline:




              1. Make space for Windows

              2. Install Windows

              3. Mount the /boot directory or partition

              4. Install the bootloader (GRUB)


              Step Zero – Backup your important data before doing anything



              Step One – Make space for Windows



              Open up GParted, and make sure that you have at least 20 GB available for Windows 7, either as a partition you can remove, or as unpartitioned space. If it's a partition, remove it from GRUB to make sure it doesn't break your Ubuntu install — GParted will complain if anything bad is about to happen.



              Make note of current /boot device. If that doesn't show up there, make note of the / device. The device name is something like sda5.



              Step Two – Install Windows



              Install Windows 7 into the space you just made



              Step Three – Mount /boot




              Note: Instead of mounting the boot directory or partition from the installation in the live media environment you can specify the path with the --boot-directory parameter for grub-install, more information on the manpage.




              Load up from your Ubuntu live CD, and then run these commands.





              • If you DO NOT have a separate /boot partition:



                sudo mount /dev/DEVICENAME_FROM_STEP_ONE /mnt
                sudo rm -rf /boot # Careful here, make sure YOU ARE USING THE LIVE CD. I tried it, it works.
                sudo ln -s /mnt/boot /boot



              • If you have a SEPARATE /boot partition:



                sudo mount /dev/DEVICENAME_FROM_STEP_ONE /boot



              Step Four – Install the bootloader




              Note: These instructions were initially written for Windows 7 and BIOS booting computers. If you have UEFI and Windows 8 and above you probably need to replace grub-pc with grub-efi-amd64 in sudo apt-get install grub-pc.




              Then continue with those commands:



              sudo apt-get update
              sudo apt-get install grub-pc
              sudo grub-install /dev/sda # NOTE THAT THERE IS NO DIGIT
              sudo umount /boot


              And restart. It should work fine and boot both systems.






              share|improve this answer



















              • 4




                At least in Ubuntu 10.10, grub-pc is included on the live CD (so you can skip the line sudo apt-get update && sudo apt-get install grub-pc).
                – Matthew
                Dec 31 '10 at 4:02






              • 2




                If you DO NOT have a separate /boot partition: -- how do I find out this?
                – Alan Coromano
                Oct 4 '13 at 18:49






              • 2




                Wouldn't it be better (safer) using a chroot?
                – kiri
                Oct 4 '13 at 21:07








              • 2




                A safer instruction instead of rm -rf /boot is: mount --bind /mnt/boot /boot
                – Amr Mostafa
                Apr 20 '14 at 19:32






              • 3




                Did exactly as shown here, but did not work for Ubuntu 14.04. After invoking grub-install, Ubuntu automatically boots, no GRUB boot menu shown. The method shown below (Peachy's answer), however, worked (boot-repair).
                – Jan-Philip Gehrcke
                Jul 8 '14 at 0:49














              136












              136








              136






              Here's the general outline:




              1. Make space for Windows

              2. Install Windows

              3. Mount the /boot directory or partition

              4. Install the bootloader (GRUB)


              Step Zero – Backup your important data before doing anything



              Step One – Make space for Windows



              Open up GParted, and make sure that you have at least 20 GB available for Windows 7, either as a partition you can remove, or as unpartitioned space. If it's a partition, remove it from GRUB to make sure it doesn't break your Ubuntu install — GParted will complain if anything bad is about to happen.



              Make note of current /boot device. If that doesn't show up there, make note of the / device. The device name is something like sda5.



              Step Two – Install Windows



              Install Windows 7 into the space you just made



              Step Three – Mount /boot




              Note: Instead of mounting the boot directory or partition from the installation in the live media environment you can specify the path with the --boot-directory parameter for grub-install, more information on the manpage.




              Load up from your Ubuntu live CD, and then run these commands.





              • If you DO NOT have a separate /boot partition:



                sudo mount /dev/DEVICENAME_FROM_STEP_ONE /mnt
                sudo rm -rf /boot # Careful here, make sure YOU ARE USING THE LIVE CD. I tried it, it works.
                sudo ln -s /mnt/boot /boot



              • If you have a SEPARATE /boot partition:



                sudo mount /dev/DEVICENAME_FROM_STEP_ONE /boot



              Step Four – Install the bootloader




              Note: These instructions were initially written for Windows 7 and BIOS booting computers. If you have UEFI and Windows 8 and above you probably need to replace grub-pc with grub-efi-amd64 in sudo apt-get install grub-pc.




              Then continue with those commands:



              sudo apt-get update
              sudo apt-get install grub-pc
              sudo grub-install /dev/sda # NOTE THAT THERE IS NO DIGIT
              sudo umount /boot


              And restart. It should work fine and boot both systems.






              share|improve this answer














              Here's the general outline:




              1. Make space for Windows

              2. Install Windows

              3. Mount the /boot directory or partition

              4. Install the bootloader (GRUB)


              Step Zero – Backup your important data before doing anything



              Step One – Make space for Windows



              Open up GParted, and make sure that you have at least 20 GB available for Windows 7, either as a partition you can remove, or as unpartitioned space. If it's a partition, remove it from GRUB to make sure it doesn't break your Ubuntu install — GParted will complain if anything bad is about to happen.



              Make note of current /boot device. If that doesn't show up there, make note of the / device. The device name is something like sda5.



              Step Two – Install Windows



              Install Windows 7 into the space you just made



              Step Three – Mount /boot




              Note: Instead of mounting the boot directory or partition from the installation in the live media environment you can specify the path with the --boot-directory parameter for grub-install, more information on the manpage.




              Load up from your Ubuntu live CD, and then run these commands.





              • If you DO NOT have a separate /boot partition:



                sudo mount /dev/DEVICENAME_FROM_STEP_ONE /mnt
                sudo rm -rf /boot # Careful here, make sure YOU ARE USING THE LIVE CD. I tried it, it works.
                sudo ln -s /mnt/boot /boot



              • If you have a SEPARATE /boot partition:



                sudo mount /dev/DEVICENAME_FROM_STEP_ONE /boot



              Step Four – Install the bootloader




              Note: These instructions were initially written for Windows 7 and BIOS booting computers. If you have UEFI and Windows 8 and above you probably need to replace grub-pc with grub-efi-amd64 in sudo apt-get install grub-pc.




              Then continue with those commands:



              sudo apt-get update
              sudo apt-get install grub-pc
              sudo grub-install /dev/sda # NOTE THAT THERE IS NO DIGIT
              sudo umount /boot


              And restart. It should work fine and boot both systems.







              share|improve this answer














              share|improve this answer



              share|improve this answer








              edited Sep 30 at 16:54









              Scott Stensland

              4,66042240




              4,66042240










              answered Oct 12 '10 at 7:42









              evgeny

              6,74222025




              6,74222025








              • 4




                At least in Ubuntu 10.10, grub-pc is included on the live CD (so you can skip the line sudo apt-get update && sudo apt-get install grub-pc).
                – Matthew
                Dec 31 '10 at 4:02






              • 2




                If you DO NOT have a separate /boot partition: -- how do I find out this?
                – Alan Coromano
                Oct 4 '13 at 18:49






              • 2




                Wouldn't it be better (safer) using a chroot?
                – kiri
                Oct 4 '13 at 21:07








              • 2




                A safer instruction instead of rm -rf /boot is: mount --bind /mnt/boot /boot
                – Amr Mostafa
                Apr 20 '14 at 19:32






              • 3




                Did exactly as shown here, but did not work for Ubuntu 14.04. After invoking grub-install, Ubuntu automatically boots, no GRUB boot menu shown. The method shown below (Peachy's answer), however, worked (boot-repair).
                – Jan-Philip Gehrcke
                Jul 8 '14 at 0:49














              • 4




                At least in Ubuntu 10.10, grub-pc is included on the live CD (so you can skip the line sudo apt-get update && sudo apt-get install grub-pc).
                – Matthew
                Dec 31 '10 at 4:02






              • 2




                If you DO NOT have a separate /boot partition: -- how do I find out this?
                – Alan Coromano
                Oct 4 '13 at 18:49






              • 2




                Wouldn't it be better (safer) using a chroot?
                – kiri
                Oct 4 '13 at 21:07








              • 2




                A safer instruction instead of rm -rf /boot is: mount --bind /mnt/boot /boot
                – Amr Mostafa
                Apr 20 '14 at 19:32






              • 3




                Did exactly as shown here, but did not work for Ubuntu 14.04. After invoking grub-install, Ubuntu automatically boots, no GRUB boot menu shown. The method shown below (Peachy's answer), however, worked (boot-repair).
                – Jan-Philip Gehrcke
                Jul 8 '14 at 0:49








              4




              4




              At least in Ubuntu 10.10, grub-pc is included on the live CD (so you can skip the line sudo apt-get update && sudo apt-get install grub-pc).
              – Matthew
              Dec 31 '10 at 4:02




              At least in Ubuntu 10.10, grub-pc is included on the live CD (so you can skip the line sudo apt-get update && sudo apt-get install grub-pc).
              – Matthew
              Dec 31 '10 at 4:02




              2




              2




              If you DO NOT have a separate /boot partition: -- how do I find out this?
              – Alan Coromano
              Oct 4 '13 at 18:49




              If you DO NOT have a separate /boot partition: -- how do I find out this?
              – Alan Coromano
              Oct 4 '13 at 18:49




              2




              2




              Wouldn't it be better (safer) using a chroot?
              – kiri
              Oct 4 '13 at 21:07






              Wouldn't it be better (safer) using a chroot?
              – kiri
              Oct 4 '13 at 21:07






              2




              2




              A safer instruction instead of rm -rf /boot is: mount --bind /mnt/boot /boot
              – Amr Mostafa
              Apr 20 '14 at 19:32




              A safer instruction instead of rm -rf /boot is: mount --bind /mnt/boot /boot
              – Amr Mostafa
              Apr 20 '14 at 19:32




              3




              3




              Did exactly as shown here, but did not work for Ubuntu 14.04. After invoking grub-install, Ubuntu automatically boots, no GRUB boot menu shown. The method shown below (Peachy's answer), however, worked (boot-repair).
              – Jan-Philip Gehrcke
              Jul 8 '14 at 0:49




              Did exactly as shown here, but did not work for Ubuntu 14.04. After invoking grub-install, Ubuntu automatically boots, no GRUB boot menu shown. The method shown below (Peachy's answer), however, worked (boot-repair).
              – Jan-Philip Gehrcke
              Jul 8 '14 at 0:49













              119





              +150









              Installing Windows after Ubuntu is not the recommended process for a dual boot Windows and Ubuntu system, but it is possible.




              • First, you have to make sure that the 50GB free space is available, resizing your Ubuntu by using gParted if necessary.

              • Also use gParted or Disk Utility to format the the free space as NTFS, this prevents Windows 7 from creating an additional boot partition in addition to the "C" drive.

              • Next, boot to the Windows DVD installer and install Windows on the NTFS partition. Upon reboot, Windows will automatically boot and you won't see the grub menu allowing you to choose Ubuntu, because the Windows bootloader has replaced grub.


              • Now, what you need to do is run Ubuntu from LiveCD or LiveUSB and install boot-repair.



              • To install boot-repair, open up a terminal by pressing Ctrl+Alt+T and type the following commands:



                sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get update
                sudo apt-get install -y boot-repair && boot-repair


              • After installation, boot-repair will automatically launch, if is doesn't, launch it via Dash.


              • Make sure to select recommended repair to repair grub. Reboot and that's it.


              • You should now have a Grub menu on boot, allowing you to choose from Ubuntu, memtest, and Windows 7






              share|improve this answer



















              • 6




                Thanks, perfect. Just to mention you will also need an internet connection. And to run terminal to put the aforementioned commands Hit super-key in you keyboard(usually with windows logo in it) and type Terminal. Use terminal to put the commands.
                – Marcos Maia
                Jul 8 '12 at 16:04






              • 1




                Jan-Philip, fyi the PPA has been fixed and is now available for all supported versions of Ubuntu. So you do not need this hack any more. see the Ubuntu community page about Boot-Repair.
                – LovinBuntu
                Dec 30 '14 at 22:22










              • Does this work for Windows 8 / 8.1, too?
                – A. Donda
                Jun 3 '15 at 19:21












              • Will this work for Windows 10 ? Please let me know
                – mtk
                Aug 21 '15 at 14:07






              • 1




                Yes, this works for all versions of Windows from 7, through 8, 8.1 and 10. This also works with Ubuntu 15.10.
                – aalaap
                Sep 5 '15 at 8:20
















              119





              +150









              Installing Windows after Ubuntu is not the recommended process for a dual boot Windows and Ubuntu system, but it is possible.




              • First, you have to make sure that the 50GB free space is available, resizing your Ubuntu by using gParted if necessary.

              • Also use gParted or Disk Utility to format the the free space as NTFS, this prevents Windows 7 from creating an additional boot partition in addition to the "C" drive.

              • Next, boot to the Windows DVD installer and install Windows on the NTFS partition. Upon reboot, Windows will automatically boot and you won't see the grub menu allowing you to choose Ubuntu, because the Windows bootloader has replaced grub.


              • Now, what you need to do is run Ubuntu from LiveCD or LiveUSB and install boot-repair.



              • To install boot-repair, open up a terminal by pressing Ctrl+Alt+T and type the following commands:



                sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get update
                sudo apt-get install -y boot-repair && boot-repair


              • After installation, boot-repair will automatically launch, if is doesn't, launch it via Dash.


              • Make sure to select recommended repair to repair grub. Reboot and that's it.


              • You should now have a Grub menu on boot, allowing you to choose from Ubuntu, memtest, and Windows 7






              share|improve this answer



















              • 6




                Thanks, perfect. Just to mention you will also need an internet connection. And to run terminal to put the aforementioned commands Hit super-key in you keyboard(usually with windows logo in it) and type Terminal. Use terminal to put the commands.
                – Marcos Maia
                Jul 8 '12 at 16:04






              • 1




                Jan-Philip, fyi the PPA has been fixed and is now available for all supported versions of Ubuntu. So you do not need this hack any more. see the Ubuntu community page about Boot-Repair.
                – LovinBuntu
                Dec 30 '14 at 22:22










              • Does this work for Windows 8 / 8.1, too?
                – A. Donda
                Jun 3 '15 at 19:21












              • Will this work for Windows 10 ? Please let me know
                – mtk
                Aug 21 '15 at 14:07






              • 1




                Yes, this works for all versions of Windows from 7, through 8, 8.1 and 10. This also works with Ubuntu 15.10.
                – aalaap
                Sep 5 '15 at 8:20














              119





              +150







              119





              +150



              119




              +150




              Installing Windows after Ubuntu is not the recommended process for a dual boot Windows and Ubuntu system, but it is possible.




              • First, you have to make sure that the 50GB free space is available, resizing your Ubuntu by using gParted if necessary.

              • Also use gParted or Disk Utility to format the the free space as NTFS, this prevents Windows 7 from creating an additional boot partition in addition to the "C" drive.

              • Next, boot to the Windows DVD installer and install Windows on the NTFS partition. Upon reboot, Windows will automatically boot and you won't see the grub menu allowing you to choose Ubuntu, because the Windows bootloader has replaced grub.


              • Now, what you need to do is run Ubuntu from LiveCD or LiveUSB and install boot-repair.



              • To install boot-repair, open up a terminal by pressing Ctrl+Alt+T and type the following commands:



                sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get update
                sudo apt-get install -y boot-repair && boot-repair


              • After installation, boot-repair will automatically launch, if is doesn't, launch it via Dash.


              • Make sure to select recommended repair to repair grub. Reboot and that's it.


              • You should now have a Grub menu on boot, allowing you to choose from Ubuntu, memtest, and Windows 7






              share|improve this answer














              Installing Windows after Ubuntu is not the recommended process for a dual boot Windows and Ubuntu system, but it is possible.




              • First, you have to make sure that the 50GB free space is available, resizing your Ubuntu by using gParted if necessary.

              • Also use gParted or Disk Utility to format the the free space as NTFS, this prevents Windows 7 from creating an additional boot partition in addition to the "C" drive.

              • Next, boot to the Windows DVD installer and install Windows on the NTFS partition. Upon reboot, Windows will automatically boot and you won't see the grub menu allowing you to choose Ubuntu, because the Windows bootloader has replaced grub.


              • Now, what you need to do is run Ubuntu from LiveCD or LiveUSB and install boot-repair.



              • To install boot-repair, open up a terminal by pressing Ctrl+Alt+T and type the following commands:



                sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get update
                sudo apt-get install -y boot-repair && boot-repair


              • After installation, boot-repair will automatically launch, if is doesn't, launch it via Dash.


              • Make sure to select recommended repair to repair grub. Reboot and that's it.


              • You should now have a Grub menu on boot, allowing you to choose from Ubuntu, memtest, and Windows 7







              share|improve this answer














              share|improve this answer



              share|improve this answer








              edited Aug 20 '12 at 13:01









              ish

              114k29265292




              114k29265292










              answered Jul 1 '12 at 14:13









              Peachy

              4,91172843




              4,91172843








              • 6




                Thanks, perfect. Just to mention you will also need an internet connection. And to run terminal to put the aforementioned commands Hit super-key in you keyboard(usually with windows logo in it) and type Terminal. Use terminal to put the commands.
                – Marcos Maia
                Jul 8 '12 at 16:04






              • 1




                Jan-Philip, fyi the PPA has been fixed and is now available for all supported versions of Ubuntu. So you do not need this hack any more. see the Ubuntu community page about Boot-Repair.
                – LovinBuntu
                Dec 30 '14 at 22:22










              • Does this work for Windows 8 / 8.1, too?
                – A. Donda
                Jun 3 '15 at 19:21












              • Will this work for Windows 10 ? Please let me know
                – mtk
                Aug 21 '15 at 14:07






              • 1




                Yes, this works for all versions of Windows from 7, through 8, 8.1 and 10. This also works with Ubuntu 15.10.
                – aalaap
                Sep 5 '15 at 8:20














              • 6




                Thanks, perfect. Just to mention you will also need an internet connection. And to run terminal to put the aforementioned commands Hit super-key in you keyboard(usually with windows logo in it) and type Terminal. Use terminal to put the commands.
                – Marcos Maia
                Jul 8 '12 at 16:04






              • 1




                Jan-Philip, fyi the PPA has been fixed and is now available for all supported versions of Ubuntu. So you do not need this hack any more. see the Ubuntu community page about Boot-Repair.
                – LovinBuntu
                Dec 30 '14 at 22:22










              • Does this work for Windows 8 / 8.1, too?
                – A. Donda
                Jun 3 '15 at 19:21












              • Will this work for Windows 10 ? Please let me know
                – mtk
                Aug 21 '15 at 14:07






              • 1




                Yes, this works for all versions of Windows from 7, through 8, 8.1 and 10. This also works with Ubuntu 15.10.
                – aalaap
                Sep 5 '15 at 8:20








              6




              6




              Thanks, perfect. Just to mention you will also need an internet connection. And to run terminal to put the aforementioned commands Hit super-key in you keyboard(usually with windows logo in it) and type Terminal. Use terminal to put the commands.
              – Marcos Maia
              Jul 8 '12 at 16:04




              Thanks, perfect. Just to mention you will also need an internet connection. And to run terminal to put the aforementioned commands Hit super-key in you keyboard(usually with windows logo in it) and type Terminal. Use terminal to put the commands.
              – Marcos Maia
              Jul 8 '12 at 16:04




              1




              1




              Jan-Philip, fyi the PPA has been fixed and is now available for all supported versions of Ubuntu. So you do not need this hack any more. see the Ubuntu community page about Boot-Repair.
              – LovinBuntu
              Dec 30 '14 at 22:22




              Jan-Philip, fyi the PPA has been fixed and is now available for all supported versions of Ubuntu. So you do not need this hack any more. see the Ubuntu community page about Boot-Repair.
              – LovinBuntu
              Dec 30 '14 at 22:22












              Does this work for Windows 8 / 8.1, too?
              – A. Donda
              Jun 3 '15 at 19:21






              Does this work for Windows 8 / 8.1, too?
              – A. Donda
              Jun 3 '15 at 19:21














              Will this work for Windows 10 ? Please let me know
              – mtk
              Aug 21 '15 at 14:07




              Will this work for Windows 10 ? Please let me know
              – mtk
              Aug 21 '15 at 14:07




              1




              1




              Yes, this works for all versions of Windows from 7, through 8, 8.1 and 10. This also works with Ubuntu 15.10.
              – aalaap
              Sep 5 '15 at 8:20




              Yes, this works for all versions of Windows from 7, through 8, 8.1 and 10. This also works with Ubuntu 15.10.
              – aalaap
              Sep 5 '15 at 8:20











              11














              boot-repair did a really good job launched from a live-usb, by just applying the recommended option.






              share|improve this answer



















              • 1




                This worked amazingly well. Thanks for the link.
                – Gazler
                Mar 21 '12 at 21:50
















              11














              boot-repair did a really good job launched from a live-usb, by just applying the recommended option.






              share|improve this answer



















              • 1




                This worked amazingly well. Thanks for the link.
                – Gazler
                Mar 21 '12 at 21:50














              11












              11








              11






              boot-repair did a really good job launched from a live-usb, by just applying the recommended option.






              share|improve this answer














              boot-repair did a really good job launched from a live-usb, by just applying the recommended option.







              share|improve this answer














              share|improve this answer



              share|improve this answer








              edited Mar 21 '12 at 21:55









              Gazler

              1033




              1033










              answered Mar 17 '12 at 6:01









              Quesst

              11912




              11912








              • 1




                This worked amazingly well. Thanks for the link.
                – Gazler
                Mar 21 '12 at 21:50














              • 1




                This worked amazingly well. Thanks for the link.
                – Gazler
                Mar 21 '12 at 21:50








              1




              1




              This worked amazingly well. Thanks for the link.
              – Gazler
              Mar 21 '12 at 21:50




              This worked amazingly well. Thanks for the link.
              – Gazler
              Mar 21 '12 at 21:50











              6














              When you boot have you checked the boot order on your BIOS? If you're booting straight to the hard drive it will always miss the USB. You need to move the USB device boot option higher in the priority list.



              Also check that your computer allows you to boot from USB in the USB port you are using.






              share|improve this answer

















              • 1




                What do you mean with the first part , But I am sure my computer allows Boot up from USB in that port
                – Ubisoft Terzuz
                Dec 24 '12 at 13:57












              • See this, in the BIOS there is a setting that tells the computer what to boot to first. If your hard drive is above usb in the list, it will always boot to that
                – Seth
                Dec 24 '12 at 14:40


















              6














              When you boot have you checked the boot order on your BIOS? If you're booting straight to the hard drive it will always miss the USB. You need to move the USB device boot option higher in the priority list.



              Also check that your computer allows you to boot from USB in the USB port you are using.






              share|improve this answer

















              • 1




                What do you mean with the first part , But I am sure my computer allows Boot up from USB in that port
                – Ubisoft Terzuz
                Dec 24 '12 at 13:57












              • See this, in the BIOS there is a setting that tells the computer what to boot to first. If your hard drive is above usb in the list, it will always boot to that
                – Seth
                Dec 24 '12 at 14:40
















              6












              6








              6






              When you boot have you checked the boot order on your BIOS? If you're booting straight to the hard drive it will always miss the USB. You need to move the USB device boot option higher in the priority list.



              Also check that your computer allows you to boot from USB in the USB port you are using.






              share|improve this answer












              When you boot have you checked the boot order on your BIOS? If you're booting straight to the hard drive it will always miss the USB. You need to move the USB device boot option higher in the priority list.



              Also check that your computer allows you to boot from USB in the USB port you are using.







              share|improve this answer












              share|improve this answer



              share|improve this answer










              answered Dec 24 '12 at 13:49









              Slipstream

              9141926




              9141926








              • 1




                What do you mean with the first part , But I am sure my computer allows Boot up from USB in that port
                – Ubisoft Terzuz
                Dec 24 '12 at 13:57












              • See this, in the BIOS there is a setting that tells the computer what to boot to first. If your hard drive is above usb in the list, it will always boot to that
                – Seth
                Dec 24 '12 at 14:40
















              • 1




                What do you mean with the first part , But I am sure my computer allows Boot up from USB in that port
                – Ubisoft Terzuz
                Dec 24 '12 at 13:57












              • See this, in the BIOS there is a setting that tells the computer what to boot to first. If your hard drive is above usb in the list, it will always boot to that
                – Seth
                Dec 24 '12 at 14:40










              1




              1




              What do you mean with the first part , But I am sure my computer allows Boot up from USB in that port
              – Ubisoft Terzuz
              Dec 24 '12 at 13:57






              What do you mean with the first part , But I am sure my computer allows Boot up from USB in that port
              – Ubisoft Terzuz
              Dec 24 '12 at 13:57














              See this, in the BIOS there is a setting that tells the computer what to boot to first. If your hard drive is above usb in the list, it will always boot to that
              – Seth
              Dec 24 '12 at 14:40






              See this, in the BIOS there is a setting that tells the computer what to boot to first. If your hard drive is above usb in the list, it will always boot to that
              – Seth
              Dec 24 '12 at 14:40













              4














              In case your computer came with a pre-installed copy of Windows 8 and you removed it because to many people told you to hate it and you found that after you installed Ubuntu, that it isn't what you want, note this:



              Your computer boots with UEFI and has a GPT partition table.



              For installing Windows 7, either create and boot the Windows 7 installation media in UEFI-mode or set boot-mode and partition table to legacy.






              share|improve this answer





















              • and also DO NOT try to install Ubuntu alongside by shrinking the partitions and normally as in other systems. Read help.ubuntu.com/community/UEFI
                – Devesh Khandelwal
                Oct 6 '14 at 13:50










              • I have not deleted installation files that came pre-existing with laptop firmware (but only C drive, where Windows was installed formerly). Now, how do I install Windows 8.1 from that?
                – user12458
                Jan 4 '17 at 5:30
















              4














              In case your computer came with a pre-installed copy of Windows 8 and you removed it because to many people told you to hate it and you found that after you installed Ubuntu, that it isn't what you want, note this:



              Your computer boots with UEFI and has a GPT partition table.



              For installing Windows 7, either create and boot the Windows 7 installation media in UEFI-mode or set boot-mode and partition table to legacy.






              share|improve this answer





















              • and also DO NOT try to install Ubuntu alongside by shrinking the partitions and normally as in other systems. Read help.ubuntu.com/community/UEFI
                – Devesh Khandelwal
                Oct 6 '14 at 13:50










              • I have not deleted installation files that came pre-existing with laptop firmware (but only C drive, where Windows was installed formerly). Now, how do I install Windows 8.1 from that?
                – user12458
                Jan 4 '17 at 5:30














              4












              4








              4






              In case your computer came with a pre-installed copy of Windows 8 and you removed it because to many people told you to hate it and you found that after you installed Ubuntu, that it isn't what you want, note this:



              Your computer boots with UEFI and has a GPT partition table.



              For installing Windows 7, either create and boot the Windows 7 installation media in UEFI-mode or set boot-mode and partition table to legacy.






              share|improve this answer












              In case your computer came with a pre-installed copy of Windows 8 and you removed it because to many people told you to hate it and you found that after you installed Ubuntu, that it isn't what you want, note this:



              Your computer boots with UEFI and has a GPT partition table.



              For installing Windows 7, either create and boot the Windows 7 installation media in UEFI-mode or set boot-mode and partition table to legacy.







              share|improve this answer












              share|improve this answer



              share|improve this answer










              answered Aug 9 '14 at 18:49









              LiveWireBT

              21.2k1770153




              21.2k1770153












              • and also DO NOT try to install Ubuntu alongside by shrinking the partitions and normally as in other systems. Read help.ubuntu.com/community/UEFI
                – Devesh Khandelwal
                Oct 6 '14 at 13:50










              • I have not deleted installation files that came pre-existing with laptop firmware (but only C drive, where Windows was installed formerly). Now, how do I install Windows 8.1 from that?
                – user12458
                Jan 4 '17 at 5:30


















              • and also DO NOT try to install Ubuntu alongside by shrinking the partitions and normally as in other systems. Read help.ubuntu.com/community/UEFI
                – Devesh Khandelwal
                Oct 6 '14 at 13:50










              • I have not deleted installation files that came pre-existing with laptop firmware (but only C drive, where Windows was installed formerly). Now, how do I install Windows 8.1 from that?
                – user12458
                Jan 4 '17 at 5:30
















              and also DO NOT try to install Ubuntu alongside by shrinking the partitions and normally as in other systems. Read help.ubuntu.com/community/UEFI
              – Devesh Khandelwal
              Oct 6 '14 at 13:50




              and also DO NOT try to install Ubuntu alongside by shrinking the partitions and normally as in other systems. Read help.ubuntu.com/community/UEFI
              – Devesh Khandelwal
              Oct 6 '14 at 13:50












              I have not deleted installation files that came pre-existing with laptop firmware (but only C drive, where Windows was installed formerly). Now, how do I install Windows 8.1 from that?
              – user12458
              Jan 4 '17 at 5:30




              I have not deleted installation files that came pre-existing with laptop firmware (but only C drive, where Windows was installed formerly). Now, how do I install Windows 8.1 from that?
              – user12458
              Jan 4 '17 at 5:30











              3














              To install Windows you need an empty partition that will be dedicated to Windows. If you do, then go ahead and install on this using the normal installation procedure. After installation, reboot into Windows and reboot a few times more to experience Windows ;-) (sorry, couldn't resist)



              Like you said, this will break GRUB and your computer can only boot Windows after this. Do not despair, as there is a help section dedicated to restoring GRUB and being able to dual boot. Look here. After performing this, your computer will be able to boot Ubuntu as well as Windows.



              Before you start, very very carefully note down the location (hard drive number, make & partition number within that) of the current Ubuntu install (which you don't obviously want to overwrite) and the empty partition in which you want to install windows. Also, during Windows installation, if it offers to format any partition other than the one you are installing Windows into, please do not accept.






              share|improve this answer



















              • 1




                The link near "Look here." (to somewhere on SourceForge) appears to be broken (blank screen in both Firefox and Internet Explorer).
                – Peter Mortensen
                Jun 14 '13 at 9:44


















              3














              To install Windows you need an empty partition that will be dedicated to Windows. If you do, then go ahead and install on this using the normal installation procedure. After installation, reboot into Windows and reboot a few times more to experience Windows ;-) (sorry, couldn't resist)



              Like you said, this will break GRUB and your computer can only boot Windows after this. Do not despair, as there is a help section dedicated to restoring GRUB and being able to dual boot. Look here. After performing this, your computer will be able to boot Ubuntu as well as Windows.



              Before you start, very very carefully note down the location (hard drive number, make & partition number within that) of the current Ubuntu install (which you don't obviously want to overwrite) and the empty partition in which you want to install windows. Also, during Windows installation, if it offers to format any partition other than the one you are installing Windows into, please do not accept.






              share|improve this answer



















              • 1




                The link near "Look here." (to somewhere on SourceForge) appears to be broken (blank screen in both Firefox and Internet Explorer).
                – Peter Mortensen
                Jun 14 '13 at 9:44
















              3












              3








              3






              To install Windows you need an empty partition that will be dedicated to Windows. If you do, then go ahead and install on this using the normal installation procedure. After installation, reboot into Windows and reboot a few times more to experience Windows ;-) (sorry, couldn't resist)



              Like you said, this will break GRUB and your computer can only boot Windows after this. Do not despair, as there is a help section dedicated to restoring GRUB and being able to dual boot. Look here. After performing this, your computer will be able to boot Ubuntu as well as Windows.



              Before you start, very very carefully note down the location (hard drive number, make & partition number within that) of the current Ubuntu install (which you don't obviously want to overwrite) and the empty partition in which you want to install windows. Also, during Windows installation, if it offers to format any partition other than the one you are installing Windows into, please do not accept.






              share|improve this answer














              To install Windows you need an empty partition that will be dedicated to Windows. If you do, then go ahead and install on this using the normal installation procedure. After installation, reboot into Windows and reboot a few times more to experience Windows ;-) (sorry, couldn't resist)



              Like you said, this will break GRUB and your computer can only boot Windows after this. Do not despair, as there is a help section dedicated to restoring GRUB and being able to dual boot. Look here. After performing this, your computer will be able to boot Ubuntu as well as Windows.



              Before you start, very very carefully note down the location (hard drive number, make & partition number within that) of the current Ubuntu install (which you don't obviously want to overwrite) and the empty partition in which you want to install windows. Also, during Windows installation, if it offers to format any partition other than the one you are installing Windows into, please do not accept.







              share|improve this answer














              share|improve this answer



              share|improve this answer








              edited Jun 14 '13 at 9:32









              Peter Mortensen

              1,03821016




              1,03821016










              answered Oct 12 '10 at 7:38









              koushik

              3,60132032




              3,60132032








              • 1




                The link near "Look here." (to somewhere on SourceForge) appears to be broken (blank screen in both Firefox and Internet Explorer).
                – Peter Mortensen
                Jun 14 '13 at 9:44
















              • 1




                The link near "Look here." (to somewhere on SourceForge) appears to be broken (blank screen in both Firefox and Internet Explorer).
                – Peter Mortensen
                Jun 14 '13 at 9:44










              1




              1




              The link near "Look here." (to somewhere on SourceForge) appears to be broken (blank screen in both Firefox and Internet Explorer).
              – Peter Mortensen
              Jun 14 '13 at 9:44






              The link near "Look here." (to somewhere on SourceForge) appears to be broken (blank screen in both Firefox and Internet Explorer).
              – Peter Mortensen
              Jun 14 '13 at 9:44













              2














              The most save way is to install Windows 7 first and to reinstall Ubuntu after that. This will ensure that grub works.



              You can also edit your partitions with a live cd, and then install Windows 7. When you have done this you boot into Ubuntu with a live cd and restore grub. This procedure however, is a bit more delicate than just installing them in the right order.






              share|improve this answer


























                2














                The most save way is to install Windows 7 first and to reinstall Ubuntu after that. This will ensure that grub works.



                You can also edit your partitions with a live cd, and then install Windows 7. When you have done this you boot into Ubuntu with a live cd and restore grub. This procedure however, is a bit more delicate than just installing them in the right order.






                share|improve this answer
























                  2












                  2








                  2






                  The most save way is to install Windows 7 first and to reinstall Ubuntu after that. This will ensure that grub works.



                  You can also edit your partitions with a live cd, and then install Windows 7. When you have done this you boot into Ubuntu with a live cd and restore grub. This procedure however, is a bit more delicate than just installing them in the right order.






                  share|improve this answer












                  The most save way is to install Windows 7 first and to reinstall Ubuntu after that. This will ensure that grub works.



                  You can also edit your partitions with a live cd, and then install Windows 7. When you have done this you boot into Ubuntu with a live cd and restore grub. This procedure however, is a bit more delicate than just installing them in the right order.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Oct 12 '10 at 7:37









                  Peter Smit

                  4,35263446




                  4,35263446























                      2














                      First, you have to boot with a live CD/USB stick and shrink your partition in order to create a second one. Windows 7 requires and creates a second partition which is called "system reserved". I don't know why, but it does. (So you will end up with three partitions or four if you have a swap partition.)



                      When your partition is ready, just boot with your Windows 7 DVD/USB stick and install Windows 7 on the new partition.



                      When Windows 7 has been installed, GRUB will break and you will only be able to boot Windows (automatically). Just boot with a live Ubuntu CD/USB stick and fix it (how it is mentioned in other comments).



                      Now another issue that some users may face:



                      I own an HP Mini 210 netbook which came with Windows 7. I erased everything and installed Ubuntu. Later on I decided to also reinstall Windows 7 and have a dual boot (needed Windows for a specific application from my university which wouldn't run through wine). At that time I had three partitions:



                      - Ubuntu
                      - Swap
                      - Backup/download storage


                      Now when I tried to install Windows 7 I faced a problem because Windows 7 needs to create a second primary partition (system reserved). I already had three partitions and therefore was unable to create two more. The workaround here is to create an extended partition in which you will include both swap and backup storage. Now I have:



                      - Ubuntu (primary)
                      - Extended
                      - Swap
                      - Backup/download storage
                      - Windows 7 (primary)
                      - Windows 7 system reserved (primary)





                      share|improve this answer




























                        2














                        First, you have to boot with a live CD/USB stick and shrink your partition in order to create a second one. Windows 7 requires and creates a second partition which is called "system reserved". I don't know why, but it does. (So you will end up with three partitions or four if you have a swap partition.)



                        When your partition is ready, just boot with your Windows 7 DVD/USB stick and install Windows 7 on the new partition.



                        When Windows 7 has been installed, GRUB will break and you will only be able to boot Windows (automatically). Just boot with a live Ubuntu CD/USB stick and fix it (how it is mentioned in other comments).



                        Now another issue that some users may face:



                        I own an HP Mini 210 netbook which came with Windows 7. I erased everything and installed Ubuntu. Later on I decided to also reinstall Windows 7 and have a dual boot (needed Windows for a specific application from my university which wouldn't run through wine). At that time I had three partitions:



                        - Ubuntu
                        - Swap
                        - Backup/download storage


                        Now when I tried to install Windows 7 I faced a problem because Windows 7 needs to create a second primary partition (system reserved). I already had three partitions and therefore was unable to create two more. The workaround here is to create an extended partition in which you will include both swap and backup storage. Now I have:



                        - Ubuntu (primary)
                        - Extended
                        - Swap
                        - Backup/download storage
                        - Windows 7 (primary)
                        - Windows 7 system reserved (primary)





                        share|improve this answer


























                          2












                          2








                          2






                          First, you have to boot with a live CD/USB stick and shrink your partition in order to create a second one. Windows 7 requires and creates a second partition which is called "system reserved". I don't know why, but it does. (So you will end up with three partitions or four if you have a swap partition.)



                          When your partition is ready, just boot with your Windows 7 DVD/USB stick and install Windows 7 on the new partition.



                          When Windows 7 has been installed, GRUB will break and you will only be able to boot Windows (automatically). Just boot with a live Ubuntu CD/USB stick and fix it (how it is mentioned in other comments).



                          Now another issue that some users may face:



                          I own an HP Mini 210 netbook which came with Windows 7. I erased everything and installed Ubuntu. Later on I decided to also reinstall Windows 7 and have a dual boot (needed Windows for a specific application from my university which wouldn't run through wine). At that time I had three partitions:



                          - Ubuntu
                          - Swap
                          - Backup/download storage


                          Now when I tried to install Windows 7 I faced a problem because Windows 7 needs to create a second primary partition (system reserved). I already had three partitions and therefore was unable to create two more. The workaround here is to create an extended partition in which you will include both swap and backup storage. Now I have:



                          - Ubuntu (primary)
                          - Extended
                          - Swap
                          - Backup/download storage
                          - Windows 7 (primary)
                          - Windows 7 system reserved (primary)





                          share|improve this answer














                          First, you have to boot with a live CD/USB stick and shrink your partition in order to create a second one. Windows 7 requires and creates a second partition which is called "system reserved". I don't know why, but it does. (So you will end up with three partitions or four if you have a swap partition.)



                          When your partition is ready, just boot with your Windows 7 DVD/USB stick and install Windows 7 on the new partition.



                          When Windows 7 has been installed, GRUB will break and you will only be able to boot Windows (automatically). Just boot with a live Ubuntu CD/USB stick and fix it (how it is mentioned in other comments).



                          Now another issue that some users may face:



                          I own an HP Mini 210 netbook which came with Windows 7. I erased everything and installed Ubuntu. Later on I decided to also reinstall Windows 7 and have a dual boot (needed Windows for a specific application from my university which wouldn't run through wine). At that time I had three partitions:



                          - Ubuntu
                          - Swap
                          - Backup/download storage


                          Now when I tried to install Windows 7 I faced a problem because Windows 7 needs to create a second primary partition (system reserved). I already had three partitions and therefore was unable to create two more. The workaround here is to create an extended partition in which you will include both swap and backup storage. Now I have:



                          - Ubuntu (primary)
                          - Extended
                          - Swap
                          - Backup/download storage
                          - Windows 7 (primary)
                          - Windows 7 system reserved (primary)






                          share|improve this answer














                          share|improve this answer



                          share|improve this answer








                          edited Jun 14 '13 at 9:32









                          Peter Mortensen

                          1,03821016




                          1,03821016










                          answered Oct 12 '10 at 8:23









                          Antonis

                          65036




                          65036























                              1














                              One good advice: When you make the separate partition for Windows 7, using gparted for example, format it to the NTFS right away. Do not use Windows installer to format the partition, because several times I had a situation, when the Windows installer corrupted the partition table after that and I had to restore the lost partition.
                              So, as the people recommended here: using gparted, create separate partition, format it to the ntfs, install windows there, then restore grub using livecd or liveflash. You can use the SystemResqueCD for liveflash.






                              share|improve this answer


























                                1














                                One good advice: When you make the separate partition for Windows 7, using gparted for example, format it to the NTFS right away. Do not use Windows installer to format the partition, because several times I had a situation, when the Windows installer corrupted the partition table after that and I had to restore the lost partition.
                                So, as the people recommended here: using gparted, create separate partition, format it to the ntfs, install windows there, then restore grub using livecd or liveflash. You can use the SystemResqueCD for liveflash.






                                share|improve this answer
























                                  1












                                  1








                                  1






                                  One good advice: When you make the separate partition for Windows 7, using gparted for example, format it to the NTFS right away. Do not use Windows installer to format the partition, because several times I had a situation, when the Windows installer corrupted the partition table after that and I had to restore the lost partition.
                                  So, as the people recommended here: using gparted, create separate partition, format it to the ntfs, install windows there, then restore grub using livecd or liveflash. You can use the SystemResqueCD for liveflash.






                                  share|improve this answer












                                  One good advice: When you make the separate partition for Windows 7, using gparted for example, format it to the NTFS right away. Do not use Windows installer to format the partition, because several times I had a situation, when the Windows installer corrupted the partition table after that and I had to restore the lost partition.
                                  So, as the people recommended here: using gparted, create separate partition, format it to the ntfs, install windows there, then restore grub using livecd or liveflash. You can use the SystemResqueCD for liveflash.







                                  share|improve this answer












                                  share|improve this answer



                                  share|improve this answer










                                  answered Oct 12 '10 at 8:51









                                  Yuriy Tkach

                                  185




                                  185























                                      1














                                      I suggest you virtualize Windows 7 with something like VirtualBox (http://www.virtualbox.org)



                                      This way you can run Windows and Linux at the same time, without the chance of destroying you Bootloader Grub.



                                      I don't know why you want to run Windows 7, but if you don't need the full hardware capacity (Running the Latest 3D Games for example) of your computer for windows then virtualization can be a good solution.






                                      share|improve this answer



















                                      • 4




                                        sometimes running windows virtualized through vbox or vmware limits the user.. if he/she wants to run i.e. games, this might be an issue?
                                        – Antonis
                                        Oct 12 '10 at 8:55










                                      • Yes, running modern games is not going to work virtualized, but if you don't do that this might be a nice solution.
                                        – Niels van Reijmersdal
                                        Oct 12 '10 at 9:47
















                                      1














                                      I suggest you virtualize Windows 7 with something like VirtualBox (http://www.virtualbox.org)



                                      This way you can run Windows and Linux at the same time, without the chance of destroying you Bootloader Grub.



                                      I don't know why you want to run Windows 7, but if you don't need the full hardware capacity (Running the Latest 3D Games for example) of your computer for windows then virtualization can be a good solution.






                                      share|improve this answer



















                                      • 4




                                        sometimes running windows virtualized through vbox or vmware limits the user.. if he/she wants to run i.e. games, this might be an issue?
                                        – Antonis
                                        Oct 12 '10 at 8:55










                                      • Yes, running modern games is not going to work virtualized, but if you don't do that this might be a nice solution.
                                        – Niels van Reijmersdal
                                        Oct 12 '10 at 9:47














                                      1












                                      1








                                      1






                                      I suggest you virtualize Windows 7 with something like VirtualBox (http://www.virtualbox.org)



                                      This way you can run Windows and Linux at the same time, without the chance of destroying you Bootloader Grub.



                                      I don't know why you want to run Windows 7, but if you don't need the full hardware capacity (Running the Latest 3D Games for example) of your computer for windows then virtualization can be a good solution.






                                      share|improve this answer














                                      I suggest you virtualize Windows 7 with something like VirtualBox (http://www.virtualbox.org)



                                      This way you can run Windows and Linux at the same time, without the chance of destroying you Bootloader Grub.



                                      I don't know why you want to run Windows 7, but if you don't need the full hardware capacity (Running the Latest 3D Games for example) of your computer for windows then virtualization can be a good solution.







                                      share|improve this answer














                                      share|improve this answer



                                      share|improve this answer








                                      edited Oct 12 '10 at 15:26

























                                      answered Oct 12 '10 at 8:26









                                      Niels van Reijmersdal

                                      28625




                                      28625








                                      • 4




                                        sometimes running windows virtualized through vbox or vmware limits the user.. if he/she wants to run i.e. games, this might be an issue?
                                        – Antonis
                                        Oct 12 '10 at 8:55










                                      • Yes, running modern games is not going to work virtualized, but if you don't do that this might be a nice solution.
                                        – Niels van Reijmersdal
                                        Oct 12 '10 at 9:47














                                      • 4




                                        sometimes running windows virtualized through vbox or vmware limits the user.. if he/she wants to run i.e. games, this might be an issue?
                                        – Antonis
                                        Oct 12 '10 at 8:55










                                      • Yes, running modern games is not going to work virtualized, but if you don't do that this might be a nice solution.
                                        – Niels van Reijmersdal
                                        Oct 12 '10 at 9:47








                                      4




                                      4




                                      sometimes running windows virtualized through vbox or vmware limits the user.. if he/she wants to run i.e. games, this might be an issue?
                                      – Antonis
                                      Oct 12 '10 at 8:55




                                      sometimes running windows virtualized through vbox or vmware limits the user.. if he/she wants to run i.e. games, this might be an issue?
                                      – Antonis
                                      Oct 12 '10 at 8:55












                                      Yes, running modern games is not going to work virtualized, but if you don't do that this might be a nice solution.
                                      – Niels van Reijmersdal
                                      Oct 12 '10 at 9:47




                                      Yes, running modern games is not going to work virtualized, but if you don't do that this might be a nice solution.
                                      – Niels van Reijmersdal
                                      Oct 12 '10 at 9:47











                                      1














                                      Boot that USB




                                      1. Turn on or restart the computer.

                                      2. While the display is blank, press the F10 key to enter the BIOS settings menu.

                                        NOTE: The BIOS settings menu is accessible by pressing the F2 or the F6 key on some computers.

                                      3. Select the Advanced tab using the right and left arrow keys.

                                      4. Press Enter.

                                      5. Use the up and down arrow keys to select Boot Order.

                                      6. Follow the on-screen instructions to change the boot order so that USB is at the top

                                      7. Press Esc.

                                      8. Select the Exit tab using the right and left arrow keys.

                                      9. Press Enter.

                                      10. Press Enter.







                                      Reboot...






                                      share|improve this answer





















                                      • But which one is USB , None of them say "USB Drive" or anything like that :3 So they closed this question and I never got a answer!
                                        – Ubisoft Terzuz
                                        Dec 24 '12 at 19:34










                                      • @UbisoftTerzuz What exactly did it say? Its sometimes cryptic.
                                        – Seth
                                        Dec 24 '12 at 20:02
















                                      1














                                      Boot that USB




                                      1. Turn on or restart the computer.

                                      2. While the display is blank, press the F10 key to enter the BIOS settings menu.

                                        NOTE: The BIOS settings menu is accessible by pressing the F2 or the F6 key on some computers.

                                      3. Select the Advanced tab using the right and left arrow keys.

                                      4. Press Enter.

                                      5. Use the up and down arrow keys to select Boot Order.

                                      6. Follow the on-screen instructions to change the boot order so that USB is at the top

                                      7. Press Esc.

                                      8. Select the Exit tab using the right and left arrow keys.

                                      9. Press Enter.

                                      10. Press Enter.







                                      Reboot...






                                      share|improve this answer





















                                      • But which one is USB , None of them say "USB Drive" or anything like that :3 So they closed this question and I never got a answer!
                                        – Ubisoft Terzuz
                                        Dec 24 '12 at 19:34










                                      • @UbisoftTerzuz What exactly did it say? Its sometimes cryptic.
                                        – Seth
                                        Dec 24 '12 at 20:02














                                      1












                                      1








                                      1






                                      Boot that USB




                                      1. Turn on or restart the computer.

                                      2. While the display is blank, press the F10 key to enter the BIOS settings menu.

                                        NOTE: The BIOS settings menu is accessible by pressing the F2 or the F6 key on some computers.

                                      3. Select the Advanced tab using the right and left arrow keys.

                                      4. Press Enter.

                                      5. Use the up and down arrow keys to select Boot Order.

                                      6. Follow the on-screen instructions to change the boot order so that USB is at the top

                                      7. Press Esc.

                                      8. Select the Exit tab using the right and left arrow keys.

                                      9. Press Enter.

                                      10. Press Enter.







                                      Reboot...






                                      share|improve this answer












                                      Boot that USB




                                      1. Turn on or restart the computer.

                                      2. While the display is blank, press the F10 key to enter the BIOS settings menu.

                                        NOTE: The BIOS settings menu is accessible by pressing the F2 or the F6 key on some computers.

                                      3. Select the Advanced tab using the right and left arrow keys.

                                      4. Press Enter.

                                      5. Use the up and down arrow keys to select Boot Order.

                                      6. Follow the on-screen instructions to change the boot order so that USB is at the top

                                      7. Press Esc.

                                      8. Select the Exit tab using the right and left arrow keys.

                                      9. Press Enter.

                                      10. Press Enter.







                                      Reboot...







                                      share|improve this answer












                                      share|improve this answer



                                      share|improve this answer










                                      answered Dec 24 '12 at 15:45







                                      user92200



















                                      • But which one is USB , None of them say "USB Drive" or anything like that :3 So they closed this question and I never got a answer!
                                        – Ubisoft Terzuz
                                        Dec 24 '12 at 19:34










                                      • @UbisoftTerzuz What exactly did it say? Its sometimes cryptic.
                                        – Seth
                                        Dec 24 '12 at 20:02


















                                      • But which one is USB , None of them say "USB Drive" or anything like that :3 So they closed this question and I never got a answer!
                                        – Ubisoft Terzuz
                                        Dec 24 '12 at 19:34










                                      • @UbisoftTerzuz What exactly did it say? Its sometimes cryptic.
                                        – Seth
                                        Dec 24 '12 at 20:02
















                                      But which one is USB , None of them say "USB Drive" or anything like that :3 So they closed this question and I never got a answer!
                                      – Ubisoft Terzuz
                                      Dec 24 '12 at 19:34




                                      But which one is USB , None of them say "USB Drive" or anything like that :3 So they closed this question and I never got a answer!
                                      – Ubisoft Terzuz
                                      Dec 24 '12 at 19:34












                                      @UbisoftTerzuz What exactly did it say? Its sometimes cryptic.
                                      – Seth
                                      Dec 24 '12 at 20:02




                                      @UbisoftTerzuz What exactly did it say? Its sometimes cryptic.
                                      – Seth
                                      Dec 24 '12 at 20:02











                                      1














                                      Basically the same answer as @evgeny, but using chroot instead of a symbolic link.




                                      1. Boot into a Ubuntu LiveCD

                                      2. Open GParted and make sure you have an unused partition with at least 20GB free space. This will be your Windows 7 partition.

                                      3. Install Windows 7 onto this partition.

                                      4. Boot into a Ubuntu LiveCD

                                      5. Make a note of the partition Ubuntu is installed on and any separate /boot partitions if applicable.


                                      6. Mount your Ubuntu installation



                                        sudo mkdir /mnt
                                        sudo mount /dev/<partition> /mnt



                                      7. Give this partition internet access



                                        sudo cp /etc/resolv.conf /mnt/etc/resolv.conf



                                      8. Only if you have a seperate /boot partition, otherwise skip this step



                                        sudo mkdir /mnt/boot
                                        sudo mount /dev/<boot_partition> /mnt/boot



                                      9. Set up then enter chroot



                                        sudo mount -o bind /proc /mnt/proc
                                        sudo mount -o bind /dev /mnt/dev
                                        sudo mount -o bind /dev/pts /mnt/dev/pts
                                        sudo mount -o bind /sys /mnt/sys
                                        sudo chroot /mnt



                                      10. Make sure grub-pc is the latest version



                                        apt-get update && apt-get install grub-pc



                                      11. Install GRUB



                                        grub-install /dev/sda



                                      12. Exit chroot



                                        exit


                                      13. Reboot and check if it works






                                      share|improve this answer




























                                        1














                                        Basically the same answer as @evgeny, but using chroot instead of a symbolic link.




                                        1. Boot into a Ubuntu LiveCD

                                        2. Open GParted and make sure you have an unused partition with at least 20GB free space. This will be your Windows 7 partition.

                                        3. Install Windows 7 onto this partition.

                                        4. Boot into a Ubuntu LiveCD

                                        5. Make a note of the partition Ubuntu is installed on and any separate /boot partitions if applicable.


                                        6. Mount your Ubuntu installation



                                          sudo mkdir /mnt
                                          sudo mount /dev/<partition> /mnt



                                        7. Give this partition internet access



                                          sudo cp /etc/resolv.conf /mnt/etc/resolv.conf



                                        8. Only if you have a seperate /boot partition, otherwise skip this step



                                          sudo mkdir /mnt/boot
                                          sudo mount /dev/<boot_partition> /mnt/boot



                                        9. Set up then enter chroot



                                          sudo mount -o bind /proc /mnt/proc
                                          sudo mount -o bind /dev /mnt/dev
                                          sudo mount -o bind /dev/pts /mnt/dev/pts
                                          sudo mount -o bind /sys /mnt/sys
                                          sudo chroot /mnt



                                        10. Make sure grub-pc is the latest version



                                          apt-get update && apt-get install grub-pc



                                        11. Install GRUB



                                          grub-install /dev/sda



                                        12. Exit chroot



                                          exit


                                        13. Reboot and check if it works






                                        share|improve this answer


























                                          1












                                          1








                                          1






                                          Basically the same answer as @evgeny, but using chroot instead of a symbolic link.




                                          1. Boot into a Ubuntu LiveCD

                                          2. Open GParted and make sure you have an unused partition with at least 20GB free space. This will be your Windows 7 partition.

                                          3. Install Windows 7 onto this partition.

                                          4. Boot into a Ubuntu LiveCD

                                          5. Make a note of the partition Ubuntu is installed on and any separate /boot partitions if applicable.


                                          6. Mount your Ubuntu installation



                                            sudo mkdir /mnt
                                            sudo mount /dev/<partition> /mnt



                                          7. Give this partition internet access



                                            sudo cp /etc/resolv.conf /mnt/etc/resolv.conf



                                          8. Only if you have a seperate /boot partition, otherwise skip this step



                                            sudo mkdir /mnt/boot
                                            sudo mount /dev/<boot_partition> /mnt/boot



                                          9. Set up then enter chroot



                                            sudo mount -o bind /proc /mnt/proc
                                            sudo mount -o bind /dev /mnt/dev
                                            sudo mount -o bind /dev/pts /mnt/dev/pts
                                            sudo mount -o bind /sys /mnt/sys
                                            sudo chroot /mnt



                                          10. Make sure grub-pc is the latest version



                                            apt-get update && apt-get install grub-pc



                                          11. Install GRUB



                                            grub-install /dev/sda



                                          12. Exit chroot



                                            exit


                                          13. Reboot and check if it works






                                          share|improve this answer














                                          Basically the same answer as @evgeny, but using chroot instead of a symbolic link.




                                          1. Boot into a Ubuntu LiveCD

                                          2. Open GParted and make sure you have an unused partition with at least 20GB free space. This will be your Windows 7 partition.

                                          3. Install Windows 7 onto this partition.

                                          4. Boot into a Ubuntu LiveCD

                                          5. Make a note of the partition Ubuntu is installed on and any separate /boot partitions if applicable.


                                          6. Mount your Ubuntu installation



                                            sudo mkdir /mnt
                                            sudo mount /dev/<partition> /mnt



                                          7. Give this partition internet access



                                            sudo cp /etc/resolv.conf /mnt/etc/resolv.conf



                                          8. Only if you have a seperate /boot partition, otherwise skip this step



                                            sudo mkdir /mnt/boot
                                            sudo mount /dev/<boot_partition> /mnt/boot



                                          9. Set up then enter chroot



                                            sudo mount -o bind /proc /mnt/proc
                                            sudo mount -o bind /dev /mnt/dev
                                            sudo mount -o bind /dev/pts /mnt/dev/pts
                                            sudo mount -o bind /sys /mnt/sys
                                            sudo chroot /mnt



                                          10. Make sure grub-pc is the latest version



                                            apt-get update && apt-get install grub-pc



                                          11. Install GRUB



                                            grub-install /dev/sda



                                          12. Exit chroot



                                            exit


                                          13. Reboot and check if it works







                                          share|improve this answer














                                          share|improve this answer



                                          share|improve this answer








                                          edited Oct 4 '13 at 21:35

























                                          answered Oct 4 '13 at 21:27









                                          kiri

                                          18.8k1258104




                                          18.8k1258104























                                              0














                                              Installing windows after ubuntu is a pain but after you do this you'll need to put in your ubuntu live cd and install boot-repair and run that. Becouse installing win7 after ubuntu will break grub. But, boot-repair will remedy that!






                                              share|improve this answer


























                                                0














                                                Installing windows after ubuntu is a pain but after you do this you'll need to put in your ubuntu live cd and install boot-repair and run that. Becouse installing win7 after ubuntu will break grub. But, boot-repair will remedy that!






                                                share|improve this answer
























                                                  0












                                                  0








                                                  0






                                                  Installing windows after ubuntu is a pain but after you do this you'll need to put in your ubuntu live cd and install boot-repair and run that. Becouse installing win7 after ubuntu will break grub. But, boot-repair will remedy that!






                                                  share|improve this answer












                                                  Installing windows after ubuntu is a pain but after you do this you'll need to put in your ubuntu live cd and install boot-repair and run that. Becouse installing win7 after ubuntu will break grub. But, boot-repair will remedy that!







                                                  share|improve this answer












                                                  share|improve this answer



                                                  share|improve this answer










                                                  answered Jul 1 '12 at 13:20









                                                  jamie

                                                  134




                                                  134























                                                      0














                                                      Its a easy process to install dual OS. 1st create a NTFS partition from Ubuntu using Disk Utility. Then restart your system and continue with your windows installing. After finishing installing you can see that your GRUB is not working..... NOT A PROBLEM. I have two method to fix this GRUB problem.



                                                      Method 1



                                                      [Method 2] It may be bit difficult. Don't worry i have also a easy one. For that you have to login into windows. Download EasyBCD and run it. Go to Edit Boot Menu and set your desired boot option as default. Then save it and reboot your system. [Tested under windows].



                                                      Please let me know if you stack in something.






                                                      share|improve this answer




























                                                        0














                                                        Its a easy process to install dual OS. 1st create a NTFS partition from Ubuntu using Disk Utility. Then restart your system and continue with your windows installing. After finishing installing you can see that your GRUB is not working..... NOT A PROBLEM. I have two method to fix this GRUB problem.



                                                        Method 1



                                                        [Method 2] It may be bit difficult. Don't worry i have also a easy one. For that you have to login into windows. Download EasyBCD and run it. Go to Edit Boot Menu and set your desired boot option as default. Then save it and reboot your system. [Tested under windows].



                                                        Please let me know if you stack in something.






                                                        share|improve this answer


























                                                          0












                                                          0








                                                          0






                                                          Its a easy process to install dual OS. 1st create a NTFS partition from Ubuntu using Disk Utility. Then restart your system and continue with your windows installing. After finishing installing you can see that your GRUB is not working..... NOT A PROBLEM. I have two method to fix this GRUB problem.



                                                          Method 1



                                                          [Method 2] It may be bit difficult. Don't worry i have also a easy one. For that you have to login into windows. Download EasyBCD and run it. Go to Edit Boot Menu and set your desired boot option as default. Then save it and reboot your system. [Tested under windows].



                                                          Please let me know if you stack in something.






                                                          share|improve this answer














                                                          Its a easy process to install dual OS. 1st create a NTFS partition from Ubuntu using Disk Utility. Then restart your system and continue with your windows installing. After finishing installing you can see that your GRUB is not working..... NOT A PROBLEM. I have two method to fix this GRUB problem.



                                                          Method 1



                                                          [Method 2] It may be bit difficult. Don't worry i have also a easy one. For that you have to login into windows. Download EasyBCD and run it. Go to Edit Boot Menu and set your desired boot option as default. Then save it and reboot your system. [Tested under windows].



                                                          Please let me know if you stack in something.







                                                          share|improve this answer














                                                          share|improve this answer



                                                          share|improve this answer








                                                          edited Apr 13 '17 at 12:23









                                                          Community

                                                          1




                                                          1










                                                          answered Jul 1 '12 at 12:36









                                                          ScareCrow

                                                          8512




                                                          8512

















                                                              protected by Community Sep 1 '14 at 21:21



                                                              Thank you for your interest in this question.
                                                              Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).



                                                              Would you like to answer one of these unanswered questions instead?



                                                              Popular posts from this blog

                                                              Human spaceflight

                                                              Can not write log (Is /dev/pts mounted?) - openpty in Ubuntu-on-Windows?

                                                              File:DeusFollowingSea.jpg