Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I need my pre-installed version of Windows 7 (or any other version of Windows), how could I install Ubuntu without erasing it?

share|improve this question

8 Answers 8

up vote 41 down vote accepted
+250

The instructions below are for Ubuntu 11.10. Other versions will be similar but might have a slightly different appearance or order. You must make sure that Windows is correctly shutdown (no Hibernation, no Suspend, no Fast Boot) and your NTFS drive is healthy.

  1. Boot from your Ubuntu CD or USB stick. When prompted, choose "Install Ubuntu".

    Try or Install Ubuntu

  2. Ensure that you meet all the installation prerequisites. Ideally, connect to the internet at this time as well.

    Preparing to install Ubuntu

  3. If you have wireless network hardware and there is an available network, you can (optionally) connect to it at this time.

    Connect to wireless network

  4. Be certain to choose "Install Ubuntu alongside Windows" (or "other operating systems" or other similar wording, depending on your system configuration). This is the important step that will ensure that Ubuntu and windows are both available after the installation.

    Install alongside Windows

  5. Choose how much space to give to Ubuntu and Windows. How much you give each one is up to you.

    Choose drive space

  6. Complete the rest of the installation by setting your timezone and entering information about your computer and yourself.

    Time zone
    Keyboard
    Information about yourself

  7. Enjoy the informative slide show while the system installs.

    Slide show

  8. Restart and enjoy Ubuntu!

    Restart

share|improve this answer
5  
Can you remove the link to windows installer? It confuses users. Or at least mention that its a different method from the one described in the images above. –  medigeek Sep 8 '12 at 11:50

You can do it either with Wubi or you can install it in a separate partition.

These links may be useful:

share|improve this answer
4  
On the other hand, Wubi is not a long-term solution. In the long run, you should use a separate partion. KeyboardMonkey is right, though: Resizing partitions, like undergoing surgery, always carries a certain risk. Unlike with surgery, you can always make a backup, though. –  loevborg Aug 6 '10 at 11:43
    
Why is Wubi not good for long term when you need to have Windows at times? –  George Bailey May 15 '11 at 20:25
2  
@GeorgeBailey Because if something happens to Windows, it could adversely affect the Ubuntu install, which is installed inside Windows if you use Wubi. If you keep Ubuntu on a separate partition, then your Windows install could get completely messed up and your Ubuntu install will remain totally unaffected. Also, if you decide later you only want Ubuntu, having it on a separate partition could make that process more convenient. –  Christopher Kyle Horton Nov 7 '11 at 4:06
    
Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. –  Jjed Jan 7 '12 at 22:48
1  
Wubi is likely to cause trouble later on. –  RobinJ Jan 7 '12 at 22:56

Resize your Windows 7 partition by going to Start > My Computer > Right Click and select Manage > Disk Management > Right click your Windows Partition and Select Shrink Volume. Just shrink to whatever Windows suggests and leave it Unallocated.

On the Ubuntu install you select your Unallocated partition and click "New" and select the file system as a "EXT3" and select the mount point as "/" and click Okay (If you dont want swap)

If you do want swap type in the amount you want (in MB) select the file system as a "Swap Partition" and there is no mount point. Click Okay then you do the step in the paragraph above

After Install, Windows will now be in your GRUB menu with Ubuntu as default but that can be fixed by editing your /boot/menu.lst

share|improve this answer

Did you consider virtualization ?

If you just need an execution environment for command line unix tools (programming), virtualization is great !

The other advantage is that you have no more risk to wreck your Windows install.

You can use Virtualbox which is free, or vmware server, which is also free.

As for myself, I'm doing web development with ubuntu 10.4 LTS virtualized with vmware/Win7

share|improve this answer

One way would be to do a Wubi install. That way you would basically install Ubuntu as an application that you run from within Windows. More information on that can be found here and here, as well as here.

The other way would be to resize your Windows partition to allow room for Ubuntu. There's a comphrehensive guide on that here.

share|improve this answer

1) You download the ISO of the desired Linux distro

2) Use the free UNetbootin to write the ISO to a USB key

3) boot from the USB key

4) double click on install

5) follow the straight-forward install instructions

share|improve this answer

Install Ubuntu in an ext4 partition you created, and GRUB will do the rest for you.

share|improve this answer

I went to ubuntu.com and downloaded the desired OS I wanted.More than likely if your computer is new then it has a 64bit system but check and make sure. Windows 7 allowed me to put the OS onto a flash drive just as you would burn it to a cd. I restarted the computer and the loader started and gave me a choice of installing along side of windows. Choose that and you are good to go. I did it on the day I bought my Acer laptop and both run smoothly. It is easier than it sounds, just follow the prompts and you will not have any problems. Good Luck

share|improve this answer

protected by Community Jul 20 at 13:25

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

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

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