Results 1 to 4 of 4

Thread: Dual boot windows and ubuntu 12.04 create SWAP Partition

  1. #1
    Join Date
    May 2012
    Beans
    12

    Dual boot windows and ubuntu 12.04 create SWAP Partition

    This is my first attempt at installing ubuntu 12.04 on my Acer D270 netbook(2 GB RAM).

    First of all my partition table looks like this.


    Now the 48.83 GB partition is an ext4 partition created using GParted(ubuntu live CD). Now when I try to install ubuntu in this partition by clicking install now it prompts No SWAP partition created.

    Now when I try to click on the ext4 partition to create SWAP nothing happens. I tried the options provided by the ubuntu installer Add,Change without any luck.

    So, my question is how to create the SWAP partition. I understand that I cannot create more than 4 partitions but now what needs to be done to create SWAP.

    PS: This is my first attempt at installing linux.

  2. #2
    Join Date
    Nov 2009
    Location
    South Carolina
    Beans
    37
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Dual boot windows and ubuntu 12.04 create SWAP Partition

    You need two partitions: one for file system and one for swap space

    Swap space in linux is like a windows page file, however linux uses a seperate dedicated partition. The swap partition should be at least as large as your system's ram or a little larger IMO.

    It would be easiest to delete the partition you created so it is unallocated space. Then use the ubuntu install cd and select "install alongside windows." It should automatically create the needed partitions.
    Last edited by jocefus; June 14th, 2012 at 09:26 AM. Reason: typo

  3. #3
    Join Date
    Oct 2007
    Location
    Chennai, India
    Beans
    3,795
    Distro
    Ubuntu Development Release

    Re: Dual boot windows and ubuntu 12.04 create SWAP Partition

    Quote Originally Posted by ranrag View Post
    my question is how to create the SWAP partition. I understand that I cannot create more than 4 partitions but now what needs to be done to create SWAP.
    You are partially right in thinking you cannot have more than 4 partitions. However, if one of the 4 partitions is a logical partition, it can then have (nested) multiple partitions within it.

    As suggested, the easiest way is to let the installer create the partitions for you; delete your manually created ext4 partition, and choose the unallocated space during installation when prompted.

    If you MUST create the partitions manually, create an EXTENDED partition, first, then create two LOGICAL partitions within it, one 2.2 (or 4) GB swap partition, and the balance as an ext4 partition with mount point "/".

    Please post back if you need more assistance.
    Cheers,PRShah
    Make your own: Ubuntu, Kubuntu, Xubuntu, Mythbuntu All-in-One Live DVD
    "I never make mistakes; I thought I did, once.. but I was wrong."

  4. #4
    Join Date
    May 2011
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Dual boot windows and ubuntu 12.04 create SWAP Partition

    There is an extended partition already there ("holding" logical "d:") - no need to create.
    Just delete the ext4 partition and run Ubuntu installation it will create the needed partitions (logical) in the freed space.

    There can be only 4 primary or 3 primary and one extended partition.

    The extended partition can "hold" up to 128 logical partitions.
    The logical partitions are chained starting from the root of the extended partition.
    Last edited by darkomano; June 14th, 2012 at 01:26 PM. Reason: get rid of d smile

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •