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

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

This question already has an answer here:

I'd like to install Ubuntu on my computer. I have a 500GB HDD with the following partitions: (at least what the Ubuntu installer shows):

- Windows 7 (loader)
- 100GB 
- 400GB

I'd like to install Ubuntu to the 100GB partition as on the 400GB I have Windows. But I have problems with the following:

  1. Whether I can set a swap particion without messing up my Windows.
  2. Which file system to set to the partition.

Please tell me what and how to do it in the installer.

share|improve this question

marked as duplicate by mikewhatever, user68186, Eric Carvalho, Radu Rădeanu, Jorge Castro Jul 3 '13 at 2:35

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

In the 100GB free space you could set up a partition as big as your memory, ie.: 4GB for swapping. then you may use the rest 97 GB for ubuntu. You may create those partitions as primary, as IDE/SATA allows 4 primary partitions to exist. At installation time, do set the ubuntu partition as bootable.

When asked, you may install the ubuntu boot loader to the MBR, and let GRUB manage the booting partitions. Other wise, you should configure the boot manager of W7 to learn about the new ubuntu's booting partition and this way be able to start ubuntu. On the other hand, GRUB will let you start the OS you may like.

All that may be done at the installation process of ubuntu, when hard drive partitioning.

My advice: when in the ubuntu's disk partitioning section of the installation process, create a partition for the root - / - file system about 30GB big (this one si the one to be set up as bootable), a 4GB partition for the swap and a 66GB partition for /home, that is users directories. Use Ext4 file systems, as it is stable, tested and well known to work. Do use GRUB.


share|improve this answer
When I open the particion manager it warns me that It would erase all the contect from the particions, and thats can't be undone. Now what to do? I can't risk to lose my windows. – gen Jul 1 '13 at 17:35
@gen If you can't risk losing your Windows then you shouldn't do this. The chance of actually losing it is low, but one wrong move by you could completely kill it. – Seth Jul 2 '13 at 4:15

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