Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have 3 partitions, and I can't delete any of them. (Recovery, SYSTEM, C:), and I need to install GNU/Linux.

How can I have swap and root on the same partition?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

You have a few options:

  1. You can use a swap file instead of mounting swap on a separate partition. This way you can dynamically size the swap file as you see fit without the hassle of partitioning.
  2. Create an extended partition so that you can create additional logical partitions for your root, swap, etc.
  3. If you don't use hibernation, you may install Linux without using swap at all provided you have sufficient memory space.
share|improve this answer
    
Another option could be another disk. –  ott-- Jun 22 '13 at 20:39
    
Also, many new computers (including the vast majority that ship with Windows 8 and some that shipped with Windows 7, especially in 2012) use the GUID Partition Table (GPT) partitioning scheme, which is not limited to four primary partitions. On such a computer, you needn't be concerned with extended/logical partitions or 4-partition limits; you can create as many partitions as you like for all your OSes (up to 128, normally, but even that limit can be raised, if necessary). –  Rod Smith Jun 24 '13 at 20:27

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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